/* A scene is a working screen: type, execute, process, then inspect results. */
.workflow-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px 9px;position:relative;min-height:24px;margin-bottom:10px}
.workflow-action{position:relative;display:inline-flex;align-items:center;gap:6px;min-height:23px;padding:4px 8px;border:1px solid #B9C9E2;border-radius:5px;font-size:10px;line-height:1;color:#155EEF;background:#F5F8FF;white-space:nowrap}
.workflow-action>svg{height:10px;width:10px;flex-shrink:0}
.workflow-action.is-running{background:#155EEF;border-color:#155EEF;color:white}
.workflow-action.is-complete{border-color:#A6CCC4;color:#087F8C;background:#EDF8F4}
.workflow-status{font-size:10px;line-height:1.3;color:#52617B}
.workflow-status [data-phase]{display:none}
[data-workflow-phase=typing] .workflow-status [data-phase=typing],
[data-workflow-phase=processing] .workflow-status [data-phase=processing],
[data-workflow-phase=results] .workflow-status [data-phase=results]{display:inline}
[data-workflow-phase=results] .workflow-status{color:#087F8C}
.workflow-glyph{position:relative}
.workflow-code-visual{white-space:pre-wrap}
.workflows-ready .has-workflow.is-active,.workflows-ready .has-workflow .journey-reveal{animation:none!important}
.workflows-ready [data-typewriter] .is-cursor{box-shadow:2px 0 0 #155EEF}
.workflows-ready .has-workflow[data-workflow-phase=typing] .workflow-results:not(table){visibility:hidden}
.workflows-ready .has-workflow .workflow-stream .workflow-row{opacity:0}
.workflows-ready .has-workflow .workflow-stream .workflow-row.is-arrived{opacity:1}
.workflows-ready .workflow-stream .workflow-row.is-arrived:last-child td{border-bottom-color:#A4BDF2}
.workflows-ready .has-workflow .workflow-exception{opacity:.3}
.workflows-ready .has-workflow[data-workflow-phase=typing] .workflow-exception{opacity:0}
.workflows-ready .has-workflow .workflow-exception.is-flagged{opacity:1}
.workflow-exception.is-flagged td{background:#FFF0E8;color:#9A452B}
.workflow-exception.is-flagged td:first-child{box-shadow:inset 3px 0 #EA714C}
.workflows-ready .has-workflow .workflow-assignee:not(.is-assigned),.workflows-ready .has-workflow .workflow-balance:not(.is-balanced){visibility:hidden}
.workflow-check{display:inline-flex;align-items:center;gap:5px;color:#64728B}
.workflow-check-icon{display:inline-grid;place-items:center;width:15px;height:15px;border:1px solid #C0CCDD;border-radius:50%;line-height:1;font-size:12px}
.workflow-check.is-done{color:#087F8C}
.workflow-check.is-done .workflow-check-icon{background:#E3F2EF;border-color:#9FCAC1}
.workflow-connection{display:flex!important;align-items:center;gap:9px;flex-wrap:wrap;font-size:10px;color:#53617B}
.workflow-connection code{font:10px var(--mono)}
.workflow-connection-line{position:relative;display:block;width:65px;flex-shrink:0;font-style:normal;font-size:18px;line-height:1;color:#087F8C;text-align:right}
.workflow-connection-line::before{content:"";position:absolute;left:0;right:8px;top:50%;height:1px;background:#8FBEB6}
.workflow-packet{position:absolute;top:6px;left:0;height:6px;width:6px;background:#155EEF;border-radius:50%}
.report-kpis strong>[data-count-to],.report-kpis strong .workflow-counter{font:inherit;color:inherit}
.report-kpis strong [data-count-to]>.sr-only{position:absolute}
.workflows-ready .feature-window .report-chart{height:150px}
.workflows-ready .workflow-chart rect{animation:none!important;transform:scaleX(var(--workflow-progress,1));transform-box:fill-box;transform-origin:left}
.journey-mini .workflow-toolbar{gap:5px 7px;min-height:24px;margin-bottom:10px}
.journey-mini .workflow-action{font-size:9px;padding:4px 6px}
.journey-mini .workflow-status{font-size:9px}
.journey-mini .app-mini-table caption img{vertical-align:middle;margin-right:4px}
.workflow-scan{position:relative}
.workflows-ready [data-workflow-phase=processing] .workflow-scan::after{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:#087F8C;box-shadow:0 4px 12px #087F8C33}
.workflows-ready [data-workflow-phase=processing] .workflow-toolbar::after{content:"";position:absolute;bottom:-5px;left:0;height:2px;width:100%;background:linear-gradient(90deg,#155EEF,#8155D9,#087F8C);transform-origin:left}
@media(prefers-reduced-motion:no-preference){
 .workflows-ready .workflow-action.is-running>svg{opacity:0}
 .workflows-ready .workflow-action.is-running::after{content:"";position:absolute;left:7px;top:5px;width:9px;height:9px;border:1.5px solid currentColor;border-right-color:transparent;border-radius:50%;animation:workflow-spin .65s linear infinite}
 .workflows-ready [data-workflow-phase=processing] .workflow-toolbar::after{animation:workflow-execute 1.2s ease-out both}
 .workflows-ready [data-workflow-phase=processing] .workflow-scan::after{animation:workflow-scan 1s linear infinite}
 .workflows-ready .has-workflow:not([data-workflow-phase=results]) .workflow-packet{animation:workflow-signal .8s linear infinite}
 .data-journey.is-suspended .workflow-action::after,.data-journey.is-suspended .workflow-toolbar::after,.data-journey.is-suspended .workflow-scan::after,.data-journey.is-suspended .workflow-packet{animation-play-state:paused!important}
 @keyframes workflow-spin{to{transform:rotate(360deg)}}
 @keyframes workflow-execute{from{transform:scaleX(0)}to{transform:scaleX(1)}}
 @keyframes workflow-scan{from{transform:translateY(17px)}to{transform:translateY(85px)}}
 @keyframes workflow-signal{0%{transform:translateX(0);opacity:0}15%,80%{opacity:1}100%{transform:translateX(53px);opacity:0}}
}
@container mini-journey (min-width:420px){.journey-mini .workflow-action,.journey-mini .workflow-status{font-size:11px}}
@media(max-width:650px){.workflow-toolbar{gap:5px 7px}.workflow-status{font-size:9px}.workflow-action{font-size:9px}.workflows-ready .feature-window .report-chart{height:150px}}
@media(prefers-reduced-motion:reduce){.workflow-packet{display:none}.workflow-action::after,.workflow-toolbar::after,.workflow-scan::after{animation:none!important}}
