/* Order workflow stages section */
.workflow-section { background: #f8faff; border-block: 1px solid #eef2f7; }
.workflow-card { padding: 24px; border: 1px solid #e3eaf4; border-radius: 16px; background: #fff; box-shadow: var(--shadow-soft); }
.workflow-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.workflow-title h3 { margin: 0; color: #1d2939; font-size: 16px; letter-spacing: -.02em; }
.workflow-title p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.filter-chips { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.filter-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 31px; padding: 0 10px; border: 1px solid #b2ccff; border-radius: var(--pill); color: #344054; background: #f8fbff; font-size: 11px; }
.filter-chip svg { width: 12px; height: 12px; color: #667085; }
.filter-chip.dashed { border-style: dashed; border-color: #d0d5dd; color: #475467; background: #fff; }
.filter-clear { border: 0; padding: 5px 7px; color: var(--blue-700); background: transparent; font-size: 11px; font-weight: 650; }
.flow-stats { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 9px; }
.flow-stat { display: flex; align-items: center; gap: 11px; min-width: 0; min-height: 67px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; text-align: left; transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.flow-stat:hover { border-color: #b2ccff; background: #fbfdff; }
.flow-stat:focus-visible { outline: 3px solid rgb(59 130 246 / 24%); outline-offset: 2px; }
.flow-stat[aria-pressed="true"] { border-color: #3b82f6; background: var(--blue-50); box-shadow: 0 0 0 1px rgb(59 130 246 / 8%); }
.flow-accent { flex: 0 0 3px; height: 37px; border-radius: 4px; background: var(--flow); }
.flow-copy { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.flow-copy strong { font-size: 19px; line-height: 21px; letter-spacing: -.04em; }
.flow-copy small { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.workflow-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 15px; color: #8995a7; font-size: 10px; }
.workflow-foot span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.workflow-foot svg { width: 14px; height: 14px; color: var(--blue-600); }
.workflow-feedback { color: #52627a; }

@media (max-width: 1060px) {
  .flow-stats { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .workflow-card { padding: 16px 13px; }
  .workflow-top { align-items: flex-start; flex-direction: column; gap: 13px; }
  .workflow-title h3 { font-size: 15px; }
  .filter-chips { gap: 5px; }
  .filter-chip { min-height: 29px; gap: 5px; padding-inline: 8px; font-size: 10px; }
  .filter-clear { padding-inline: 3px; font-size: 10px; }
  .flow-stats { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .flow-stat { min-height: 59px; padding: 8px; gap: 8px; }
  .flow-accent { height: 31px; }
  .flow-copy strong { font-size: 17px; }
  .flow-copy small { font-size: 9px; }
  .workflow-foot { align-items: flex-start; flex-direction: column; gap: 7px; font-size: 9px; }
}
