/* V-3 pipeline flow (EM-6). Rules are scoped to .v3-flow and use Framework theme variables.
 * Compact layout (owner 2026-11-12): stages sit side by side and wrap; CSS-only arrows point
 * right between neighbours. The page shows the flow inside a collapsed <details>. */
.v3-flow { color: var(--theme-foreground); margin: 0.5rem 0; }
.v3-flow :focus-visible { outline: 3px solid var(--theme-foreground-focus); outline-offset: 2px; }
.v3-flow .v3-stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: 0.5rem 1.25rem; }
.v3-flow .v3-stage { position: relative; padding: 0.4rem 0.6rem; border: 1px solid var(--theme-foreground-faint); border-radius: var(--atlas-radius-control); background: var(--theme-background-alt); }
.v3-flow .v3-stage:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -0.95rem; transform: translateY(-50%); border-top: 0.35rem solid transparent; border-bottom: 0.35rem solid transparent; border-left: 0.5rem solid var(--theme-foreground-muted); }
.v3-flow .v3-stage--off { border-style: dashed; border-color: var(--theme-foreground-faintest); background: transparent; color: var(--theme-foreground-muted); }
.v3-flow .v3-stage-name { margin: 0; font-size: 0.85rem; }
.v3-flow .v3-status { margin: 0.1rem 0 0; font-size: 0.72rem; font-style: italic; color: var(--theme-foreground-muted); }
.v3-flow .v3-steps { margin: 0.25rem 0 0; padding-left: 1rem; }
.v3-flow .v3-step { display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.75rem; line-height: 1.3; }
.v3-flow .v3-step-value { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.v3-flow .v3-note { margin: 0.25rem 0 0; font-size: 0.7rem; color: var(--theme-foreground-muted); }
.v3-flow .v3-footer { margin: 0.6rem 0 0; font-size: 0.75rem; color: var(--theme-foreground-muted); }
@media (max-width: 30rem) { .v3-flow .v3-stage:not(:last-child)::after { display: none; } }
