body.mentor-dialog-open {
  overflow: hidden;
}

.mentor-dialog {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: flex-end;
  justify-content: center;
  background: rgba(15, 23, 42, 0.44);
  padding: 18px 12px 0;
}

.mentor-dialog.is-open {
  display: flex;
}

.mentor-dialog-panel {
  width: min(520px, 100%);
  background: var(--card, #fff);
  border: 1px solid var(--line, #e3e9f2);
  border-radius: 18px 18px 0 0;
  padding: 16px 16px calc(18px + env(safe-area-inset-bottom));
  box-shadow: 0 -14px 40px rgba(15, 23, 42, 0.18);
}

.mentor-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.mentor-dialog-title {
  font-size: 20px;
  line-height: 1.3;
}

.mentor-dialog-close {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: none;
  border-radius: 10px;
  background: #eef3fa;
  color: #475569;
  font: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.mentor-contact-card {
  border: 1px solid var(--line, #e3e9f2);
  border-radius: 14px;
  padding: 14px;
  background: #f8faff;
}

.mentor-contact-label {
  color: var(--sub, #627284);
  font-size: 12px;
  margin-bottom: 4px;
}

.mentor-contact-value {
  color: var(--text, #1f2a37);
  font-size: 23px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.4px;
  overflow-wrap: anywhere;
}

.mentor-dialog-actions {
  margin-top: 12px;
}

.mentor-dialog-actions .btn {
  width: 100%;
}

.mentor-action-status {
  min-height: 20px;
  margin-top: 8px;
  color: var(--sub, #627284);
  font-size: 12px;
  line-height: 1.5;
}

.mentor-action-status.is-success {
  color: var(--ok-text, #0f6a47);
}

.mentor-action-status.is-error {
  color: var(--warn-text, #9a3412);
}
