.flow-step h5 {
  margin: 10px 0;
  color: #163f62;
  font-size: 0.84rem;
  line-height: 1.35;
}

.flow-step dl {
  display: grid;
  gap: 5px;
  margin: 0;
}

.flow-step dl div {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 7px;
  font-size: 0.68rem;
}

.flow-step dt {
  color: #80909b;
}

.flow-step dd {
  margin: 0;
  color: #40596b;
  font-weight: 700;
}

.step-agent {
  margin-top: 11px;
  padding-top: 9px;
  border-top: 1px solid #e8edf0;
}

.step-agent > span,
.agent-initials {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #dce9f1;
  color: #164b75;
  font-size: 0.68rem;
  font-weight: 800;
}

.step-agent div {
  display: grid;
}

.step-agent small {
  color: #957027;
}

.step-agent.operational small {
  color: #17805b;
}

.agent-directory {
  flex: 0 0 285px;
  border: 1px solid #d8e1e7;
  background: white;
}

.agent-directory header {
  padding: 18px;
  border-bottom: 1px solid #e0e7eb;
}

.agent-directory > div {
  max-height: 690px;
  overflow: auto;
}

.directory-agent {
  align-items: flex-start;
  padding: 14px;
  border-bottom: 1px solid #e7ecef;
}

.directory-agent > div {
  flex: 1;
  min-width: 0;
}

.directory-agent > div > div {
  justify-content: space-between;
}

.directory-agent em {
  color: #9a7225;
  font-size: 0.64rem;
  font-style: normal;
}

.directory-agent em.on {
  color: #17805b;
}

.directory-agent p,
.directory-agent small {
  margin: 4px 0 0;
  color: #70828f;
  font-size: 0.68rem;
}

.flow-legend {
  flex-wrap: wrap;
  padding: 13px 18px;
  border-top: 1px solid #dfe6ea;
  background: white;
}

.flow-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #6b7f8e;
  font-size: 0.68rem;
}

.flow-legend i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #7b95a8;
}

.flow-legend i.agent {
  background: #208565;
}
.flow-legend i.hybrid {
  background: #b3842f;
}
.flow-legend i.gate {
  background: #174973;
}
.coordinator-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid #dbe4e9;
  background: #edf5f9;
}

.coordinator-banner img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.coordinator-banner div {
  display: grid;
  flex: 1;
}

.coordinator-banner small {
  color: #a87824;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.coordinator-banner b {
  color: #153f64;
}

.coordinator-banner span {
  color: #64798a;
  font-size: 0.72rem;
}

.coordinator-banner em {
  color: #987024;
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 800;
}

.coordinator-banner em.on {
  color: #17805b;
}
.agent-room-link {
  display: inline-block;
  margin-top: 7px;
  color: #174973;
  font-size: 0.65rem;
  font-weight: 800;
  text-decoration: underline;
}
