/* Technical guide walkthroughs use the shared signal clock and existing content. */
.guide-sequence-host{min-width:0;grid-column:1/-1;margin-top:18px}
/* These rails sit inside a grid column. Let the column shrink to the page
   while the marker strip keeps its own scrollable, readable width. */
.guide-sequence:is(.finding-layout,.data-lab,.depth-explore){grid-template-columns:repeat(2,minmax(0,1fr))}
.guide-sequence:is(.finding-layout,.data-lab,.depth-explore)>*{min-width:0}
.guide-sequence .sla-sequence-toolbar{margin-bottom:22px}
.guide-sequence .guide-sequence-options>button.guide-step-active,
.guide-sequence .guide-sequence-options>button[aria-pressed=true],
.guide-sequence .guide-sequence-options>button[aria-selected=true]{background:#b51127!important;border-color:#b51127!important;color:#fff!important;box-shadow:inset 0 -3px 0 #fff3}
.guide-sequence .guide-sequence-options>button.guide-step-active :is(span,b,small){color:#fff!important}
.guide-sequence .guide-sequence-options>button:focus-visible{outline:3px solid #b51127;outline-offset:4px}
.guide-sequence[data-sequence-theme=dark] .guide-sequence-options>button:focus-visible{outline-color:#fff}
.guide-sequence .guide-sequence-panel{border-top:3px solid #b51127;min-width:0}
.guide-sequence .guide-panel-stage{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:34px;padding:5px 10px;margin:0 0 14px;background:#b51127;color:#fff!important;font:800 14px/1.2 Inter,Arial,sans-serif;letter-spacing:.04em;box-sizing:border-box}
.guide-sequence .guide-sequence-options{position:relative;z-index:1}
.guide-sequence .sla-sequence-track:before{height:3px;background:repeating-linear-gradient(90deg,#b51127 0 18px,#fff 18px 22px,#b51127 22px 34px)}
.guide-sequence[data-sequence-theme=dark] .sla-sequence-track:before{background:repeating-linear-gradient(90deg,#f12b40 0 18px,#fff 18px 22px,#f12b40 22px 34px)}
.guide-sequence .sla-sequence-signal{width:12px;height:12px;border-width:2px;box-shadow:0 0 0 3px #b511272e,0 0 10px #fff8}
.guide-sequence-handoff .handoff-stages:before{display:none}
.guide-sequence-handoff .handoff-detail,.guide-sequence-dependency .dependency-explanation{padding-top:24px}
.guide-sequence-audit .perf-tabs{margin-bottom:0}
.guide-sequence-finding .finding-card,.guide-sequence-context .lab-panel{box-shadow:0 -1px 0 #b51127}
.guide-sequence-context .guide-sequence-host .sla-sequence-track{min-width:330px!important}
.guide-sequence-context .guide-sequence-host .sla-sequence-label{font-size:12px}
.guide-sequence-ecosystem .guide-sequence-host{grid-column:1/-1;margin-top:0}
.guide-sequence-ecosystem #eco-detail{padding-top:22px}
.guide-sequence-ecosystem .ecosystem-nodes{grid-template-columns:repeat(3,minmax(0,1fr))}
.guide-sequence-industrial .depth-pause,.guide-sequence-dependency .handoff-pause{display:none!important}
.guide-sequence-industrial .depth-pulse,.guide-sequence-dependency .dependency-flow path{animation:none!important;transition:none!important;stroke:#fff!important;stroke-width:3;stroke-dasharray:7 20;fill:none}
.guide-sequence-industrial .depth-track,.guide-sequence-dependency .dependency-lines path{stroke:#b51127;stroke-width:4}
.guide-sequence-dependency .dependency-lines .utility-path{stroke:#ef2d43!important}
.guide-sequence .guide-diagram-signal{fill:#fff!important;stroke:#b51127!important;stroke-width:3!important;pointer-events:none;filter:drop-shadow(0 0 4px #ffffffb3)}
.guide-sequence .guide-diagram-arrow{fill:none!important;stroke:#fff!important;stroke-width:3!important;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.guide-sequence-industrial .guide-diagram-node-active{fill:#b51127!important;stroke:#b51127!important;stroke-width:3!important}
.guide-sequence-dependency .guide-diagram-node-active{fill:#501c29!important;stroke:#ef2d43!important;stroke-width:3!important}
.guide-sequence-industrial .guide-sequence-panel{padding-top:20px}
@media(max-width:1000px){.guide-sequence-ecosystem .ecosystem-nodes{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.guide-sequence:is(.finding-layout,.data-lab,.depth-explore){grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){
 .guide-sequence-host{margin-top:14px}
 .guide-sequence .guide-panel-stage{font-size:13px;min-width:37px;min-height:32px;margin-bottom:12px}
 .guide-sequence .sla-sequence-toolbar{margin-bottom:18px}
 .guide-sequence-ecosystem .ecosystem-nodes{gap:10px}
 .guide-sequence-ecosystem .ecosystem-nodes button{padding:15px 12px;min-height:125px}
 .guide-sequence-ecosystem .ecosystem-nodes b{font-size:17px}
}
@media(prefers-reduced-motion:reduce){.guide-sequence *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Once the connected rail is ready, it is the single visible stage selector.
   The retained hidden buttons still own their established content handlers. */
:is(.guide-sequence-handoff,.guide-sequence-dependency,.guide-sequence-audit,.guide-sequence-finding,.guide-sequence-context,.guide-sequence-industrial)[data-sequence-index] .guide-sequence-options{display:none}
