/* Thunder EV — workflow widgets */
.tev-wf-banner {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 12px 0;
}
.tev-wf-banner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}
.tev-wf-lbl {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-bottom: 2px;
}
.tev-wf-next,
.tev-wf-meta {
  margin: 8px 0 0;
  font-size: 0.88rem;
  color: #334155;
}
.tev-wf-progress {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 12px 0;
}
.tev-wf-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #94a3b8;
}
.tev-wf-step--done {
  color: #15803d;
}
.tev-wf-step--current {
  color: #1d4ed8;
  font-weight: 600;
}
.tev-wf-step-icon {
  width: 1.4rem;
  text-align: center;
}
.tev-wf-journey {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 16px;
}
.tev-wf-journey-title {
  margin: 0 0 10px;
  font-size: 1rem;
}
.tev-wf-journey-flow {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.6;
}
.tev-wf-journey-flow--horizontal {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.tev-wf-journey-flow--horizontal .tev-wf-journey-step {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
  border: 1px solid rgba(37, 99, 235, 0.18);
  font-weight: 600;
  font-size: 0.78rem;
  color: #1e3a8a;
  white-space: nowrap;
}
.tev-wf-journey-flow--horizontal .tev-wf-journey-arrow {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  color: #94a3b8;
  margin: 0 6px;
  font-size: 0.9rem;
  line-height: 1;
}
.tev-wf-journey--customer .tev-wf-journey-title {
  margin-bottom: 12px;
}
@media (min-width: 900px) {
  .tev-wf-journey-flow--horizontal {
    flex-wrap: wrap;
    overflow-x: visible;
    justify-content: space-between;
    row-gap: 10px;
  }
  .tev-wf-journey-flow--horizontal .tev-wf-journey-arrow {
    margin: 0 4px;
  }
}
.tev-wf-journey-flow--compact {
  line-height: 1.8;
}
.tev-wf-journey-flow:not(.tev-wf-journey-flow--horizontal) .tev-wf-journey-arrow {
  display: block;
  color: #94a3b8;
  margin: 2px 0;
}
.tev-vendor-workflow-panel .tev-vendor-actions {
  margin-top: 0;
}
.tev-vendor-next-btn {
  font-weight: 700;
}
.tev-vendor-actions__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.tev-vendor-actions__warn {
  color: #b45309;
  font-size: 0.85rem;
  margin: 0.35rem 0;
}
.tev-vendor-actions__idle {
  margin: 0.5rem 0;
  padding: 0.65rem 0.85rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  font-size: 0.88rem;
}
.tev-hidden {
  display: none !important;
}
.tev-vendor-dispatch-panel.tev-hidden {
  display: none;
}
.tev-wf-next-action {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 12px;
  padding: 14px;
  margin: 12px 0;
}
.tev-wf-next-action h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}
.tev-wf-blockers {
  margin: 8px 0;
  padding-left: 1.2rem;
  color: #b91c1c;
  font-size: 0.85rem;
}
.tev-wf-sla {
  color: #c2410c;
  font-size: 0.88rem;
}
