.replay{--rp-warn:#b7791f;--rp-bad:#c0392b;border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:1rem}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .replay{--rp-warn:#e0a84a;--rp-bad:#e5675a}}:root[data-theme=dark] .replay{--rp-warn:#e0a84a;--rp-bad:#e5675a}.rp-toolbar{flex-wrap:wrap;justify-content:space-between;gap:.75rem;display:flex}.rp-controls,.rp-views{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.rp-btn{border:1px solid var(--line);background:var(--elevated);color:var(--fg);cursor:pointer;border-radius:6px;padding:.4rem .8rem;font-size:.875rem;font-weight:500;transition:border-color .15s,color .15s}.rp-btn:hover{border-color:var(--accent);color:var(--accent)}.rp-btn:focus-visible,.rp-row-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.rp-btn-primary,.rp-btn[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:var(--accent-fg)}.rp-btn-primary:hover,.rp-btn[aria-pressed=true]:hover{background:var(--accent-hover);color:var(--accent-fg)}.rp-speed{color:var(--muted);align-items:center;gap:.4rem;font-size:.875rem;display:inline-flex}.rp-speed select{border:1px solid var(--line);background:var(--elevated);color:var(--fg);border-radius:6px;padding:.3rem .4rem}.rp-scrubrow{align-items:center;gap:.9rem;margin-top:.7rem;display:flex}.rp-scrub{min-width:0;height:1.75rem;accent-color:var(--accent);cursor:pointer;flex:1;margin:0}.rp-scrub:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.rp-progress-text{color:var(--muted);white-space:nowrap;flex:none;margin:0;font-size:.8rem}.replay{--rp-h:clamp(380px, calc(100dvh - 23rem), 1000px);scroll-margin-top:5rem}.rp-body{gap:.9rem;margin-top:.75rem;display:grid}@media (height<=820px) and (width>=1000px){.replay{--rp-h:clamp(380px, calc(100dvh - 18.5rem), 1000px)}.rp-hide-short{display:none}}.rp-stage{border:1px solid var(--line);background:var(--bg);border-radius:8px;min-width:0;min-height:0}.rp-stage svg{width:100%;height:auto;display:block}.rp-svg-tall{display:none!important}@media (width<=700px){.rp-svg-wide{display:none!important}.rp-svg-tall{display:block!important}.rp-svg-tall .rp-node text{font-size:13px}}@media (width>=1000px){.rp-body{height:var(--rp-h);grid-template-rows:minmax(0,1fr) minmax(0,1fr);grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}.rp-stage{grid-row:1/span 2}.rp-stage svg{height:100%}}@media (width>=1500px){.rp-body{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1.45fr) minmax(0,.8fr) minmax(0,.95fr)}.rp-stage{grid-row:auto}}.rp-edge{stroke:var(--line);stroke-width:2px;transition:stroke .2s,stroke-width .2s}.rp-edge.is-dim{stroke-dasharray:3 5;opacity:.6}.rp-edge.is-visited{stroke:var(--muted)}.rp-edge.is-active{stroke-width:4px}.rp-edge.is-active.st-Delivered{stroke:var(--live)}.rp-edge.is-active.st-Selected{stroke:var(--accent)}.rp-edge.is-active.st-Retrying{stroke:var(--rp-warn)}.rp-edge.is-active.st-DeadLetter{stroke:var(--rp-bad)}.rp-node rect{fill:var(--elevated);stroke:var(--line);stroke-width:1.5px;transition:stroke .2s,stroke-width .2s}.rp-node text{fill:var(--fg);font-size:15px;font-weight:500}.rp-node.is-hub rect{fill:var(--accent);stroke:var(--accent)}.rp-node.is-hub text{fill:var(--accent-fg);font-weight:650}.rp-node.is-dim{opacity:.45}.rp-node.is-visited rect{stroke:var(--muted)}.rp-node.is-active rect{stroke-width:3.5px}.rp-node.is-active.st-Delivered rect{stroke:var(--live)}.rp-node.is-active.st-Selected rect{stroke:var(--accent)}.rp-node.is-active.st-Retrying rect{stroke:var(--rp-warn)}.rp-node.is-active.st-DeadLetter rect{stroke:var(--rp-bad)}.rp-node.is-hub.is-active rect{stroke:var(--live)}.rp-node.is-dim.is-active,.rp-node.is-dim.is-visited{opacity:1}.rp-dot{fill:var(--live)}.rp-dot.st-Retrying{fill:var(--rp-warn)}.rp-dot.st-DeadLetter{fill:var(--rp-bad)}.rp-panel{border:1px solid var(--line);background:var(--bg);border-radius:8px;flex-direction:column;min-width:0;min-height:0;padding:.75rem;display:flex}.rp-panel-title{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:.5rem;font-size:.75rem;font-weight:600}.rp-legend{color:var(--muted);margin:0 0 .5rem;font-size:.8rem}.rp-key-label{letter-spacing:.06em;text-transform:uppercase;color:var(--accent);vertical-align:.1em;margin-left:.4rem;font-size:.65rem;font-weight:700;display:inline-block}.rp-legend .rp-key-label{margin-left:0}.rp-row.is-key .rp-row-btn{background:color-mix(in srgb, var(--accent) 13%, transparent);border-left:3px solid var(--accent)}.rp-row.is-key .rp-row-btn:hover{background:color-mix(in srgb, var(--accent) 20%, transparent)}.rp-key-chip{letter-spacing:.06em;text-transform:uppercase;color:var(--accent);margin:.3rem 0 0;font-size:.7rem;font-weight:700;display:block}.rp-trace{max-height:22rem;margin:0;padding:0;list-style:none;overflow-y:auto}.rp-inspector{overflow-y:auto}@media (width>=1000px){.rp-trace,.rp-inspector{flex:auto;min-height:0;max-height:none}}.rp-row+.rp-row{margin-top:.25rem}.rp-row-btn{text-align:left;width:100%;color:var(--fg);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;grid-template-columns:1.6rem 1fr auto;align-items:start;gap:.5rem;padding:.4rem .5rem;display:grid}.rp-row-btn:hover{background:var(--surface)}.rp-row-btn[aria-pressed=true]{border-color:var(--accent);background:var(--surface)}.rp-seq{color:var(--muted);padding-top:.15rem;font-size:.75rem;font-weight:600}.rp-row-title{overflow-wrap:anywhere;font-size:.9rem;font-weight:600;display:block}.rp-row-sub{color:var(--muted);font-size:.8rem;display:block}.rp-when{color:var(--muted);white-space:nowrap;padding-top:.15rem;font-size:.75rem}.rp-mono{font-family:var(--font-mono);font-size:.82rem}.rp-muted{color:var(--muted);font-size:.9rem}.rp-insp-title{font-size:1.05rem;font-weight:600}.rp-state{border:1px solid var(--line);color:var(--accent);border-radius:999px;margin-top:.3rem;padding:.05rem .6rem;font-size:.78rem;display:inline-block}.rp-insp-desc{margin-top:.6rem;font-size:.92rem}.rp-insp-sub{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-top:.9rem;font-size:.75rem;font-weight:600}.rp-dl{grid-template-columns:max-content 1fr;gap:.25rem .9rem;margin-top:.7rem;font-size:.85rem;display:grid}.rp-dl dt{color:var(--muted)}.rp-dl dd{overflow-wrap:anywhere;white-space:pre-line;margin:0}.replay[data-view=business] .rp-tech,.replay[data-view=technical] .rp-biz{display:none}.rp-outcome{border:1px solid var(--live);background:var(--bg);border-radius:8px;margin-top:.9rem;padding:1rem 1.1rem}.rp-outcome[hidden]{display:none}.rp-outcome-label{letter-spacing:.06em;text-transform:uppercase;color:var(--live);font-size:.75rem;font-weight:600}.rp-outcome-head{margin-top:.2rem;font-size:1.25rem;font-weight:600}.rp-outcome p+p,.rp-outcome-head+p{margin-top:.4rem}.rp-outcome-next{margin-top:1rem}.rp-outcome-next .rp-btn{text-decoration:none;display:inline-block}.rp-metrics{flex-wrap:wrap;gap:.6rem 1.8rem;margin:.9rem 0 0;padding:0;list-style:none;display:flex}.rp-metric-value{font-size:1.5rem;font-weight:650;line-height:1.1;display:block}.rp-metric-label{color:var(--muted);font-size:.8rem}
