@import '~codemirror/lib/codemirror.css';
@import '~codemirror/theme/neat.css';
@import '~codemirror/theme/material.css';
@import '~codemirror/theme/idea.css';
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors */
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
.c7n-pro-code-area {
  height: auto !important;
}
.c7n-pro-code-area-wrapper {
  position: relative;
}
.c7n-pro-code-area-header {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  min-height: 0.28rem;
  padding: 0.04rem 0.12rem;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 0.02rem 0.02rem 0 0;
}
.c7n-pro-code-area-header-title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  color: rgba(0, 0, 0, 0.85);
  font-weight: 400;
  font-size: 0.14rem;
}
div.c7n-pro-code-area-header-title:nth-last-child(2) {
  padding-right: 0.6rem;
}
.c7n-pro-code-area-header-switch {
  position: absolute;
  right: 0.12rem;
}
.c7n-pro-code-area-header-switch .icon {
  color: #3f51b5;
  font-size: 0.14rem;
}
.c7n-pro-code-area-header-dark {
  background: #141414;
}
.c7n-pro-code-area-header-dark .c7n-pro-code-area-header-title {
  color: #FFF;
}
.c7n-pro-code-area-header-dark .c7n-pro-code-area-header-switch .c7n-pro-switch-label {
  background: #5a5a5a;
}
.c7n-pro-code-area-header-dark .c7n-pro-code-area-header-switch .icon {
  color: #9c9c9c;
}
.c7n-pro-code-area .CodeMirror {
  display: block;
  width: 100%;
  border: 0.01rem solid #e0e0e0;
  border-radius: 0 0 0.02rem 0.02rem;
}
.c7n-pro-code-area-dark .CodeMirror {
  border: unset;
}
.c7n-pro-code-area:hover .CodeMirror {
  border-color: #6374c2;
}
.c7n-pro-code-area .CodeMirror-focused {
  border-color: #b6bfdb;
  -webkit-box-shadow: none;
          box-shadow: none;
}
.c7n-pro-code-area-required-colors .CodeMirror,
.c7n-pro-code-area-required-colors:hover .CodeMirror {
  border-color: #d9d9d9;
}
.c7n-pro-code-area-required-colors .CodeMirror-focused {
  border-color: #d9d9d9;
  outline: 0;
  -webkit-box-shadow: none;
          box-shadow: none;
}
.c7n-pro-code-area-invalid .CodeMirror,
.c7n-pro-code-area-invalid:hover .CodeMirror,
.c7n-pro-code-area-invalid .CodeMirror-focused {
  border-color: #d50000;
  -webkit-box-shadow: none;
          box-shadow: none;
}
.c7n-pro-code-area-float-label .c7n-pro-field-label {
  padding: 0;
  overflow: hidden;
  color: inherit;
  font-weight: 400;
  line-height: 0.34rem;
  white-space: nowrap;
  text-overflow: ellipsis;
  vertical-align: middle;
  -webkit-transform-origin: inherit;
      -ms-transform-origin: inherit;
          transform-origin: inherit;
  -webkit-transition: inherit;
  transition: inherit;
}
.c7n-pro-code-area-float-label .c7n-pro-field-label-wrapper {
  position: absolute;
  top: 0;
  left: 0.1rem;
  max-width: 98%;
  height: 0;
  margin-left: -0.05rem;
  padding: 0 0.05rem;
  border-top: 0.02rem solid #fff;
  -webkit-transform-origin: 0.1rem -230%;
      -ms-transform-origin: 0.1rem -230%;
          transform-origin: 0.1rem -230%;
  -webkit-transition: all 0.2s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: all 0.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.c7n-pro-code-area-float-label .c7n-pro-field-label::after {
  width: 0;
}
.c7n-pro-code-area-float-label .c7n-pro-field-label.c7n-pro-field-required::after {
  display: inline-block;
  width: 0.08rem;
  margin-left: 0.04rem;
  color: #d50000;
  font-family: SimSun, sans-serif;
  line-height: 1;
  vertical-align: middle;
  content: '*';
}
.c7n-pro-code-area-float-label.c7n-pro-code-area-focused .c7n-pro-field-label {
  color: #3f51b5;
}
.c7n-pro-code-area-float-label.c7n-pro-code-area-invalid .c7n-pro-field-label {
  color: #d50000;
}
.c7n-pro-code-area-float-label .c7n-pro-field-label-wrapper,
.c7n-pro-code-area-float-label .c7n-pro-code-area:focus + .c7n-pro-field-label-wrapper {
  -webkit-transform: scaleX(0.8);
      -ms-transform: scaleX(0.8);
          transform: scaleX(0.8);
}
.c7n-pro-code-area-float-label .c7n-pro-code-area:-webkit-autofill + .c7n-pro-field-label-wrapper {
  -webkit-transform: scaleX(0.8);
          transform: scaleX(0.8);
}
.c7n-pro-code-area-float-label .c7n-pro-field-label,
.c7n-pro-code-area-float-label.c7n-pro-code-area-focused .c7n-pro-field-label {
  font-weight: 500;
  font-size: 0.15rem;
  -webkit-transform: scaleY(0.8);
      -ms-transform: scaleY(0.8);
          transform: scaleY(0.8);
}
.c7n-pro-code-area-float-label .c7n-pro-code-area:-webkit-autofill + .c7n-pro-field-label-wrapper .c7n-pro-field-label {
  font-weight: 500;
  font-size: 0.15rem;
  -webkit-transform: scaleY(0.8);
          transform: scaleY(0.8);
}
.c7n-pro-code-area-float-label:not(.c7n-pro-code-area-empty) .c7n-pro-field-label,
.c7n-pro-code-area-float-label.c7n-pro-code-area-focused .c7n-pro-field-label {
  padding: 0rem;
  line-height: 0.34rem;
  background-color: unset;
}
.c7n-pro-code-area-float-label:not(.c7n-pro-code-area-multiple) .c7n-pro-code-area {
  height: 0.36rem;
  border-radius: 0.05rem;
}
.c7n-pro-code-area-float-label .c7n-pro-code-area {
  min-height: 0.36rem;
  border-radius: 0.05rem;
}
.c7n-pro-code-area-float-label.c7n-pro-code-area-sm:not(.c7n-pro-code-area-multiple) .c7n-pro-code-area {
  height: 0.3rem;
}
.c7n-pro-code-area-float-label.c7n-pro-code-area-sm .c7n-pro-field-label {
  line-height: 0.28rem;
}
.c7n-pro-code-area-float-label.c7n-pro-code-area-lg:not(.c7n-pro-code-area-multiple) .c7n-pro-code-area {
  height: 0.4rem;
}
.c7n-pro-code-area-float-label.c7n-pro-code-area-lg .c7n-pro-field-label {
  line-height: 0.38rem;
}
.c7n-pro-code-area-float-label.c7n-pro-code-area-lg:not(.c7n-pro-code-area-multiple) textarea.c7n-pro-code-area,
.c7n-pro-code-area-float-label.c7n-pro-code-area-sm:not(.c7n-pro-code-area-multiple) textarea.c7n-pro-code-area,
.c7n-pro-code-area-float-label:not(.c7n-pro-code-area-multiple) textarea.c7n-pro-code-area,
.c7n-pro-code-area-float-label textarea.c7n-pro-code-area {
  height: auto;
}
.c7n-pro-code-area-float-label.c7n-pro-code-area-required-colors {
  background-color: #fff;
}
.c7n-pro-code-area-float-label.c7n-pro-code-area-invalid {
  background-color: #fff;
}
.c7n-pro-code-area-float-label.c7n-pro-code-area-disabled {
  background-color: #fff;
}
.c7n-pro-code-area-float-label.c7n-pro-code-area-required .c7n-pro-field-label::after {
  width: 0.08rem;
}
.c7n-pro-code-area-empty:not(.c7n-pro-code-area-focused) .c7n-pro-field-label {
  font-weight: inherit;
  font-size: inherit;
  -webkit-transform: none;
      -ms-transform: none;
          transform: none;
  pointer-events: none;
}
.c7n-pro-code-area-empty:not(.c7n-pro-code-area-focused) .c7n-pro-field-label-wrapper {
  border-top-color: transparent;
  -webkit-transform: none;
      -ms-transform: none;
          transform: none;
}
.c7n-pro-code-area-float-label .c7n-pro-code-area > ul {
  margin: 0 0 0 0.03rem;
  padding: 0.07rem 0;
}
.c7n-pro-code-area-float-label .c7n-pro-code-area > ul > li {
  height: 0.2rem;
  margin-top: 0.01rem;
  margin-bottom: 0.01rem;
  line-height: 0.2rem;
}
.c7n-pro-code-area-float-label .c7n-pro-code-area-multiple-block {
  padding: 0 0.02rem 0 0.08rem;
  border-radius: 0.12rem;
}
.c7n-pro-code-area-float-label .c7n-pro-code-area-multiple-block .icon {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.16rem;
  line-height: 0.2rem;
  vertical-align: top;
}
.c7n-pro-code-area-float-label .c7n-pro-code-area-multiple-block .icon:hover {
  color: inherit;
}
.c7n-pro-code-area-prefix-button.c7n-pro-code-area-float-label .c7n-pro-field-label-wrapper {
  left: 0.24rem;
}
.c7n-pro-code-area-float-label .c7n-pro-code-area {
  border: none;
}
.c7n-pro-code-area-float-label::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  border: 0.01rem none #d9d9d9;
  border-radius: 0.05rem;
  content: ' ';
}
.c7n-pro-code-area-float-label.c7n-pro-code-area-required-colors::before {
  border-color: #d9d9d9;
}
.c7n-pro-code-area-float-label.c7n-pro-code-area-highlight::before {
  border-color: #47B881;
}
.c7n-pro-code-area-float-label.c7n-pro-code-area-focused::before,
.c7n-pro-code-area-float-label.c7n-pro-code-area-invalid::before {
  border-width: 0.02rem;
}
.c7n-pro-code-area-float-label:hover:not(.c7n-pro-code-area-disabled):not(.c7n-pro-code-area-focused):not(.c7n-pro-code-area-invalid)::before {
  border-color: #000000;
}
.c7n-pro-code-area-float-label.c7n-pro-code-area-required-colors:hover:not(.c7n-pro-code-area-disabled):not(.c7n-pro-code-area-focused):not(.c7n-pro-code-area-invalid)::before {
  border-color: #000000;
}
.c7n-pro-code-area-float-label.c7n-pro-code-area-required-colors.c7n-pro-code-area-focused:not(.c7n-pro-code-area-disabled):not(.c7n-pro-code-area-invalid)::before {
  border-color: #b6bfdb;
}
.c7n-pro-code-area-float-label.c7n-pro-code-area-focused::before {
  border-color: #b6bfdb;
}
.c7n-pro-code-area-float-label.c7n-pro-code-area-invalid::before {
  border-color: #d50000;
}
.c7n-pro-code-area-float-label.c7n-pro-code-area-disabled i {
  color: rgba(0, 0, 0, 0.54);
}
.c7n-pro-code-area-float-label.c7n-pro-code-area-disabled::before {
  border-color: #d9d9d9;
  border-style: dashed;
}
.c7n-pro-code-area-float-label.c7n-pro-code-area-disabled .c7n-pro-code-area,
.c7n-pro-code-area-float-label.c7n-pro-code-area-disabled .c7n-pro-code-area:hover {
  background-color: transparent;
}
.c7n-pro-code-area-group-input:not(:last-child) .c7n-pro-code-area-float-label::before {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.c7n-pro-code-area-group-input:not(:first-child) .c7n-pro-code-area-float-label::before {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.c7n-pro-code-area-float-label-group .c7n-pro-code-area-group-before,
.c7n-pro-code-area-float-label-group .c7n-pro-code-area-group-after,
.c7n-pro-code-area-float-label-group .c7n-pro-code-area-group-help {
  border-radius: 0.05rem;
}
.c7n-pro-code-area-float-label .c7n-pro-code-area:-webkit-autofill {
  height: calc(0.36rem - 0.02rem * 2);
  margin: 0.02rem;
  padding-left: calc(0.1rem - 0.02rem);
  border-radius: 0.05rem;
}
.c7n-pro-code-area-float-label.c7n-pro-code-area-sm .c7n-pro-code-area:-webkit-autofill {
  height: calc(0.3rem - 0.02rem * 2);
}
.c7n-pro-code-area-float-label.c7n-pro-code-area-lg .c7n-pro-code-area:-webkit-autofill {
  height: calc(0.4rem - 0.02rem * 2);
}
.c7n-pro-code-area-float-label textarea.c7n-pro-code-area:-webkit-autofill {
  height: auto;
}
.c7n-pro-code-area-prefix-button.c7n-pro-code-area-float-label .c7n-pro-code-area:-webkit-autofill {
  padding-left: calc(0.24rem - 0.02rem);
}
.c7n-pro-code-area-float-label {
  padding: 0.01rem;
}
.c7n-pro-code-area-float-label::before {
  z-index: 7;
  pointer-events: none;
}
.c7n-pro-code-area-float-label .c7n-pro-field-label-wrapper {
  z-index: 7;
  margin-left: 30px;
}
.c7n-pro-code-area-disabled .CodeMirror,
.c7n-pro-code-area-disabled:hover .CodeMirror,
.c7n-pro-code-area-disabled .CodeMirror-focused {
  border-color: #d9d9d9;
  -webkit-box-shadow: none;
          box-shadow: none;
}
