/* Блоки консультации: фото, карточка MAX */

.consultation-photo-panel {
  margin: 12px 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(248, 252, 255, 0.95);
  border: 1px solid rgba(45, 157, 232, 0.16);
}

.consultation-photo-panel__row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.consultation-photo-panel__info {
  flex: 1;
  min-width: 0;
}

.consultation-photo-panel__title {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  color: #1a2e3d;
  letter-spacing: 0.01em;
}

.consultation-photo-panel__zones {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.consultation-photo-panel__zone {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #3d5a72;
  white-space: nowrap;
}

.consultation-photo-panel__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  color: #2a6f9c;
  background: #fff;
  border: 1px solid rgba(45, 157, 232, 0.12);
}

.consultation-photo-panel__icon svg {
  width: 13px;
  height: 13px;
}

.consultation-photo-panel__hint {
  margin: 4px 0 0;
  font-size: 11px;
  line-height: 1.3;
  color: #7a96ab;
}

.consultation-card__max-group {
  margin: 12px 0;
}

.consultation-card__max-group-label {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b8aa3;
}

.max-channel-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(45, 157, 232, 0.18);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.max-channel-card:hover {
  border-color: rgba(45, 157, 232, 0.35);
  box-shadow: 0 4px 14px rgba(45, 157, 232, 0.1);
}

.max-channel-card__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.18);
}

.max-channel-card__icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.max-channel-card__body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}

.max-channel-card__eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #7a96ab;
}

.max-channel-card__name {
  font-size: 13px;
  font-weight: 700;
  color: #1a2e3d;
  line-height: 1.2;
}

.max-channel-card__arrow {
  flex-shrink: 0;
  font-size: 15px;
  color: #2d9de8;
  line-height: 1;
}

.max-channel-card--compact {
  flex-shrink: 0;
  width: min(100%, 220px);
  margin: 0;
}

.max-chat-preview {
  flex-shrink: 0;
  width: min(100%, 248px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(45, 157, 232, 0.16);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.max-chat-preview:hover {
  border-color: rgba(45, 157, 232, 0.32);
  box-shadow: 0 4px 14px rgba(45, 157, 232, 0.1);
}

.max-chat-preview__action {
  display: block;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 600;
  color: #4a6f88;
}

.max-chat-preview__recipient {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.max-chat-preview__app {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.2);
}

.max-chat-preview__app img {
  display: block;
  width: 100%;
  height: 100%;
}

.max-chat-preview__avatar {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(45, 157, 232, 0.14);
}

.max-chat-preview__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.max-chat-preview__avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #2a6f9c;
  background: linear-gradient(145deg, #eef7ff, #e8f6ef);
}

.max-chat-preview__meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  flex: 1;
}

.max-chat-preview__name {
  font-size: 13px;
  font-weight: 700;
  color: #1a2e3d;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.max-chat-preview__via {
  font-size: 10px;
  line-height: 1.2;
  color: #7a96ab;
}

.max-chat-preview__arrow {
  flex-shrink: 0;
  font-size: 15px;
  color: #2d9de8;
  line-height: 1;
}

.about-consultation .consultation-photo-panel {
  margin-top: 14px;
}

.application-individual .consultation-photo-panel {
  margin: 12px 0 14px;
}

.consultation-form__steps {
  margin: 12px 0 0;
  padding: 0 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: #3d5a72;
}

.consultation-form__steps li {
  padding-left: 2px;
}

.consultation-form__steps li::marker {
  color: #2d9de8;
  font-weight: 700;
}

@media (max-width: 640px) {
  .consultation-photo-panel__row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .max-chat-preview {
    width: 100%;
  }
}
