.m-dialog {
  opacity: 0;
  visibility: none;
  pointer-events: none;
  position: fixed;
  inset: 0;
  background: #0006;
  z-index: 3000;
  backdrop-filter: blur(6px);
  transition:
    visibility 0s linear 0.25s,
    opacity 0.25s;
}
.m-dialog.open {
  opacity: 1;
  visibility: visible;
  transition:
    visibility linear,
    opacity 0.25s;
  pointer-events: all;
}
.m-dialog.open .content {
  transform: translate(0);
  transition:
    visibility linear,
    opacity 0.25s,
    transform 0.25s,
    transform 0.25s;
}
.m-dialog .dialog-wrap {
  height: 100%;
  width: 100%;
  padding: var(--spacing2);
  text-align: center;
  display: flex;
  align-items: center;
}
@media (min-width: 1200px) {
  .m-dialog .dialog-wrap {
    padding: var(--spacing5);
  }
}
.m-dialog .content {
  background-color: var(--SysLightSurface);
  border-radius: 28px;
  max-width: 1128px;
  position: relative;
  width: 100%;
  text-align: left;
  vertical-align: middle;
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(-50px);
  transition:
    transform 0.25s,
    transform 0.25s;
}
.m-dialog .top {
  padding: 20px 16px 0;
}
.m-dialog .top .headline {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 905px) {
  .m-dialog .top {
    padding: 40px 72px 0;
  }
}
@media (min-width: 1200px) {
  .m-dialog .top {
    padding: 40px 90px 0;
  }
}
.m-dialog .mid {
  flex: 1 auto;
  overflow: hidden;
}
.m-dialog .mid .scrollable {
  height: calc(100% - 12px);
  overflow-x: hidden;
  padding: 8px 32px 24px;
  margin-top: 12px;
}
@media (min-width: 600px) {
  .m-dialog .mid .scrollable {
    padding-left: 72px;
    padding-right: 72px;
  }
}
@media (min-width: 905px) {
  .m-dialog .mid .scrollable {
    padding-left: 72px;
    padding-right: 72px;
  }
}
@media (min-width: 1200px) {
  .m-dialog .mid .scrollable {
    padding-left: 90px;
    padding-right: 90px;
  }
}
.m-dialog .bottom {
  background-color: #e2e4e9;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  padding: 24px;
}
.m-dialog .close {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  cursor: pointer;
  align-items: center;
}
@media (min-width: 600px) {
  .m-dialog .close {
    top: 22px;
    right: 26px;
  }
}
.m-dialog .close svg,
.m-dialog .close img,
.m-dialog .close span {
  display: block;
}
html.dialog-opened {
  overflow: hidden;
}
html .simplebar-track.simplebar-vertical {
  width: 15px;
}
html .simplebar-scrollbar:before {
  right: 5px;
}
[data-simplebar] {
  position: relative;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: flex-start;
  align-items: flex-start;
}
.simplebar-wrapper {
  overflow: hidden;
  width: inherit;
  height: inherit;
  max-width: inherit;
  max-height: inherit;
}
.simplebar-mask {
  direction: inherit;
  position: absolute;
  overflow: hidden;
  padding: 0;
  margin: 0;
  inset: 0;
  width: auto !important;
  height: auto !important;
  z-index: 0;
}
.simplebar-offset {
  direction: inherit !important;
  box-sizing: inherit !important;
  resize: none !important;
  position: absolute;
  inset: 0;
  padding: 0;
  margin: 0;
  -webkit-overflow-scrolling: touch;
}
.simplebar-content-wrapper {
  direction: inherit;
  box-sizing: border-box !important;
  position: relative;
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.simplebar-content-wrapper::-webkit-scrollbar,
.simplebar-hide-scrollbar::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.simplebar-content:after,
.simplebar-content:before {
  content: ' ';
  display: table;
}
.simplebar-placeholder {
  max-height: 100%;
  max-width: 100%;
  width: 100%;
  pointer-events: none;
}
.simplebar-height-auto-observer-wrapper {
  box-sizing: inherit !important;
  height: 100%;
  width: 100%;
  max-width: 1px;
  position: relative;
  float: left;
  max-height: 1px;
  overflow: hidden;
  z-index: -1;
  padding: 0;
  margin: 0;
  pointer-events: none;
  flex-grow: inherit;
  flex-shrink: 0;
  flex-basis: 0;
}
.simplebar-height-auto-observer {
  box-sizing: inherit;
  display: block;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 1000%;
  width: 1000%;
  min-height: 1px;
  min-width: 1px;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}
.simplebar-track {
  z-index: 1;
  position: absolute;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}
[data-simplebar].simplebar-dragging,
[data-simplebar].simplebar-dragging .simplebar-content {
  pointer-events: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
[data-simplebar].simplebar-dragging .simplebar-track {
  pointer-events: all;
}
.simplebar-scrollbar {
  position: absolute;
  left: 0;
  right: 0;
  min-height: 10px;
}
.simplebar-scrollbar:before {
  position: absolute;
  content: '';
  background: #000;
  border-radius: 7px;
  left: 2px;
  right: 2px;
  opacity: 0;
  transition: opacity 0.2s 0.5s linear;
}
.simplebar-scrollbar.simplebar-visible:before {
  opacity: 0.5;
  transition-delay: 0s;
  transition-duration: 0s;
}
.simplebar-track.simplebar-vertical {
  top: 0;
  width: 11px;
}
.simplebar-scrollbar:before {
  inset: 2px;
}
.simplebar-track.simplebar-horizontal {
  left: 0;
  height: 11px;
}
.simplebar-track.simplebar-horizontal .simplebar-scrollbar {
  inset: 0 auto 0 0;
  min-height: 0;
  min-width: 10px;
  width: auto;
}
[data-simplebar-direction='rtl'] .simplebar-track.simplebar-vertical {
  right: auto;
  left: 0;
}
.simplebar-dummy-scrollbar-size {
  direction: rtl;
  position: fixed;
  opacity: 0;
  visibility: hidden;
  height: 500px;
  width: 500px;
  overflow-y: hidden;
  overflow-x: scroll;
  -ms-overflow-style: scrollbar !important;
}
.simplebar-dummy-scrollbar-size > div {
  width: 200%;
  height: 200%;
  margin: 10px 0;
}
.simplebar-hide-scrollbar {
  position: fixed;
  left: 0;
  visibility: hidden;
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
