/* Connected ribbon: the selected preparation timeline. */
.preparation-timeline { margin: 1px 0 8px; min-width: 0; }
.flow-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 6px; }
.flow-heading h2 { margin: 0; color: #273243; font-size: 13px; font-weight: 650; }
.flow-progress { display: flex; align-items: center; gap: 8px; color: #6b7280; font-size: 10px; }
.flow-progress strong { color: #344256; font-size: 11px; font-variant-numeric: tabular-nums; }
.flow-progress strong > span { color: #7a8594; font-weight: 500; }
.flow-ribbon { min-width: 0; border-radius: 8px; }
.flow-scroll { min-width: 0; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #bfc7d2 transparent; border-radius: 8px; }
.flow-track { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); min-width: 900px; gap: 0; list-style: none; margin: 0; padding: 0; }
.flow-stage { position: relative; min-width: 0; margin-left: -8px; }
.flow-stage:first-child { margin-left: 0; }
.flow-step { position: relative; display: flex; align-items: center; gap: 7px; width: 100%; min-width: 0; height: 100%; min-height: 88px; padding: 8px 20px 8px 21px; border: 0; background: #e9edf2; text-align: left; color: #6b7788; clip-path: polygon(0 0,calc(100% - 14px) 0,100% 50%,calc(100% - 14px) 100%,0 100%,14px 50%); }
.flow-stage:first-child .flow-step { padding-left: 12px; clip-path: polygon(0 0,calc(100% - 14px) 0,100% 50%,calc(100% - 14px) 100%,0 100%); border-radius: 8px 0 0 8px; }
.flow-stage:last-child .flow-step { padding-right: 12px; clip-path: polygon(0 0,100% 0,100% 100%,0 100%,14px 50%); border-radius: 0 8px 8px 0; }
.flow-step:focus-visible { z-index: 3; outline: 2px solid #6689c4; outline-offset: -5px; border-radius: 5px; }
.flow-step:hover { filter: brightness(.97); }
.flow-marker { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 40px; border: 1.25px solid #c9d1dc; border-radius: 7px; color: #637186; font-size: 18px; font-weight: 650; line-height: 1; font-variant-numeric: tabular-nums; }
.flow-marker svg { width: 24px; height: 24px; stroke-width: 2.3; }
.flow-copy { display: block; min-width: 0; }
.flow-copy strong { display: block; color: inherit; font-size: 11.5px; line-height: 1.4; font-weight: 550; }
.flow-copy small { display: block; margin-top: 2px; color: #5f6e83; font-size: 10px; line-height: 1.45; }
.preparation-timeline .flow-completion { margin-top: 2px; }
.flow-stage.is-current { z-index: 1; }
.flow-stage.is-current .flow-step { background: #263445; color: #fff; }
.flow-stage.is-current .flow-marker { color: #fff; border-color: #ffffff35; background: #ffffff0d; }
.flow-stage.is-current .flow-copy strong { font-weight: 650; }
.flow-stage.is-current .flow-copy small { color: #bdc8d6; }
.flow-stage.is-done .flow-step { background: #dceee4; color: #2e7155; }
.flow-stage.is-done .flow-marker { border-color: #a7cdb7; color: #2e7155; }
.flow-stage.is-done .flow-copy small { color: #678a77; }
@media (max-width: 760px) {
  .flow-heading { gap: 8px; margin-bottom: 6px; }
  .flow-heading h2 { font-size: 12px; }
  .flow-progress { font-size: 9px; gap: 6px; }
  .flow-scroll { padding-bottom: 7px; }
  .flow-track { min-width: 900px; }
}
