.mdy-consult {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  color: #1d2f46;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

.mdy-consult button,
.mdy-consult a {
  font: inherit;
  letter-spacing: 0;
}

.mdy-consult-trigger {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 178px;
  height: 68px;
  padding: 0 14px 0 18px;
  border: 1px solid #d9e2f2;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(11, 35, 71, 0.18);
  color: #1d2f46;
  cursor: pointer;
}

.mdy-consult-trigger > span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.mdy-consult-trigger strong {
  font-size: 17px;
  font-weight: 600;
}

.mdy-consult-trigger small {
  margin-top: 3px;
  color: #68758a;
  font-size: 12px;
}

.mdy-consult-trigger i {
  position: relative;
  width: 38px;
  height: 38px;
  border: 3px solid #2f67dd;
  border-radius: 50%;
}

.mdy-consult-trigger i::before,
.mdy-consult-trigger i::after {
  content: "";
  position: absolute;
  top: 14px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f28b18;
}

.mdy-consult-trigger i::before { left: 8px; }
.mdy-consult-trigger i::after { right: 8px; }

.mdy-consult-panel {
  width: 360px;
  overflow: hidden;
  border: 1px solid #d9e2f2;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(11, 35, 71, 0.22);
}

.mdy-consult-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: #1f55c8;
  color: #fff;
}

.mdy-consult-header div {
  display: flex;
  flex-direction: column;
}

.mdy-consult-header strong { font-size: 18px; line-height: 1.3; }
.mdy-consult-header span { margin-top: 3px; font-size: 13px; opacity: 0.84; }

.mdy-consult-close {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 24px;
  line-height: 28px;
  cursor: pointer;
}

.mdy-consult-body { padding: 18px; }

.mdy-consult-qr-row {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  align-items: center;
}

.mdy-consult-qr-row img {
  display: block;
  width: 132px;
  height: 132px;
  object-fit: contain;
  border: 1px solid #e2e8f0;
  background: #fff;
}

.mdy-consult-qr-row strong { display: block; font-size: 16px; }
.mdy-consult-qr-row p { margin: 9px 0 0; color: #64748b; font-size: 13px; line-height: 1.65; }

.mdy-consult-context {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 16px;
  padding: 12px 14px;
  border-left: 3px solid #2f67dd;
  border-radius: 6px;
  background: #eef4ff;
}

.mdy-consult-context span { color: #64748b; font-size: 12px; }
.mdy-consult-context strong { font-size: 14px; line-height: 1.5; }

.mdy-consult-phone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding: 13px 14px;
  border-radius: 8px;
  background: #f4f7fc;
}

.mdy-consult-phone span { color: #64748b; font-size: 13px; }
.mdy-consult-phone a { color: #153b89; font-size: 18px; text-decoration: none; }

.mdy-consult-copy-info {
  width: 100%;
  height: 38px;
  margin-top: 12px;
  border: 1px solid #2f67dd;
  border-radius: 6px;
  background: #eef4ff;
  color: #1f55c8;
  cursor: pointer;
}

.mdy-consult-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.mdy-consult-actions a,
.mdy-consult-actions button {
  height: 38px;
  border: 1px solid #cbd7ec;
  border-radius: 6px;
  background: #fff;
  color: #1f55c8;
  line-height: 36px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.mdy-consult-actions a {
  border-color: #2f67dd;
  background: #2f67dd;
  color: #fff;
}

.mdy-consult-status {
  min-height: 20px;
  margin: 8px 0 0;
  color: #178a5a;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 700px) {
  .mdy-consult { right: 12px; bottom: 12px; }
  .mdy-consult-panel { width: calc(100vw - 24px); }
  .mdy-consult-qr-row { grid-template-columns: 112px 1fr; gap: 12px; }
  .mdy-consult-qr-row img { width: 112px; height: 112px; }
  .mdy-consult-trigger {
    width: 52px;
    min-width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .mdy-consult-trigger > span { display: none; }
  .mdy-consult-trigger i { width: 34px; height: 34px; }
}
