* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: #f2f2f2;
  font-family: "Nunito", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.page-wrap {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
}

#work-container {
  position: static !important;
  height: auto !important;
  overflow: visible !important;
}

.stage {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.element-wrapper { box-sizing: border-box; }
.animation-container { position: relative; }

img.unselect {
  display: block;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

/* Rich-text blocks (originally rendered by the Quill editor) */
.ql-editor { word-wrap: break-word; }
.ql-editor p { margin: 0; }
.ql-editor .ql-align-justify { text-align: justify; }
.ql-editor .ql-align-center { text-align: center; }

/* Form styling (originally rendered by Vant) */
.van-form { font-family: inherit; }
.form-inner { height: 100%; display: flex; flex-direction: column; }
.van-cell {
  padding: 0;
}
.van-field__control--custom input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.required { position: relative; }
.required::before {
  content: '*';
  color: #ee0a24;
  position: absolute;
  left: -10px;
  top: 10px;
  font-size: 14px;
}
.van-button {
  cursor: default;
  font-family: inherit;
  height: 40px;
}
.van-button__content {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

button.el, .van-button, button[data-uuid] {
  cursor: default;
}
