.fes-drawer {
  margin: 0;
  padding: 0;
  outline: none;
  color: var(--f-text-color);
  font-size: var(--f-font-size-base);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  font-variant: tabular-nums;
  line-height: 22px;
  font-feature-settings: 'tnum';
}
.fes-drawer-open {
  position: fixed;
  overflow: hidden;
}
.fes-drawer-mask {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  background: var(--f-mask-color);
}
.fes-drawer-container {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  cursor: not-allowed;
  pointer-events: auto;
}
.fes-drawer-container.fes-drawer-no-header .fes-drawer-wrapper {
  padding-top: var(--f-padding-large);
}
.fes-drawer-container.fes-drawer-operable {
  cursor: auto;
  pointer-events: none;
}
.fes-drawer-container.fes-drawer-mask-closable {
  cursor: auto;
}
.fes-drawer-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  background: var(--f-body-bg-color);
  border-radius: var(--f-border-radius-base);
  box-shadow: 0 2px var(--f-shadow-radius) var(--f-shadow-color);
  cursor: auto;
  pointer-events: auto;
}
.fes-drawer-header {
  position: relative;
  display: flex;
  align-items: center;
  padding: var(--f-padding-middle) calc(var(--f-padding-middle) + var(--f-padding-xsmall));
  color: var(--f-head-color);
  font-weight: 500;
  font-size: calc(var(--f-font-size-base) + 2px);
  border-bottom: var(--f-border-width-base) var(--f-border-style-base) var(--f-border-color-split);
}
.fes-drawer-header .fes-drawer-close {
  top: auto;
  line-height: 0;
}
.fes-drawer-body-wrapper {
  flex: 1;
}
.fes-drawer-body-container {
  box-sizing: border-box;
  padding: var(--f-padding-middle) calc(var(--f-padding-middle) + var(--f-padding-xsmall));
  color: var(--f-sub-head-color);
  font-size: var(--f-font-size-base);
}
.fes-drawer-footer {
  padding: var(--f-padding-middle) calc(var(--f-padding-middle) + var(--f-padding-xsmall));
  text-align: left;
}
.fes-drawer-footer .btn-margin {
  margin-right: var(--f-padding-middle);
}
.fes-drawer-footer-has-border {
  border-top: var(--f-border-width-base) var(--f-border-style-base) var(--f-border-color-split);
}
.fes-drawer-close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0 var(--f-padding-large);
  color: var(--f-sub-head-color);
  font-size: calc(var(--f-font-size-base) + 2px);
  line-height: 40px;
  cursor: pointer;
}
.fes-drawer-mask-fade-leave-active,
.fes-drawer-mask-fade-enter-active {
  transition: opacity 0.3s cubic-bezier(0.9, 0, 0.3, 0.7);
}
.fes-drawer-mask-fade-leave-to,
.fes-drawer-mask-fade-enter-from {
  opacity: 0;
}
.fes-drawer-fade-leave-active,
.fes-drawer-fade-enter-active {
  transition: all 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);
}
.fes-drawer-top .fes-drawer-fade-leave-to,
.fes-drawer-top .fes-drawer-fade-enter-from {
  transform: translateY(-100%);
}
.fes-drawer-top .fes-drawer-container {
  align-items: flex-start;
}
.fes-drawer-top .fes-drawer-wrapper {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.fes-drawer-right .fes-drawer-fade-leave-to,
.fes-drawer-right .fes-drawer-fade-enter-from {
  transform: translateX(100%);
}
.fes-drawer-right .fes-drawer-container {
  justify-content: flex-end;
}
.fes-drawer-right .fes-drawer-wrapper {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.fes-drawer-bottom .fes-drawer-fade-leave-to,
.fes-drawer-bottom .fes-drawer-fade-enter-from {
  transform: translateY(100%);
}
.fes-drawer-bottom .fes-drawer-container {
  align-items: flex-end;
}
.fes-drawer-bottom .fes-drawer-wrapper {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.fes-drawer-left .fes-drawer-fade-leave-to,
.fes-drawer-left .fes-drawer-fade-enter-from {
  transform: translateX(-100%);
}
.fes-drawer-left .fes-drawer-container {
  justify-content: start;
}
.fes-drawer-left .fes-drawer-wrapper {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.fes-drawer-drag {
  position: absolute;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fes-drawer-drag > .fes-drawer-drag-icon {
  display: flex;
  justify-content: space-between;
  width: 6px;
  height: 16px;
}
.fes-drawer-drag > .fes-drawer-drag-icon::before,
.fes-drawer-drag > .fes-drawer-drag-icon::after {
  width: 2px;
  height: 100%;
  background-color: var(--f-text-color-disabled);
  border-radius: 2px;
  content: '';
}
.fes-drawer-drag-top > .fes-drawer-drag-icon,
.fes-drawer-drag-bottom > .fes-drawer-drag-icon {
  transform: rotate(90deg);
}
.fes-drawer-drag-left,
.fes-drawer-drag-right {
  width: calc(6px + 4px * 2);
  height: 100%;
  cursor: col-resize;
}
.fes-drawer-drag-left {
  top: 0;
  right: 0;
}
.fes-drawer-drag-right {
  top: 0;
  left: 0;
}
.fes-drawer-drag-top,
.fes-drawer-drag-bottom {
  width: 100%;
  height: calc(6px + 4px * 2);
  cursor: row-resize;
}
.fes-drawer-drag-top {
  bottom: 0;
  left: 0;
}
.fes-drawer-drag-bottom {
  top: 0;
  left: 0;
}
