/* flow.css · Oct 10 (the UX pass, Wells): one action on the overview, the Steps tab, the run button in the trail.
   Loads after phero.css and where.css; prefixed .ds-ov-nb / .ds-stp-* only. */

/* ---------- the hero's next block: what runs next, how long, one button, the report as a quiet link ---------- */
html[data-skin] body .ds-phero2 .ds-ov-nb { --stg: var(--ds-st-discover); --stg-ink: var(--ck-teal-lift, #5FD0C8); display: grid; gap: 8px; min-width: 0; flex: 1 1 420px; max-width: 560px; padding: 18px 20px 20px; border-radius: 12px; background: rgba(255, 255, 255, .055); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 0 0 1px rgba(143, 176, 240, .10); }
html[data-skin] body .ds-phero2 .ds-ov-nb.s-design { --stg: var(--ds-st-design); --stg-ink: #B7A8FF; }
html[data-skin] body .ds-phero2 .ds-ov-nb.s-optimize { --stg: var(--ds-st-optimize); --stg-ink: #8FB0F0; }
html[data-skin] body .ds-phero2 .ds-ov-nb.s-acquire { --stg: var(--ds-st-acquire); --stg-ink: #7FD9A6; }
html[data-skin] body .ds-phero2 .ds-ov-nb-k { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 0; font-size: 13.5px; font-weight: 500; color: #93A6C2; }
html[data-skin] body .ds-phero2 .ds-ov-nb-k .ds-lbl { --lbl: var(--stg-ink); }
html[data-skin] body .ds-phero2 .ds-ov-nb-time { color: #7B8FAB; }
html[data-skin] body .ds-phero2 .ds-ov-nb-t { display: block; font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.014em; color: #fff; text-wrap: balance; }
html[data-skin] body .ds-phero2 .ds-ov-nb-opt { font-size: 13.5px; color: #93A6C2; }
html[data-skin] body .ds-phero2 .ds-ov-nb-a { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; margin-top: 8px; }
html[data-skin] body .ds-phero2 .ds-ov-nb-rep { display: inline-flex; align-items: center; gap: 2px; font-size: var(--ds-fs-4); font-weight: 600; color: #C9D6EC; text-decoration: none; }
html[data-skin] body .ds-phero2 .ds-ov-nb-rep:hover { color: #fff; }
html[data-skin] body .ds-phero2 .ds-ov-nb-rep svg { width: 14px; height: 14px; }
html[data-skin] body .ds-phero2 .ds-phero-row { align-items: flex-end; }
@media (max-width: 720px) {
  html[data-skin] body .ds-phero2 .ds-ov-nb { flex-basis: 100%; max-width: none; padding: 16px 16px 18px; }
  html[data-skin] body .ds-phero2 .ds-ov-nb-t { font-size: 18px; }
}

/* ---------- the trail: the next test carries its button; later steps say so ---------- */
html[data-skin] body .ds-stp-row.is-next { background: color-mix(in srgb, var(--stg) 7%, var(--ds-paper)); margin: 0 -12px; padding: 0 12px; border-radius: var(--ds-r-inner); border-top-color: transparent; }
html[data-skin] body .ds-stp-row.is-next + .ds-stp-row { border-top-color: transparent; }
html[data-skin] body .ds-stp-next { --lbl: var(--stg-ink, #2447C9); margin-left: 8px; }
html[data-skin] body .ds-stp-later { --lbl: #93A6C2; margin-left: 8px; }
html[data-skin] body .ds-stp-row.st-todo .ds-stp-t > b, html[data-skin] body .ds-stp-row.st-locked .ds-stp-t > b { color: var(--ds-muted); }
html[data-skin] body .ds-stp-run { margin-top: 10px; width: fit-content; }
html[data-skin] body .ds-stp-row.is-next .ds-stp-a:hover { background: color-mix(in srgb, var(--stg) 12%, var(--ds-paper)); }

/* ---------- the Steps tab ---------- */
html[data-skin] body .ds-stp-cta { display: flex; gap: 10px; flex: none; }
html[data-skin] body .ds-stp-lanes { margin: 0 0 6px; }
html[data-skin] body .ds-stp-empty { margin: 8px 0 0; padding: 22px 0 6px; font-size: var(--ds-fs-5); color: var(--ds-muted); }
html[data-skin] body .ds-ph-k > b + * { margin-left: 0; }
@media (max-width: 720px) {
  html[data-skin] body .ds-stp-cta { width: 100%; }
  html[data-skin] body .ds-stp-cta .ds-btn { flex: 1; justify-content: center; }
}

/* the run button sits beside the next row, outside its link (a link cannot hold a link) */
html[data-skin] body .ds-stp-row.is-next { grid-template-columns: minmax(0, 1fr) auto 36px; }
html[data-skin] body .ds-stp-row.is-next .ds-stp-run { margin: 0 6px 0 0; align-self: center; }
@media (max-width: 720px) {
  html[data-skin] body .ds-stp-row.is-next { grid-template-columns: minmax(0, 1fr) 36px; }
  html[data-skin] body .ds-stp-row.is-next .ds-stp-run { grid-column: 1 / -1; grid-row: 2; margin: 0 0 14px 42px; width: fit-content; }
}
/* the people on the project sit at the end of the row, level with the block's buttons */
html[data-skin] body .ds-phero2 .ds-phero-row { flex-wrap: wrap; }
html[data-skin] body .ds-phero2 .ds-ov-nb { max-width: none; flex: 1 1 380px; }
html[data-skin] body .ds-phero2 .ds-phero-row .ds-members { margin-left: auto; align-self: flex-end; padding-bottom: 4px; }
html[data-skin] body .ds-phero2 .ds-phero-in > .ds-phero-row { margin-bottom: 30px; }
