/* A persistent workspace. Scroll moves the camera, not the content between slides. */
.journey-story { margin-left:0!important; overflow-anchor:none; }
.journey-story > .retention-intro,.journey-story > .retention-results,.journey-evidence-boundary,.journey-caption { margin-left:324px; }
.journey-story .retention-intro h2 { font-size:48px; line-height:1.02; letter-spacing:-.055em; }
.journey-viewport { position:relative; padding:28px; border:1px solid var(--line-strong); border-radius:24px; background:#080c17; color:#f3f6ff; box-shadow:0 35px 100px rgba(4,12,30,.18); }
.journey-atmosphere,.journey-grid,.journey-links,.journey-stage-heading,.journey-stage-footer { display:none; }
.journey-world { position:relative; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.journey-piece { position:relative; min-width:0; border-radius:12px; border:1px solid rgba(255,255,255,.9); background:#f3f5fb; color:#152039; box-shadow:0 12px 30px rgba(1,8,23,.2),inset 0 1px 0 #fff; overflow:hidden; }
.journey-piece-bar { display:flex; align-items:center; gap:9px; padding:15px 22px; border-bottom:1px solid rgba(35,57,100,.12); background:rgba(255,255,255,.42); color:#53617a; font:9px/1.5 'Geist Mono',monospace; letter-spacing:.025em; }
.journey-piece-icon { display:grid; place-items:center; width:21px; height:21px; border-radius:6px; background:#e4eaff; color:#315bc8; font:15px/1 Onest,sans-serif; }
.journey-piece-dot { width:5px; height:5px; border-radius:50%; background:#7399f5; margin-left:auto; flex:none; }
.journey-piece-body { padding:28px; }
.journey-story .journey-piece h3 { font-size:28px; line-height:1.1; font-weight:500; letter-spacing:-.045em; margin:0 0 22px; color:#12203b; }
.journey-story .journey-piece p { color:#45536c; font-size:19px; line-height:1.65; letter-spacing:-.015em; max-width:none; margin:18px 0 0; }
.journey-story .journey-piece p:first-of-type { margin-top:0; }
.journey-piece strong { font-weight:550; color:#16223b; }
.journey-piece mark { color:#254fc4; background:#e1e8ff; padding:1px 4px; }
.journey-chat { background:#f8f9fc; }
.journey-chat .journey-piece-bar { background:#fff; }
.journey-chat .journey-piece-icon { color:#4c5e81; background:#e9edf5; }
.journey-story .journey-chat .journey-chat-question { color:#12203b; font-size:24px; letter-spacing:-.025em; }
.journey-piece-foot { padding:14px 22px; border-top:1px solid rgba(35,57,100,.12); color:#53617a; font-size:10px; line-height:1.6; }
.journey-blue { background:#b7ccff; border-color:#d4e0ff; box-shadow:0 16px 55px rgba(75,119,252,.22),inset 0 1px 0 #eff5ff; }
.journey-blue .journey-piece-bar { background:rgba(242,247,255,.36); color:#304674; }
.journey-blue .journey-piece-foot { color:#304674; }
.journey-blue .journey-piece-body > blockquote { font-size:19px; line-height:1.65; letter-spacing:-.025em; color:#253c67; margin:0; }
.journey-policy { display:grid; grid-template-columns:1fr 1fr; margin-top:25px; border-top:1px solid rgba(35,57,100,.15); padding-top:24px; gap:20px; }
.journey-policy > div + div { border-left:1px solid rgba(35,57,100,.15); padding-left:20px; }
.journey-policy strong { font-size:64px; font-weight:450; line-height:1; letter-spacing:-.065em; display:flex; align-items:baseline; gap:5px; }
.journey-policy strong > span { font-size:16px; font-weight:400; line-height:1.5; letter-spacing:-.02em; color:#415579; }
.journey-policy > div > span { display:block; font-size:12px; margin-top:10px; line-height:1.5; color:#415579; }
.journey-inline-result { display:flex; align-items:center; gap:9px; padding-top:21px; margin-top:24px; border-top:1px solid rgba(35,57,100,.15); color:#2a4377; font-size:12px; }
.journey-inline-result b { display:grid; place-items:center; width:30px; height:30px; border:1px solid #7697e5; border-radius:7px; font-size:14px; font-weight:500; }
.journey-scope-rule { display:flex; align-items:center; gap:20px; }
.journey-scope-rule > strong { display:flex; align-items:baseline; gap:7px; font-size:81px; line-height:1; letter-spacing:-.07em; font-weight:450; }
.journey-scope-rule > strong > span { font-size:19px; letter-spacing:-.025em; color:#53617a; }
.journey-scope-rule > span { font-size:15px; line-height:1.5; color:#45536c; max-width:155px; }
.journey-preserved { display:flex; gap:20px; padding-top:21px; border-top:1px solid rgba(35,57,100,.12); margin-top:25px; font-size:12px; color:#53617a; }
.journey-story .journey-piece .journey-small-note { font-size:12px; margin-top:11px; }
.journey-purple { border-color:#c9b5ed; box-shadow:0 15px 50px rgba(136,100,201,.14),inset 0 1px 0 #fff; }
.journey-purple .journey-piece-bar { background:#eee7f9; color:#664d90; }
.journey-purple .journey-piece-dot { background:#9c72d4; }
.journey-question { border-top:1px solid #d7c9ee; padding-top:22px; margin-top:24px; }
.journey-question > span { font:9px/1.6 'Geist Mono',monospace; color:#6f4da2; letter-spacing:.03em; }
.journey-story .journey-question p { font-size:24px; line-height:1.35; color:#412566; margin-top:10px; letter-spacing:-.03em; }
.journey-note-tag { margin-top:24px; font-size:11px; color:#6f4da2; border-top:1px solid #d7c9ee; padding-top:16px; }
.journey-review-counts { display:flex; justify-content:space-between; gap:16px; margin:0 0 22px; }
.journey-review-counts > span { font-size:10px; color:#53617a; }
.journey-review-counts strong { display:block; font-size:45px; font-weight:450; line-height:1.1; letter-spacing:-.06em; margin-bottom:7px; }
.journey-review-counts > span:nth-child(1) strong { color:#315bc8; }.journey-review-counts > span:nth-child(2) strong { color:#287653; }.journey-review-counts > span:nth-child(3) strong { color:#7c4db4; }
.journey-doc-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; }
.journey-doc-grid > div { padding:11px 9px; min-height:62px; border:1px solid #d7dfed; border-radius:6px; background:#fff; }
.journey-doc-grid i { display:inline-block; width:5px; height:5px; background:#4e79e7; border-radius:50%; margin-right:5px; }
.journey-doc-grid strong { font-size:11px; line-height:1.45; font-weight:500; }
.journey-doc-grid span { display:block; font-size:9px; color:#53617a; margin-top:5px; }
.journey-doc-grid [data-outcome=upheld] i { background:#40956a; }.journey-doc-grid [data-outcome=decision] { border-color:#baa1dd; background:#f1eaf9; }.journey-doc-grid [data-outcome=decision] i { background:#9164c7; }
.journey-answer-pair { margin-top:25px; display:grid; gap:8px; }
.journey-answer-pair > span { display:flex; justify-content:space-between; font-size:12px; border-top:1px solid #d7dfed; padding-top:12px; color:#3c5b51; }
.journey-answer-pair b { color:#287653; }
.journey-review-card { border:1px solid #d7dfed; border-radius:8px; padding:19px; background:#fff; }
.journey-review-card + .journey-review-card { margin-top:12px; }
.journey-review-card > span { font:8px/1.5 'Geist Mono',monospace; color:#53617a; letter-spacing:.04em; }
.journey-review-card h4 { font-size:19px; line-height:1.25; font-weight:500; letter-spacing:-.03em; margin:11px 0 0; }
.journey-story .journey-review-card p { font-size:13px; line-height:1.7; margin-top:10px; }
.journey-review-card small { display:block; font-size:10px; color:#53617a; margin-top:16px; }
.journey-review-separate { border-color:#c9b5e8; background:#f3edf9; }
.journey-green { background:#d8ebe0; border-color:#a8ccb8; }
.journey-green .journey-piece-bar { background:#e4f1e9; color:#3c6650; }.journey-green .journey-piece-dot { background:#469b70; }
.journey-accepted-mark { display:grid; place-items:center; width:45px; height:45px; color:#2c7651; border:1px solid #7eaf94; border-radius:50%; font-size:23px; }
.journey-record-trail { display:flex; gap:9px; flex-wrap:wrap; margin-top:20px; }
.journey-record-trail > span { color:#3c6650; font-size:11px; border-bottom:1px solid #93b8a2; padding:5px 0; }
.journey-recalled-reason { display:grid; grid-template-columns:65px 1fr; gap:9px; margin-top:22px; border-top:1px solid #8ba8e8; padding-top:18px; }
.journey-recalled-reason span { color:#415579; font:8px/1.6 'Geist Mono',monospace; }.journey-recalled-reason strong { color:#2a4377; font-size:12px; font-weight:500; line-height:1.5; }
.journey-trace-list { display:grid; gap:13px; margin-top:24px; }
.journey-trace-list > span { padding:0 0 13px 19px; position:relative; border-bottom:1px solid #d7dfed; color:#45536c; font-size:15px; line-height:1.5; }
.journey-trace-list > span::before { content:'↗'; position:absolute; left:0; color:#315bc8; }
.journey-story .journey-caption { font-size:10px; line-height:1.8; color:var(--ink-soft); margin-top:18px; }
.journey-evidence-boundary { border-top:1px solid var(--control-line); margin-top:36px; margin-bottom:45px; padding-top:28px; }
.journey-story .journey-evidence-boundary h3 { font-size:29px; line-height:1.15; margin:15px 0 0; letter-spacing:-.035em; }
.journey-story .journey-evidence-boundary p { font-size:13px; line-height:1.8; margin-top:18px; max-width:65ch; }
.journey-story[data-journey] .journey-viewport { position:sticky; top:var(--journey-top); height:var(--journey-height); padding:0; overflow:hidden; isolation:isolate; }
.journey-story[data-journey] .journey-atmosphere { display:block; position:absolute; inset:-20%; pointer-events:none; background:radial-gradient(ellipse at 80% 15%,rgba(62,92,188,.27),transparent 55%),radial-gradient(ellipse at 20% 85%,rgba(21,79,77,.12),transparent 50%); transform:translate3d(var(--glow-x,0px),var(--glow-y,0px),0); }
.journey-story[data-journey] .journey-grid { display:block; position:absolute; inset:-30%; pointer-events:none; opacity:.16; background-image:radial-gradient(circle,#7286ae 1px,transparent 1px); background-size:43px 43px; transform:translate3d(var(--grid-x,0px),var(--grid-y,0px),0); }
.journey-story[data-journey] .journey-world { position:absolute; left:50%; top:54%; width:calc(2 * var(--piece-width) + var(--piece-gap)); grid-template-columns:repeat(2,var(--piece-width)); column-gap:var(--piece-gap); row-gap:var(--piece-row-gap); transform-origin:0 0; }
.journey-story[data-journey] .journey-piece { width:var(--piece-width); transform:translateZ(var(--piece-depth,0px)) rotateY(var(--piece-tilt,0deg)); transition:border-color 250ms ease,box-shadow 250ms ease; }
.journey-story[data-journey] .journey-piece:nth-child(even) { margin-top:55px; }
.journey-story[data-journey] .journey-piece.is-focused { box-shadow:0 25px 65px rgba(0,0,0,.23),0 0 0 1px rgba(255,255,255,.75); }
.journey-story[data-journey] .journey-links { display:block; position:absolute; inset:0; width:100%; height:100%; overflow:visible; pointer-events:none; z-index:-1; }
.journey-links path { stroke:#6883bf; stroke-width:1.5; }
.journey-story[data-journey] .journey-stage-heading { display:block; position:absolute; z-index:8; top:0; left:0; right:0; padding:25px 30px 30px; pointer-events:none; background:linear-gradient(#080c17 5%,rgba(8,12,23,.8) 60%,transparent); }
.journey-stage-heading > span { font:8px/1.6 'Geist Mono',monospace; color:#9eacca; letter-spacing:.08em; }
.journey-story .journey-stage-heading h3 { font-size:25px; font-weight:450; line-height:1.15; letter-spacing:-.035em; color:#f1f5ff; margin:7px 0 0; }
.journey-stage-heading a { position:absolute; right:30px; top:28px; font-size:10px; line-height:1.6; color:#b5c8f4; pointer-events:auto; }
.journey-story[data-journey] .journey-stage-footer { display:flex; gap:20px; align-items:center; position:absolute; z-index:8; bottom:0; left:0; right:0; padding:25px 30px 20px; background:linear-gradient(transparent,#080c17 55%); }
.journey-chapters { display:flex; gap:16px; flex:1; }
.journey-chapters > span { position:relative; color:#7f90b2; font-size:9px; line-height:1.6; }
.journey-chapters > span.is-past { color:#d6e2ff; }.journey-chapters > span.is-past::after { content:''; position:absolute; left:0; right:0; bottom:-6px; height:1px; background:#93b3ff; }
#journey-percent { font:10px/1.5 'Geist Mono',monospace; color:#c4d4fa; }
@media(min-width:1001px) {
 :root[data-journey-active] .site-header { width:min(1232px,calc(100% - 48px))!important; left:max(24px,calc((100% - 1232px)/2))!important; max-height:76px; overflow:hidden; transition:width 280ms ease,left 280ms ease; }
 :root[data-journey-active] .site-header .dock-outline { display:none!important; }
}
@media(max-width:1080px) { .journey-story > .retention-intro,.journey-story > .retention-results,.journey-evidence-boundary,.journey-caption { margin-left:252px; } }
@media(max-width:800px) { .journey-story > .retention-intro,.journey-story > .retention-results,.journey-evidence-boundary,.journey-caption { margin-left:0; }.journey-world { grid-template-columns:1fr; } }
@media(max-width:600px) {
 .journey-story .retention-intro h2 { font-size:35px; }.journey-viewport { border-radius:18px; padding:15px; }
 .journey-piece-bar { padding:12px 16px; font-size:7px; gap:7px; }.journey-piece-icon { width:18px; height:18px; font-size:13px; }
 .journey-piece-body { padding:22px; }.journey-story .journey-piece h3 { font-size:25px; margin-bottom:17px; }.journey-story .journey-piece p { font-size:18px; line-height:1.65; }.journey-story .journey-chat .journey-chat-question { font-size:21px; }
 .journey-piece-foot { padding:12px 16px; font-size:9px; }.journey-blue .journey-piece-body > blockquote { font-size:17px; line-height:1.6; }
 .journey-policy { gap:12px; margin-top:20px; padding-top:20px; }.journey-policy > div + div { padding-left:12px; }.journey-policy strong { font-size:47px; gap:4px; }.journey-policy strong > span { font-size:12px; }.journey-policy > div > span { font-size:10px; }
 .journey-inline-result { margin-top:20px; padding-top:17px; font-size:11px; }.journey-scope-rule { gap:14px; }.journey-scope-rule > strong { font-size:65px; }.journey-scope-rule > strong > span { font-size:15px; }.journey-scope-rule > span { font-size:13px; }
 .journey-preserved { flex-direction:column; gap:9px; font-size:12px; }.journey-story .journey-question p { font-size:22px; }
 .journey-review-counts { gap:12px; }.journey-review-counts strong { font-size:37px; }.journey-review-counts > span { font-size:9px; }
 .journey-doc-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }.journey-doc-grid > div { min-height:56px; padding:9px 8px; }.journey-doc-grid strong { font-size:10px; }.journey-doc-grid span { font-size:8px; }
 .journey-review-card { padding:16px; }.journey-review-card h4 { font-size:18px; }.journey-story .journey-review-card p { font-size:12px; }
 .journey-recalled-reason { grid-template-columns:52px 1fr; gap:8px; }.journey-recalled-reason strong { font-size:11px; }.journey-trace-list > span { font-size:14px; }
 .journey-story[data-journey] .journey-stage-heading { padding:20px 20px 27px; }.journey-story .journey-stage-heading h3 { font-size:22px; max-width:75%; }.journey-stage-heading > span { font-size:7px; }.journey-stage-heading a { top:20px; right:20px; font-size:8px; }
 .journey-story[data-journey] .journey-stage-footer { padding:25px 20px 18px; gap:10px; }.journey-chapters { gap:10px; flex-wrap:wrap; }.journey-chapters > span { font-size:7px; }#journey-percent { font-size:9px; }
}
@media(prefers-reduced-motion:reduce) { .journey-piece { transition:none!important; } }
.journey-piece { align-self:start; }
.journey-links .journey-link-base { stroke:#526991; opacity:.28; stroke-width:1; }
/* In static/reduced-motion mode, return to the normal content column. */
.journey-story { margin-left:324px!important; }
.journey-story > .retention-intro,.journey-story > .retention-results,.journey-story > .journey-evidence-boundary,.journey-story > .journey-caption { margin-left:0; }
.journey-story[data-journey] { margin-left:0!important; }
.journey-story[data-journey] > .retention-intro,.journey-story[data-journey] > .retention-results,.journey-story[data-journey] > .journey-evidence-boundary,.journey-story[data-journey] > .journey-caption { margin-left:324px; }
.journey-story[data-journey] .journey-piece.is-focused { --piece-tilt:0deg!important; }
@media(max-width:1080px) {
 .journey-story { margin-left:252px!important; }
 .journey-story[data-journey] { margin-left:0!important; }
 .journey-story[data-journey] > .retention-intro,.journey-story[data-journey] > .retention-results,.journey-story[data-journey] > .journey-evidence-boundary,.journey-story[data-journey] > .journey-caption { margin-left:252px; }
}
@media(max-width:800px) {
 .journey-story { margin-left:0!important; }
 .journey-story[data-journey] > .retention-intro,.journey-story[data-journey] > .retention-results,.journey-story[data-journey] > .journey-evidence-boundary,.journey-story[data-journey] > .journey-caption { margin-left:0; }
}
.journey-story[data-journey] .journey-piece { transition:border-color 200ms ease; }
/* Three surfaces: a conversation, rdy's connected work, and the resulting record. */
.journey-story[data-journey] .journey-world { display:block; }
.journey-story[data-journey] .journey-piece { position:absolute; margin:0!important; transform:none; }
.journey-story[data-journey] .journey-piece.is-focused { box-shadow:0 25px 80px #0005; }
.journey-stage-heading > span i { font-style:normal; margin:0 12px; color:#c4d4fa; }
.journey-surface-label { display:block; font:10px/1.5 'Geist Mono',monospace; color:#64728b; margin-bottom:15px; }
/* Chat is an actual app surface, with sender alignment, a composer and agent activity. */
.journey-chat { background:#171f30; color:#e8edf8; border:1px solid #46536b; border-radius:20px; box-shadow:0 25px 75px #0004; }
.chat-window-bar { display:flex; align-items:center; gap:12px; padding:19px 23px; border-bottom:1px solid #ffffff15; background:#202a3d; color:#edf2fd; font-size:14px; }
.chat-app-mark { display:grid; place-items:center; width:31px; height:31px; background:#b8ccff; color:#182443; border-radius:10px; font-weight:700; }
.chat-window-bar small { display:block; color:#a4b2cc; font-size:10px; margin-top:4px; }.chat-window-menu { margin-left:auto; color:#a4b2cc; letter-spacing:3px; }
.chat-thread { padding:27px 24px 20px; display:flex; flex-direction:column; align-items:flex-start; gap:12px; }
.chat-speaker { color:#aab8d0; font-size:10px; display:block; }
.chat-from-you .chat-thread > .chat-speaker { align-self:flex-end; }
.chat-message { background:#25324a; border:1px solid #ffffff10; border-radius:16px 16px 16px 3px; padding:22px; max-width:95%; }
.chat-from-you .chat-message { background:#b9ceff; border-color:#d3e0ff; border-radius:16px 16px 3px 16px; align-self:flex-end; }
.journey-story .journey-chat .chat-message h3 { font-size:24px; line-height:1.2; color:#eff4ff; margin:0 0 15px; }
.journey-story .journey-chat .chat-message p,.journey-story .journey-chat .chat-message p.journey-chat-question { font-size:17px; line-height:1.65; color:#c5d1e7; margin:12px 0 0; }
.journey-story .chat-from-you .chat-message h3,.journey-story .chat-from-you .chat-message p,.journey-story .chat-from-you .chat-message p.journey-chat-question { color:#192d55; }
.journey-chat .chat-message strong { color:inherit; }.journey-chat .chat-message mark { background:#ffffff70; color:#183f96; }
.journey-chat .journey-piece-foot { border-color:#ffffff12; color:#9fadc5; font-size:10px; }
.chat-delivery { font-size:9px; color:#9fb4dc; align-self:flex-end; }.chat-from-agent .chat-delivery { display:none; }
.chat-working { display:flex; align-items:center; gap:10px; padding:13px 0; color:#a8bce8; font-size:11px; line-height:1.5; }
.thinking-orbit { width:17px; height:17px; border:1px solid #6079aa; border-top:2px solid #c7d7ff; border-radius:50%; flex:none; transform:rotate(var(--thinking-turn,0deg)); }
.chat-agent-reply { padding:0 3px; }.journey-story .journey-chat .chat-agent-reply p { color:#d0dbee; font-size:16px; line-height:1.65; margin-top:7px; }
.chat-composer { margin:0 23px 20px; border:1px solid #46546f; background:#202a3d; border-radius:12px; padding:13px 15px; color:#9eacc5; font-size:11px; display:flex; justify-content:space-between; align-items:center; }
.chat-composer > span:last-child { background:#b9ceff; color:#1b315a; border-radius:50%; width:24px; height:24px; display:grid; place-items:center; font-size:17px; }
.journey-story[data-journey] .chat-message { opacity:1; transform:translateY(calc((1 - var(--message-reveal,1)) * 14px)) scale(calc(.97 + var(--message-reveal,1) * .03)); transform-origin:bottom right; }
.journey-story[data-journey] .chat-delivery { opacity:var(--message-reveal,1); }
.journey-story[data-journey] .chat-agent-reply { opacity:var(--reply-reveal,1); transform:translateY(calc((1 - var(--reply-reveal,1)) * 10px)); }
.journey-chat[data-chat-state=ready] .thinking-orbit { border-color:#6caf94; background:#6caf9433; }.journey-chat[data-chat-state=composing] .chat-working { color:#a8bce8; }
.chat-from-agent .chat-thread > .chat-working { order:-1; }
.journey-chat .journey-question { border-color:#8995bd55; }.journey-story .journey-chat .journey-question p { color:#e0d0ff; font-size:20px; }.journey-chat .journey-question > span { color:#c3a6f0; }
.journey-chat .journey-answer-pair > span { color:#c7e9d7; border-color:#62758d; }.journey-chat .journey-answer-pair b { color:#92deb3; }
/* rdy is a connected work surface, rather than a chat bubble or a document. */
.journey-process,.journey-process.journey-blue { background:#101e2b; border:1px solid #417074; border-radius:3px; box-shadow:0 20px 80px #0004; color:#d4f4ec; }
.journey-process .journey-piece-bar,.journey-process.journey-blue .journey-piece-bar { background:#182d39; color:#9ed3ce; border-color:#42717966; letter-spacing:.1em; }
.journey-process .journey-piece-icon { background:transparent; color:#b2e8de; border:1px solid #4b7c7d; border-radius:3px; }
.journey-process .journey-piece-dot { background:#83d6c1; box-shadow:0 0 12px #83d6c170; }
.journey-story .journey-process h3 { color:#e4fff6; }.journey-process .journey-surface-label { color:#91bbb9; }
.journey-story .journey-process p,.journey-process.journey-blue .journey-piece-body > blockquote { color:#b6d5d3; }
.journey-process .journey-piece-foot,.journey-process.journey-blue .journey-piece-foot { color:#9bc0bd; border-color:#42717966; }
.rdy-process-flow { display:flex; align-items:center; justify-content:space-between; gap:8px; margin:0 0 26px; padding:15px 0; border-top:1px solid #42717966; border-bottom:1px solid #42717966; }
.rdy-process-flow span { border:1px solid #427179; padding:9px; font-size:10px; color:#c4e9e1; background:#203c4366; }.rdy-process-flow i { font-style:normal; color:#7eaeb0; }
.journey-process .journey-policy,.journey-process .journey-policy > div + div,.journey-process .journey-inline-result,.journey-process .journey-recalled-reason { border-color:#42717966; }
.journey-process .journey-policy strong { color:#c2f2e0; }.journey-process .journey-policy strong > span,.journey-process .journey-policy > div > span,.journey-process .journey-inline-result,.journey-process .journey-recalled-reason span,.journey-process .journey-recalled-reason strong { color:#a6ccc6; }
.journey-process .journey-inline-result b { border-color:#588e88; }.journey-process .journey-doc-grid > div { background:#1a303a; border-color:#3e5e68; }.journey-process .journey-doc-grid strong { color:#d8e8ef; }.journey-process .journey-doc-grid span,.journey-process .journey-review-counts > span { color:#a9c2ca; }
.journey-process .journey-doc-grid [data-outcome=decision] { background:#382e4b; border-color:#8b70a7; }.journey-process .journey-review-counts > span:nth-child(1) strong { color:#a7c8ff; }.journey-process .journey-review-counts > span:nth-child(2) strong { color:#9cddb8; }.journey-process .journey-review-counts > span:nth-child(3) strong { color:#cdb2f0; }
/* Outcomes read as a durable document, with a narrow spine and record stamp. */
.journey-outcome { background:#f4f1e9; border-color:#fffcf2; border-radius:3px 12px 12px 3px; border-left:5px solid #b7c5ed; box-shadow:5px 5px 0 #a9b4c533,0 30px 80px #0004; }
.journey-outcome .journey-piece-bar { background:transparent; color:#64728b; letter-spacing:.09em; }.journey-outcome .journey-piece-icon { background:transparent; border:1px solid #b7c3d4; border-radius:50%; }
.journey-outcome .journey-piece-body { padding:30px; }.journey-outcome .journey-piece-foot { background:#e7e5df77; }.journey-outcome.journey-purple { border-left-color:#b194d4; }.journey-outcome.journey-green { background:#f0f5ed; border-left-color:#7faa92; }
@media(max-width:600px) {
 .chat-window-bar { padding:16px 18px; }.chat-thread { padding:20px 17px; }.chat-message { padding:18px; }.journey-story .journey-chat .chat-message h3 { font-size:22px; }.journey-story .journey-chat .chat-message p,.journey-story .journey-chat .chat-message p.journey-chat-question { font-size:16px; }.chat-composer { margin:0 17px 18px; }.journey-story .journey-chat .chat-agent-reply p { font-size:15px; }
 .journey-process .journey-piece-body,.journey-outcome .journey-piece-body { padding:22px; }.rdy-process-flow { gap:5px; }.rdy-process-flow span { font-size:8px; padding:7px 5px; }.journey-stage-heading > span i { margin:0 6px; }
}

.journey-outcome .journey-piece-bar,.journey-outcome .journey-surface-label { color:#536079; }
.chat-from-you .journey-answer-pair > span,.chat-from-you .journey-answer-pair b { color:#234e44; border-color:#6c89b7; }
.chat-delivery b { font-weight:400; }
.chat-working { flex-wrap:wrap; }.chat-working > span:last-child { flex-basis:100%; padding-left:27px; }.chat-tool { color:#bccff5; border:1px solid #536b97; border-radius:5px; padding:4px 7px; font:10px/1.4 'Geist Mono',monospace; }

@media(max-width:600px) {
 .chat-window-bar { padding:13px 16px; font-size:12px; }.chat-window-bar small { font-size:9px; }.chat-thread { padding:17px 16px 13px; gap:8px; }.chat-message { padding:16px; }
 .journey-story .journey-chat .chat-message h3 { font-size:20px; margin-bottom:11px; }.journey-story .journey-chat .chat-message p,.journey-story .journey-chat .chat-message p.journey-chat-question { font-size:15px; line-height:1.5; margin-top:10px; }
 .chat-working { padding:8px 0; font-size:10px; }.journey-story .journey-chat .chat-agent-reply p { font-size:14px; line-height:1.5; }.chat-composer { padding:9px 12px; margin:0 16px 13px; }.journey-chat .journey-piece-foot { padding:10px 16px; font-size:9px; }
}

/* Keep the illustrated chat product-neutral. Explanations live outside its surface. */
.journey-piece.journey-chat { background:transparent; border:0; border-radius:0; box-shadow:none; overflow:visible; }
.journey-story[data-journey] .journey-chat.is-focused { box-shadow:none; }
.chat-surface { background:#171f30; border:1px solid #46536b; border-radius:20px; overflow:hidden; box-shadow:0 25px 75px #0004; -webkit-mask-image:linear-gradient(to bottom,transparent,#000 80px); mask-image:linear-gradient(to bottom,transparent,#000 80px); }
.chat-window-bar { min-height:75px; background:transparent; border:0; opacity:.45; }
.chat-anonymous-avatar { width:25px; height:25px; border:1px solid #73829b; border-radius:50%; }
.chat-anonymous-line { width:100px; height:5px; border-radius:4px; background:#73829b; }
.chat-thread { padding-top:20px; padding-bottom:32px; min-height:225px; }
.journey-story .journey-chat .chat-message p:first-child { margin-top:0; }
.chat-from-agent .chat-message { opacity:1; }
.journey-story[data-journey] .chat-from-agent .chat-message { opacity:var(--reply-reveal,1); transform:translateY(calc((1 - var(--reply-reveal,1)) * 12px)); }
.chat-context { margin:23px 0 0 24px; padding:0 0 0 18px; border-left:1px solid #526b96; color:#a9bad9; max-width:420px; }
.chat-context-label { display:block; font:8px/1.6 'Geist Mono',monospace; letter-spacing:.11em; color:#a9bad9; }
.chat-context .chat-working { margin-top:5px; padding:10px 0 5px; }
.journey-story .journey-chat .chat-context p { font-size:11px; line-height:1.6; color:#a9bad9; margin:9px 0 0; }
.chat-context .chat-tool { background:#18263c; }.chat-context .chat-working > span:last-child { padding-left:27px; }
@media(max-width:600px) {
 .chat-window-bar { min-height:64px; }.chat-thread { padding-top:15px; padding-bottom:24px; min-height:190px; }.chat-context { margin:20px 6px 0 16px; padding-left:13px; }.journey-story .journey-chat .chat-context p { font-size:10px; }.chat-surface { -webkit-mask-image:linear-gradient(to bottom,transparent,#000 65px); mask-image:linear-gradient(to bottom,transparent,#000 65px); }
}

/* Native-style tool activity belongs in chat; narration remains outside. */
.chat-tool-call { display:flex; align-items:center; gap:8px; width:100%; padding:10px 1px; color:#b5c1d6; font-size:11px; line-height:1.6; }
.chat-tool-call code { font:11px/1.6 'Geist Mono',monospace; color:#ced8eb; }.chat-tool-chevron { color:#8c9bb4; font-size:18px; }.chat-tool-glyph { color:#9ab3e8; font-size:15px; }.chat-tool-state { color:#a5b4cf; margin-left:auto; font-size:10px; }
.chat-from-agent .chat-tool-call { order:-1; }
.journey-story[data-journey] .chat-tool-call { opacity:var(--message-reveal,1); }
.journey-chat[data-chat-state=working] .chat-tool-glyph { transform:rotate(var(--thinking-turn,0deg)); }
.journey-chat[data-chat-state=ready] .chat-tool-glyph { color:#9fd3b7; }
.journey-story .journey-chat .chat-context .chat-annotation-activity { color:#c4d1e8; margin-top:8px; }
@media(max-width:600px) { .chat-tool-call { gap:6px; font-size:10px; }.chat-tool-call code { font-size:10px; }.chat-tool-state { font-size:9px; } }

/* User drafts begin in the composer; scroll carries them into the transcript. */
.chat-composer-draft { display:none; }
.journey-story[data-journey] .chat-from-you .chat-composer { position:relative; display:block; height:calc(48px + (var(--draft-height,130px) - 48px) * (1 - var(--send-motion,0))); min-height:48px; padding:13px 43px 13px 15px; }
.journey-story[data-journey] .chat-from-you .chat-composer-draft { display:block; opacity:clamp(0,calc(1 - var(--send-motion,0) * 10),1); }
.journey-story .chat-composer-draft p { font-size:16px; line-height:1.6; color:#d5dff1; margin:0; }
.chat-composer-draft strong { color:inherit; }.chat-composer-draft mark { color:inherit; background:transparent; padding:0; }
.journey-story[data-journey] .chat-from-you .chat-composer-placeholder { position:absolute; top:15px; left:15px; opacity:var(--send-motion,0); }
.journey-story[data-journey] .chat-from-you .chat-send-cue { position:absolute; bottom:12px; right:12px; transform:scale(calc(1 - sin(var(--send-motion,0) * 3.14159) * .15)); }
.journey-story[data-journey] .chat-from-you[data-compose-ready] .chat-surface { position:relative; }
.journey-story[data-journey] .chat-from-you[data-compose-ready] .chat-composer { position:absolute; left:23px; right:23px; bottom:20px; margin:0; }
.journey-story[data-journey] .chat-from-you .chat-message { opacity:clamp(0,calc((var(--send-motion,0) - .12) * 5),1); transform:translate(calc((1 - var(--send-motion,0)) * var(--send-x,0px)),calc((1 - var(--send-motion,0)) * var(--send-y,100px))) scale(calc(var(--send-scale,1) + (1 - var(--send-scale,1)) * var(--send-motion,0))); transform-origin:top left; z-index:2; }
.journey-story[data-journey] .chat-from-you .chat-thread > .chat-speaker { opacity:var(--send-motion,0); }
.journey-story[data-journey] .chat-tool-call { opacity:var(--tool-reveal,1); }
@media(max-width:600px) {
 .journey-story .chat-composer-draft p { font-size:15px; line-height:1.5; }
 .journey-story[data-journey] .chat-from-you[data-compose-ready] .chat-composer { left:16px; right:16px; bottom:13px; }
}

/* Scroll runs the work inside rdy, rather than merely passing over a static panel. */
.process-runline { display:flex; align-items:center; gap:8px; color:#b6dad1; margin:-5px 0 15px; font:9px/1.5 'Geist Mono',monospace; }
.process-run-indicator { width:7px; height:7px; border:1px solid #94d7c1; border-radius:50%; flex:none; }
.process-run-meter { width:45px; height:2px; background:#38555e; margin-left:auto; overflow:hidden; flex:none; }.process-run-meter i { display:block; width:100%; height:100%; background:#99e0c7; transform-origin:left; }
.journey-story[data-journey] .process-run-meter i { transform:scaleX(var(--process-progress,0)); }
.journey-story[data-journey] .process-run-indicator { background:conic-gradient(#a6efd1 calc(var(--process-progress,0) * 360deg),transparent 0); box-shadow:0 0 calc(var(--process-progress,0) * 13px) #80d9bd77; }
.journey-story[data-journey] .rdy-process-flow { position:relative; }
.journey-story[data-journey] .rdy-process-flow::before { content:''; position:absolute; left:0; right:0; top:50%; height:1px; background:linear-gradient(90deg,#a3efd1,#729fda); transform:scaleX(var(--process-progress,0)); transform-origin:left; box-shadow:0 0 9px #8ee8c4; }
.journey-story[data-journey] .rdy-process-flow > span { position:relative; z-index:1; background:#172d36; border-color:color-mix(in srgb,#427179, #b4f3d6 calc(var(--node-progress,0) * 100%)); transform:translateY(calc((1 - var(--node-progress,0)) * 6px)); box-shadow:0 0 calc(var(--node-progress,0) * 15px) #91d7bc24; }
.journey-story[data-journey] .rdy-process-flow > span.is-resolved { background:#244b47; color:#d9ffee; }
.journey-story[data-journey] .journey-process .journey-piece-body > blockquote,.journey-story[data-journey] .journey-process .journey-piece-body > .journey-policy,.journey-story[data-journey] .journey-process .journey-piece-body > .journey-inline-result,.journey-story[data-journey] .journey-process .journey-piece-body > p,.journey-story[data-journey] .journey-process .journey-piece-body > .journey-recalled-reason { opacity:calc(.2 + var(--part-progress,1) * .8); transform:translateY(calc((1 - var(--part-progress,1)) * 16px)); }
.journey-story[data-journey] .journey-doc-grid > div { position:relative; overflow:hidden; }
.journey-story[data-journey] .journey-doc-grid > div[data-review-state=pending] { border-color:#806e49; background:#302d28; }.journey-story[data-journey] .journey-doc-grid > div[data-review-state=pending] i { background:#d6b86e; }
.journey-story[data-journey] .journey-doc-grid > div[data-review-state=checking] { border-color:#f0d38b; background:#414034; box-shadow:0 0 18px #dec37c25; transform:translateY(-3px); }.journey-story[data-journey] .journey-doc-grid > div[data-review-state=checking] i { background:#ffe3a2; }
.journey-story[data-journey] .journey-doc-grid > div[data-review-state=checked]::after { content:'✓'; position:absolute; right:7px; bottom:7px; color:#a4d6bf; font-size:9px; }.journey-story[data-journey] .journey-doc-grid > div[data-outcome=decision][data-review-state=checked]::after { content:'↗'; color:#d5b3fa; }
.journey-review-counts strong { font-variant-numeric:tabular-nums; }
@media(max-width:600px) { .process-runline { font-size:7px; gap:6px; }.process-run-meter { width:25px; } }

/* Agent-authored approval request embedded in the anonymous chat. */
.agent-approval-card { margin-top:20px; padding:20px; background:#1a273d; border:1px solid #526990; border-radius:12px; }
.approval-kicker { display:block; color:#adc3ee; font:8px/1.6 'Geist Mono',monospace; letter-spacing:.06em; }
.agent-approval-card h4 { color:#edf3ff; font-size:22px; line-height:1.2; letter-spacing:-.025em; font-weight:500; margin:12px 0; }
.journey-story .journey-chat .agent-approval-card p { font-size:14px; line-height:1.6; color:#c5d2eb; margin:0; }
.agent-approval-card a { display:inline-block; color:#bcd0ff; font-size:13px; margin-top:14px; text-decoration:underline; text-underline-offset:4px; }
.agent-approval-card small { display:block; color:#a9bad8; font-size:10px; line-height:1.7; margin-top:13px; }
.approval-confirm-first { border-top:1px solid #4d5f7b; padding-top:15px; margin-top:16px; }.approval-confirm-first > span { color:#d6c1f7; font:8px/1.6 'Geist Mono',monospace; }.journey-story .journey-chat .approval-confirm-first p { font-size:12px; margin-top:6px; }
.approval-choices { display:flex; gap:8px; margin-top:19px; }.approval-choices button { border:1px solid #697e9f; border-radius:8px; background:#263751; color:#e4edff; font:500 12px/1.5 Onest,sans-serif; padding:9px 14px; cursor:pointer; }
.approval-choices button:first-child { background:#b9ceff; color:#162c54; border-color:#b9ceff; }.approval-choices button[aria-pressed=true] { outline:2px solid #e5edff; outline-offset:3px; }.approval-choices button:focus-visible { outline:2px solid #fff; outline-offset:3px; }
.approval-selection { display:block; color:#a9bad8; font-size:9px; line-height:1.6; min-height:15px; margin-top:13px; }
#journey-proposal .chat-message { max-width:100%; padding:18px; }
@media(max-width:600px) { .agent-approval-card { padding:15px; }.agent-approval-card h4 { font-size:20px; }.journey-story .journey-chat .agent-approval-card p { font-size:13px; }.approval-choices { gap:6px; }.approval-choices button { padding:8px 10px; font-size:11px; } }

@media(min-width:601px) { .journey-story[data-journey] #journey-proposal { width:620px; } }

#journey-proposal .chat-composer { display:none; }
#journey-proposal .chat-message { padding:0; border:0; background:transparent; }
@media(max-width:600px) {
 #journey-proposal .chat-window-bar { min-height:45px; }
 #journey-proposal .chat-thread { padding:15px 14px 20px; }
 #journey-proposal .agent-approval-card { padding:13px; margin-top:14px; }
 #journey-proposal .approval-confirm-first { margin-top:12px; padding-top:12px; }
 #journey-proposal .approval-choices { margin-top:14px; }
}

.approval-facts-label { color:#b6c6e4; font:8px/1.5 'Geist Mono',monospace; margin-top:18px; letter-spacing:.06em; }
.approval-facts { display:grid; grid-template-columns:1fr 1fr; gap:10px 14px; margin:10px 0 0; }.approval-facts > div { border-top:1px solid #435570; padding-top:8px; }.approval-facts dt { color:#9fb3d3; font-size:9px; }.approval-facts dd { color:#d7e3f8; font-size:11px; line-height:1.5; margin:3px 0 0; }
.agent-approval-card .approval-full-facts { font-size:10px; line-height:1.5; }.approval-confirm-button { border:1px solid #8c77ad; background:#352d49; color:#e6d9fb; padding:8px 10px; border-radius:6px; font:11px/1.4 Onest,sans-serif; cursor:pointer; }.approval-confirm-button[aria-pressed=true] { background:#25463c; color:#d0f3df; border-color:#82bba1; }.approval-choices button { font-size:11px; padding:8px 11px; }.approval-choices button:disabled { opacity:.48; cursor:default; }
.approval-response-card { padding:24px; border:1px solid #647c9e; border-radius:12px; background:#1c2c42; }.approval-response-card h4 { margin:12px 0 22px; color:#edf3ff; font-size:24px; font-weight:500; line-height:1.2; }.journey-story .journey-chat .approval-confirmed { color:#b6dfca; font-size:13px; }.approval-click-target { margin-top:24px; background:#b9ceff; color:#172f57; border:1px solid #d4e1ff; padding:13px 17px; border-radius:8px; font-size:15px; display:flex; gap:9px; align-items:center; }.approval-click-target > span { opacity:var(--approval-click,1); }.journey-story[data-journey] .approval-click-target { transform:scale(calc(1 - sin(var(--approval-click,0) * 3.14159) * .04)); box-shadow:0 0 0 calc(var(--approval-click,0) * 4px) #b9ceff28; }.journey-story .journey-chat .approval-response-status { font-size:11px; color:#b2c4e3; margin-top:14px; }
#journey-approve .chat-message { background:transparent; border:0; padding:0; width:100%; max-width:100%; }#journey-approve .chat-thread > .chat-speaker,#journey-approve .chat-composer { display:none; }#journey-approve .chat-tool-call { order:2; }

/* Keep the journey flat: its camera only pans and scales. A shared 3D context
   unnecessarily retains layers for the entire tall workspace on mobile. */
.journey-story[data-journey] .journey-viewport { overflow:clip; }
/* Native document scrolling continues; boundary gestures stay with the page. */
:root[data-journey-active],:root[data-journey-active] body { overscroll-behavior-y:none; }

/* Bound the painting/compositing area to the screen. Offscreen cards retain their
   story geometry in JS, but have no painted or masked surfaces until nearby. */
.journey-story[data-journey] .journey-world { left:0; top:0; }
.journey-story[data-journey] .journey-piece { transform-origin:0 0; }
.journey-story[data-journey] .journey-piece.is-culled { display:none!important; }
.journey-story[data-journey] .journey-links { overflow:hidden; z-index:0; }
.journey-story[data-journey] .journey-world { z-index:1; }

/* Avoid live backdrop sampling and masked chat backing layers on touch WebKit.
   The opaque fade is only decorative; scrolling and browser zoom stay native. */
@supports (-webkit-touch-callout:none) {
 @media (pointer:coarse) {
  :root[data-journey-active] .site-header {
   -webkit-backdrop-filter:none; backdrop-filter:none; background:var(--bg);
  }
  .journey-story[data-journey] .chat-surface {
   position:relative; -webkit-mask-image:none; mask-image:none;
  }
  .journey-story[data-journey] .chat-surface::after {
   content:''; position:absolute; top:0; left:0; right:0; height:80px;
   z-index:2; pointer-events:none; background:linear-gradient(#080c17,transparent);
  }
 }
 @media (pointer:coarse) and (max-width:600px) {
  .journey-story[data-journey] .chat-surface::after { height:65px; }
 }
}

.journey-reading-toggle,.journey-step-controls button {
  font:inherit;
  font-size:12px;
  line-height:1.4;
  min-height:34px;
  padding:6px 12px;
  border:1px solid var(--control-line);
  border-radius:9px;
  background:var(--on-panel);
  color:var(--ink);
  cursor:pointer;
}
.journey-reading-toggle { margin-top:16px; }
.journey-step-controls { display:flex; gap:7px; flex-shrink:0; }
.journey-step-controls button {
  border-color:#53617a;
  background:#172136;
  color:#f1f5ff;
}
.journey-step-controls button[aria-disabled="true"] {
  border-color:#39455b;
  color:#a5b0c5;
  cursor:default;
}
.journey-step-controls button:focus-visible,.journey-stage-heading h3:focus-visible {
  outline:2px solid #b5c8f4;
  outline-offset:3px;
}
.journey-announcement {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
}
@media(max-width:600px) {
  .journey-step-controls { display:none; }
}
