/* Схемы объясняют обмен сообщениями и данными; это не скриншоты кабинета. */
.crm-page .conversation-route {
  display: grid;
  grid-template-columns: 1fr 32px 1fr 32px 1fr;
  align-items: center;
  border-block: 1px solid var(--line);
  padding-block: 24px;
  gap: 16px;
}
.crm-page .conversation-route > div {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 6px;
}
.crm-page .conversation-route strong {
  font-size: 18px;
  font-weight: 600;
}
.crm-page .conversation-route div > span:last-child {
  font-size: 12px;
  color: var(--muted);
}
.crm-page .visual-symbol {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: #376cc3;
  background: #eaf1fd;
  font-size: 22px;
  font-weight: 600;
}
.crm-page .route-arrow {
  color: #8c9cba;
  font-size: 26px;
  text-align: center;
}
.crm-page .visual-caption {
  max-width: 850px;
  margin: 16px 0 32px;
  font-size: 14px;
  color: var(--muted);
}
.crm-page .field-flow {
  margin: 0;
}
.crm-page .field-flow-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  border: 1px solid #dce5f2;
  border-radius: 12px;
  overflow: hidden;
}
.crm-page .field-source {
  padding: 32px;
  background: #f3f7fd;
}
.crm-page .field-quote {
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.45;
  font-weight: 500;
  margin: 22px 0 30px;
}
.crm-page .field-operation {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 12px;
  color: #536888;
}
.crm-page .field-operation b {
  flex-basis: 100%;
  font-weight: 500;
}
.crm-page .field-destination {
  padding: 28px 32px;
  background: #fff;
}
.crm-page .field-destination-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
}
.crm-page .field-destination dl {
  margin-block: 22px;
}
.crm-page .field-destination dl > div {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 20px;
  border-top: 1px solid #e8edf4;
  padding-block: 12px;
  font-size: 14px;
}
.crm-page .field-destination dt {
  color: var(--muted);
}
.crm-page .field-destination dd {
  margin: 0;
  font-weight: 500;
}
.crm-page .field-stages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #65748b;
}
.crm-page .field-stages b {
  background: #eaf1fd;
  color: #315b9b;
  padding: 5px 9px;
  font-weight: 500;
}
.crm-page .field-flow figcaption {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}
.crm-page .agent-flow {
  list-style: none;
  padding: 0;
  margin: 0;
}
.crm-page .agent-flow li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 20px;
  position: relative;
  padding-bottom: 30px;
}
.crm-page .agent-flow li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 38px;
  bottom: 0;
  border-left: 1px solid #b6c8e4;
}
.crm-page .agent-step {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #b6c8e4;
  border-radius: 50%;
  background: #f3f7fd;
  color: #476ba4;
  font-size: 12px;
}
.crm-page .agent-flow h3 {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin: 4px 0 8px;
  font-weight: 600;
}
.crm-page .agent-flow p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 14px;
}
.crm-page .knowledge-files {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.crm-page .knowledge-files span {
  border: 1px solid #dce5f2;
  border-radius: 3px;
  padding: 10px 12px 10px 24px;
  background: linear-gradient(90deg, #eaf1fd 7px, white 7px);
  font-size: 12px;
}
.crm-page .agent-action {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 12px;
  border: 1px solid #dce5f2;
  border-radius: 4px;
  font-size: 12px;
}
.crm-page .agent-action strong {
  color: #315b9b;
  font-weight: 500;
}
.crm-page .agent-handoff {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding: 12px;
  border-left: 2px solid #e5a75b;
  background: #fff8ee;
  font-size: 12px;
}
.crm-page .agent-handoff strong {
  flex-basis: 100%;
  padding-left: 22px;
  font-weight: 500;
  color: #876025;
}
.crm-page .proof-checkpoints {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block: 24px;
}
.crm-page .proof-checkpoints span {
  padding: 8px 10px;
  border: 1px solid #dce5f2;
  border-radius: 4px;
  font-size: 12px;
  background: #fff;
}
.crm-page .proof-checkpoints span::before {
  content: "✓";
  color: #476ba4;
  margin-right: 6px;
}
.crm-page .catalog-process {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  border-left: 1px solid #b6c8e4;
}
.crm-page .catalog-process li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px -15px;
}
.crm-page .catalog-process span {
  background: white;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #b6c8e4;
  border-radius: 50%;
  font-size: 11px;
  color: #476ba4;
  flex-shrink: 0;
}
.crm-page .catalog-process b {
  font-size: 16px;
  font-weight: 500;
}
@media (max-width: 680px) {
  .crm-page .conversation-route {
    grid-template-columns: 1fr 18px 1fr 18px 1fr;
    gap: 4px;
  }
  .crm-page .conversation-route strong {
    font-size: 13px;
  }
  .crm-page .conversation-route div > span:last-child {
    font-size: 10px;
  }
  .crm-page .route-arrow {
    font-size: 18px;
  }
  .crm-page .field-flow-grid {
    grid-template-columns: 1fr;
  }
  .crm-page .field-source,
  .crm-page .field-destination {
    padding: 22px 20px;
  }
  .crm-page .field-quote {
    margin-block: 18px;
  }
  .crm-page .field-destination dl > div {
    font-size: 13px;
    gap: 12px;
  }
  .crm-page .agent-flow li {
    grid-template-columns: 32px 1fr;
    gap: 12px;
  }
  .crm-page .agent-flow li:not(:last-child)::before {
    left: 15px;
    top: 32px;
  }
  .crm-page .agent-step {
    width: 32px;
    height: 32px;
  }
  .crm-page .agent-flow h3 {
    font-size: 19px;
  }
  .crm-page .catalog-process {
    margin-left: 15px;
  }
}
