:root {
  --ui-bg-dark: #333;
}

body.kl-theme-dark {
  color-scheme: dark;
  color: #ccc;
  background: #212121;
}

body.kl-theme-dark .kl-toolspace {
  background: var(--ui-bg-dark);
}

body.kl-theme-dark .kl-toolspace--left {
  border-right: 1px solid #626262;
}

body.kl-theme-dark .kl-toolspace--right {
  border-left: 1px solid #626262;
}

body.kl-theme-dark .kl-toolspace-row {
  background: linear-gradient(to top, #fff0 20%, #ffffff1a 100%);
  box-shadow: 0 1px 1px #252525;
}

body.kl-theme-dark .toolspace-row-button-activated {
  background: #6e6e6e;
}

body.kl-theme-dark .toolspace-row-button-hover {
  background: #535353;
}

body.kl-theme-dark .toolspace-row-button:active {
  background: #585858;
}

body.kl-theme-dark .toolspace-svg-triangle-button-hover {
  fill: #535353;
}

body.kl-theme-dark .toolspace-svg-triangle-button:active {
  fill: #585858;
}

body.kl-theme-dark .toolspace-row-button__submit:hover {
  background: #5786ff;
}

body.kl-theme-dark .tabrow {
  background: none;
  border-bottom: 1px solid #6e6e6e;
}

body.kl-theme-dark .tabrow__tab {
  color: #fff;
}

body.kl-theme-dark .tabrow__tab--opened, body.kl-theme-dark .tabrow__tab--opened-accented {
  background-color: #6e6e6e;
}

body.kl-theme-dark .tabrow__tab div, body.kl-theme-dark .tabrow__tab:after, body.kl-theme-dark .tabrow__tab:before {
  filter: brightness(.45);
}

body.kl-theme-dark .tabrow__tab:not(.tabrow__tab--opened, .tabrow__tab--opened-accented):hover {
  background-color: #535353;
}

body.kl-theme-dark .tabrow__tab:active:not(.tabrow__tab--opened-accented, .tabrow__tab--opened) {
  background-color: #585858;
  box-shadow: inset 2px 2px 10px #0003;
}

body.kl-theme-dark .kl-tool-row-border-right {
  border-right: 1px solid #303030;
}

body.kl-theme-dark .tool-dropdown-wrapper {
  background-color: #5e5e5e;
}

body.kl-theme-dark .tool-dropdown-button:hover {
  background: gray;
}

body.kl-theme-dark .kl-popup {
  background: #212121a1;
}

body.kl-theme-dark .kl-popup-box {
  background-color: var(--ui-bg-dark);
  box-shadow: 0 0 0 1px #636363;
}

body.kl-theme-dark .kl-d-modal-root {
  background: #212121a1;
}

body.kl-theme-dark .kl-d-modal {
  background-color: var(--ui-bg-dark);
  box-shadow: 0 0 0 1px #636363;
}

body.kl-theme-dark button {
  color: #ccc;
  box-shadow: none;
  -webkit-user-select: none;
  user-select: none;
  background-color: #4a4a4a;
  background-image: none;
}

body.kl-theme-dark button:hover {
  color: #eee;
  background-color: #555;
}

body.kl-theme-dark button:active {
  color: #fff;
  background-color: #555;
  box-shadow: 0 0 0 1px #fff3;
}

body.kl-theme-dark button:disabled {
  color: #999;
  pointer-events: none;
  background-color: #0000;
  background-image: none;
  box-shadow: 0 0 0 1px #0000001a;
}

body.kl-theme-dark .kl-button-primary {
  background: var(--kl-color);
  color: #fff;
}

body.kl-theme-dark .kl-button-primary:hover {
  background-image: linear-gradient(to top, var(--kl-color) -50%, var(--active-highlight-color) 150%);
}

body.kl-theme-dark button:not(.kl-button-primary, .kl-button-cancel) img:not(.dark-no-invert) {
  filter: invert() hue-rotate(180deg);
}

body.kl-theme-dark input, body.kl-theme-dark textarea {
  color: #ccc;
  background: #333;
}

body.kl-theme-dark input:focus, body.kl-theme-dark textarea:focus {
  color: #fff;
  background: #222;
}

body.kl-theme-dark .kl-select {
  color: #fff;
  background: #222;
  border: 2px solid #666;
}

body.kl-theme-dark .kl-checkbox__inner {
  color: #ccc;
}

body.kl-theme-dark .kl-checkbox__inner:hover {
  color: #fff;
}

body.kl-theme-dark .kl-checkbox--highlight {
  box-shadow: 0 0 0 1px var(--active-highlight-color);
  background: none;
}

body.kl-theme-dark .kl-option {
  background: var(--ui-bg-dark);
  color: #ccc;
  box-shadow: inset 0 0 0 1px #606060;
}

body.kl-theme-dark .kl-option-selected {
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--active-highlight-color);
  background: #444;
}

body.kl-theme-dark .kl-box-toggle {
  color: #ccc;
  box-shadow: inset 0 0 0 1px #606060;
}

body.kl-theme-dark .kl-box-toggle--active {
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--active-highlight-color);
  background: #ffffff12;
}

body.kl-theme-dark .dark-invert {
  filter: invert();
}

body.kl-theme-dark .kl-file-no-autosave {
  color: #c9b184;
  background: none;
  box-shadow: inset 0 0 0 1px;
}

body.kl-theme-dark .slider-wrapper {
  color: #ddd;
  text-shadow: none;
  background: #222;
  box-shadow: 0 0 0 1px #777;
}

body.kl-theme-dark .slider-wrapper .slider-inner {
  background: #555;
  box-shadow: 1px 0 #777;
}

body.kl-theme-dark .slider-wrapper--active {
  color: #fff;
  box-shadow: 0 0 0 1px #aaa;
}

body.kl-theme-dark .slider-wrapper--active .slider-inner {
  box-shadow: 1px 0 #aaa;
}

body.kl-theme-dark .slider-wrapper--disabled {
  box-shadow: none;
  color: #999;
}

body.kl-theme-dark .info-hint {
  color: #f5a7a7;
  background: none;
  border: 1px solid #a66969;
}

body.kl-theme-dark .kl-2-tabs .kl-2-tabs__left, body.kl-theme-dark .kl-2-tabs .kl-2-tabs__right {
  color: #ccc;
  border: 1px solid #7170704d;
  border-bottom: none;
}

body.kl-theme-dark .kl-2-tabs .kl-2-tabs__left:hover, body.kl-theme-dark .kl-2-tabs .kl-2-tabs__right:hover {
  background: #444;
}

body.kl-theme-dark .kl-2-tabs .kl-2-tabs__left {
  border-right: none;
  border-top-left-radius: 10px;
}

body.kl-theme-dark .kl-2-tabs .kl-2-tabs__right {
  border-left: none;
  border-top-right-radius: 10px;
}

body.kl-theme-dark .kl-2-tabs .kl-2-tabs--active {
  color: #fff;
  border: 1px solid var(--active-highlight-color);
  background: #444;
  border-bottom: none;
}

body.kl-theme-dark .kl-2-tabs .kl-2-tabs--active:hover {
  background: #fff;
}

body.kl-theme-dark .popup-x {
  filter: invert();
}

body.kl-theme-dark .popup-x:hover {
  filter: invert() brightness(1.4);
}

body.kl-theme-dark .kl-preview-wrapper {
  background: #212121;
  box-shadow: inset 0 1px #636363, inset 0 -1px #636363;
}

body.kl-theme-dark .kl-preview-wrapper .kl-preview-wrapper__canvas {
  box-shadow: 0 0 0 1px #ffffff40;
}

body.kl-theme-dark .kl-edit-crop-preview {
  border-top: 1px solid #636363;
  border-bottom: 1px solid #636363;
}

body.kl-theme-dark .kl-transparent-preview {
  box-shadow: inset 0 1px #636363, inset 0 -1px #636363;
}

body.kl-theme-dark .kl-transparent-preview .kl-transparent-preview__canvas {
  box-shadow: 0 0 0 1px #777;
}

body.kl-theme-dark .kl-merge-preview {
  box-shadow: 0 0 0 1px #636363;
}

body.kl-theme-dark a:link, body.kl-theme-dark a:not([href]), body.kl-theme-dark a:visited {
  color: #64acff;
}

body.kl-theme-dark a:link:hover, body.kl-theme-dark a:not([href]):hover, body.kl-theme-dark a:visited:hover {
  color: #b2e8ff;
}

body.kl-theme-dark .kl-color-picker__h, body.kl-theme-dark .kl-color-picker__sv, body.kl-theme-dark .kl-color-picker__preview {
  box-shadow: 0 0 0 1px #646464;
}

body.kl-theme-dark .kl-color-picker--active {
  box-shadow: 0 0 0 1px #999;
}

body.kl-theme-dark .kl-color-picker__secondary {
  box-shadow: 0 0 0 1px #7a7a7a;
}

body.kl-theme-dark .kl-stabilizer {
  color: #ccc;
}

body.kl-theme-dark .brush-alpha, body.kl-theme-dark .brush-alpha--selected {
  filter: invert() hue-rotate(180deg);
}

body.kl-theme-dark .kl-layer-preview {
  color: #ccc;
}

body.kl-theme-dark .kl-layer-preview canvas {
  box-shadow: 0 0 0 1px #7a7a7a;
}

body.kl-theme-dark .kl-import-note, body.kl-theme-dark .kl-toolspace-note {
  color: #d5d558;
  background: none;
  border: 1px solid #d5d558;
}

body.kl-theme-dark .kl-curves-graph canvas {
  filter: invert() hue-rotate(180deg);
  background: #dedede;
}

body.kl-theme-dark .kl-curves-graph__grip {
  box-shadow: none;
  background: #fff;
}

body.kl-theme-dark .kl-storage-preview {
  color: #aaa;
  background: #212121;
  box-shadow: inset 0 0 0 1px #5e5e5e;
}

body.kl-theme-dark .kl-storage-preview__im {
  box-shadow: 0 0 0 1px #5e5e5e;
}

body.kl-theme-dark .kl-info-btn {
  box-shadow: inset 0 0 0 1px #fff;
}

body.kl-theme-dark .kl-layer {
  background: none;
  border: 1px solid #4f4f4f;
}

body.kl-theme-dark .kl-layer .kl-layer__label, body.kl-theme-dark .kl-layer .kl-layer__opacity-label {
  color: #ccc;
}

body.kl-theme-dark .kl-layer--selected {
  border: 1px solid var(--active-highlight-color);
  background: #505050;
}

body.kl-theme-dark .kl-layer--selected .kl-layer__label {
  color: #fff;
}

body.kl-theme-dark .kl-point-slider__line {
  background: #777;
}

body.kl-theme-dark .kl-point-slider__point {
  box-shadow: none;
}

body.kl-theme-dark .kl-overlay-toolspace {
  box-shadow: none;
  background: none;
  border: none;
}

body.kl-theme-dark .kl-overlay-toolspace__color {
  box-shadow: 0 0 0 1px #6e6e6e;
}

body.kl-theme-dark .image-toggle-active {
  background: #ffffff12;
}

body.kl-theme-dark .kl-file-save-row {
  box-shadow: inset 0 0 0 1px #fff3;
}

body.kl-theme-dark .grid-hr {
  border-top: none;
  border-bottom: 1px solid #fff2;
}

body.kl-theme-dark .kl-color-option {
  box-shadow: 0 0 0 1px #7a7a7a;
}

body.kl-theme-dark .kl-color-option--active {
  box-shadow: 0 0 0 2px var(--active-highlight-color), 0 0 5px 0 var(--active-highlight-color);
}

body.kl-theme-dark .kl-text-error {
  color: #ff3838;
}

body.kl-theme-dark .kl-dropdown-menu {
  background: var(--ui-bg-dark);
}

:root {
  --active-highlight-color: #6e9ef8;
  --body-bg-color: #9e9e9e;
  --kl-color: #2a64f8;
  --ui-bg-color: #ddd;
}

@keyframes consoleIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes consoleInFast {
  0% {
    opacity: 0;
  }

  10% {
    opacity: 1;
  }
}

@keyframes consoleOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

*, :before, :after {
  box-sizing: border-box;
}

body {
  overscroll-behavior-x: none;
  color-scheme: light;
  font-size: 16px;
  overflow: hidden;
}

body, html {
  -webkit-tap-highlight-color: #0000;
  touch-action: none;
  -moz-text-size-adjust: none;
  text-size-adjust: none;
}

.g-root {
  font-family: system-ui, sans-serif;
  font-size: 16px;
}

a:link, a:not([href]) {
  color: var(--kl-color);
  cursor: pointer;
  text-decoration: underline;
}

a:visited {
  color: #536184;
  text-decoration: underline;
}

a:hover, a:not([href]):hover {
  color: #000;
  text-decoration: underline;
}

.kl-select {
  background: #fff;
}

.grid-hr {
  clear: both;
  border-top: 1px solid #00000026;
  margin-top: 10px;
  margin-left: 10px;
  margin-right: 10px;
}

.kl-toolspace {
  background-color: var(--ui-bg-color);
}

.kl-toolspace--left {
  border-right: 1px solid #878787;
}

.kl-toolspace--right {
  border-left: 1px solid #878787;
}

.kl-toolspace-row {
  background: linear-gradient(to top, #fff0 20%, #fff9 100%);
  box-shadow: 0 1px 3px #0000001a, 0 1px #cecece;
}

.nohighlight {
  -webkit-tap-highlight-color: #fff0;
}

.toolspace-row-button {
  cursor: pointer;
  flex-grow: 1;
}

.toolspace-triangle-button {
  cursor: pointer;
  -webkit-tap-highlight-color: #fff0;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.toolspace-svg-triangle-button {
  cursor: pointer;
  -webkit-tap-highlight-color: #fff0;
}

.toolspace-row-button-hover {
  background: #ffffffb3;
}

.toolspace-row-button:active, .toolspace-triangle-button:active {
  background-color: #ddd;
  box-shadow: inset 2px 2px 10px #0003 !important;
}

.toolspace-svg-triangle-button-hover {
  fill: #ffffffb3;
}

.toolspace-svg-triangle-button:active {
  fill: #ddd;
  filter: url("#innershadow");
}

.toolspace-row-button-activated {
  box-shadow: inset 0 2px 0 0 var(--active-highlight-color);
  pointer-events: none;
  background: #fff;
}

.toolspace-row-button-activated div {
  opacity: 1 !important;
}

.toolspace-row-button-disabled {
  opacity: .5;
  pointer-events: none;
}

.kl-tool-row-border-right {
  border-right: 1px solid #d4d4d4;
}

.kl-color-picker__h, .kl-color-picker__sv, .kl-color-picker__preview {
  box-shadow: 0 0 0 1px #bcbcbc;
}

.kl-color-picker--active {
  z-index: 1;
  box-shadow: 0 0 0 1px #fff;
}

.kl-color-picker__secondary {
  box-shadow: 0 0 0 1px #bcbcbc;
}

.color-picker-preview-button {
  cursor: pointer;
  color: #000;
  opacity: .8;
  text-align: center;
  -webkit-user-select: none;
  user-select: none;
}

.color-picker-preview-button-hover {
  opacity: 1;
  background-color: #fff;
  filter: none !important;
}

.color-picker-preview-button-active {
  opacity: 1;
  box-shadow: inset 0 2px 0 0 var(--active-highlight-color);
  background-color: #fff;
  filter: none !important;
}

.slider-wrapper {
  text-shadow: 0 0 5px #ffffff80;
  color: #333;
  cursor: ew-resize;
  background: linear-gradient(#909090 1%, #b3b3b3 73%);
  border-radius: 8px;
  box-shadow: .5px 1px #fffc;
}

.slider-wrapper--active {
  color: #000;
  background: linear-gradient(#7a7a7a 1%, #939393 73%);
  box-shadow: 0 0 1px 1px #0003;
}

.slider-wrapper--active .slider-inner {
  background: #fff;
  box-shadow: 2px 2px 10px #919191;
}

.slider-inner {
  background-color: #fff;
  background-image: linear-gradient(to top, #e8e8e8 0%, #fff 70%);
  border-radius: 6px 0 0;
  box-shadow: inset 1px 1px 1px #0000004d, 2px 2px 6px #9191917d;
}

.kl-point-slider__line {
  background: #aaa;
  height: 2px;
}

.kl-point-slider__point {
  cursor: ew-resize;
  background-color: #eaeaea;
  transition: box-shadow .2s ease-in-out;
  position: absolute;
  top: 0;
  box-shadow: 0 0 3px #000c;
}

.kl-point-slider__point:active {
  box-shadow: 0 0 6px #000;
}

button {
  color: #666;
  -webkit-user-select: none;
  user-select: none;
  background-color: #f3f3f3;
  background-image: linear-gradient(to top, #6f6f6f1a 0%, #fff0 60%, #ffffff4d 100%);
  border: none;
  border-radius: 3px;
  min-width: 30px;
  padding: 5px;
  font-size: 15px;
  line-height: 17px;
  box-shadow: 0 0 0 1px #0000000a, 0 1px #0000001a, 0 2px 3px #0000000d;
}

button:hover {
  color: #777;
  cursor: pointer;
  background-color: #fff;
}

button:active {
  background-color: #ddd;
  box-shadow: inset 2px 2px 10px #0003, 0 2px 2px #ddd;
}

button:disabled {
  color: #999;
  cursor: default;
  background-color: #ddd;
  background-image: linear-gradient(to top, #fff0 60%, #ffffff4d 100%);
  border: none;
  border-radius: 3px;
  min-width: 30px;
  padding: 5px;
  font-size: 15px;
  box-shadow: 0 0 0 1px #0000000d;
}

button:disabled img {
  opacity: .2;
}

button img {
  float: left;
  pointer-events: none;
}

.kl-button-primary {
  background: var(--kl-color);
  color: #fff;
}

.kl-button-primary:hover {
  background-image: linear-gradient(to top, var(--kl-color) -50%, var(--active-highlight-color) 150%);
  color: #fff;
}

.kl-button-primary:active {
  background-image: linear-gradient(to top, var(--kl-color) -50%, var(--active-highlight-color) 120%);
  color: #fff;
  box-shadow: unset;
}

.grid-button {
  width: 120px;
  margin-top: 10px;
  margin-left: 10px;
}

.grid-button--filter {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.kl-popup {
  touch-action: pan-y;
  background: #32323280;
  width: 100%;
  height: 100%;
  animation-name: consoleIn;
  animation-duration: .3s;
  animation-timing-function: ease-out;
  overflow-x: hidden;
  overflow-y: auto;
}

.kl-popup-box {
  background-color: #ddd;
  border-radius: 10px;
  margin: 10px 0;
  padding: 20px;
  position: relative;
  box-shadow: 0 5px 60px #00000073;
}

.kl-popup-box--sm {
  width: 340px;
}

.kl-popup__btn {
  justify-content: center;
  align-items: center;
  min-width: 80px;
  margin-top: 8px;
  margin-left: 8px;
  display: flex;
}

.kl-popup__btn img {
  margin-left: 2px;
  margin-right: 5px;
}

.kl-popup__btn__text {
  text-align: center;
  flex-grow: 1;
}

.kl-popup__icon-error, .kl-popup__icon-ok, .kl-popup__icon-warning, .kl-popup__icon-upload {
  float: left;
  background-repeat: no-repeat;
  background-size: cover;
  width: 1.1rem;
  height: 1.1rem;
  margin-right: 5px;
}

.kl-popup__icon-error {
  background-image: url("error.077712b4.svg");
}

.kl-popup__icon-ok {
  background-image: url("ok.c123631c.svg");
}

.kl-popup__icon-warning {
  background-image: url("warning.699890c9.svg");
}

.kl-popup__icon-upload {
  background-image: url("upload-large.2f3d522f.svg");
}

.kl-d-modal-root {
  background: #00000073;
}

.kl-d-modal {
  background: #eee;
  box-shadow: 0 5px 60px #00000040;
}

@keyframes topOverlayPulse {
  10% {
    background-color: var(--kl-color);
    padding-top: 12px;
  }

  50% {
    background-color: var(--kl-color);
    padding-top: 7px;
  }
}

.top-overlay {
  z-index: 100;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  justify-content: center;
  width: calc(100% - 271px);
  animation-duration: .4s;
  animation-timing-function: ease-in-out;
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
}

.top-overlay--inner {
  text-align: center;
  color: #fff;
  background-color: #0006;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  padding: 7px 10px;
}

.kl-checkbox {
  -webkit-user-select: none;
  user-select: none;
  display: block;
}

.kl-checkbox--highlight {
  background: #bed5ff;
}

.kl-checkbox__inner {
  cursor: pointer;
  color: #0009;
}

.kl-checkbox__inner:hover {
  color: #000;
}

.kl-layer {
  box-sizing: border-box;
  background-color: #dcdcdc;
  background-image: linear-gradient(to top, #bcbcbc1a 0%, #ffffff4d 100%);
  border: 1px solid #9e9e9e;
  width: 270px;
  height: 36px;
  transition: all .1s linear;
  position: absolute;
  left: 0;
}

.kl-layer .kl-layer__label, .kl-layer .kl-layer__opacity-label {
  color: #666;
}

.kl-layer--selected {
  border: 1px solid var(--active-highlight-color);
  z-index: 1;
  background: #fff;
}

.kl-layer--selected .kl-layer__label {
  color: #000;
}

.info-hint {
  background: #ff8473;
  border: 1px solid #d00000;
  border-radius: 5px;
  margin-bottom: 10px;
  padding: 10px;
}

textarea, input {
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #b2b2b2;
  padding: 5px;
  font-size: .95em;
}

textarea:focus, input:focus {
  background: #fff;
  border: 1px solid #636363;
  box-shadow: 0 0 10px #0000001a;
}

.kl-textarea::placeholder, .kl-input::placeholder {
  color: #929292;
}

.popup-x {
  color: #888;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  filter: brightness(.9);
  justify-content: center;
  align-items: center;
  display: flex;
}

.popup-x:hover {
  color: #000;
  filter: brightness(.5);
}

.brush-alpha, .brush-alpha--selected {
  cursor: pointer;
  box-sizing: border-box;
  background-repeat: no-repeat;
  background-size: contain;
  border: 1px solid #aaa;
  width: 35px;
  height: 35px;
  margin-right: 1px;
  display: inline-block;
}

.brush-alpha {
  opacity: .4;
  cursor: pointer;
}

.brush-alpha--selected {
  opacity: 1;
  cursor: default;
  background-color: #fff;
  border: 1px solid #76a6ff;
}

iframe {
  box-sizing: border-box;
  border: none;
}

.tabrow {
  background: linear-gradient(to top, #d0d0d0 0%, #d0d0d000 80%);
  border-bottom: 1px solid #ffffffb3;
  display: flex;
}

.tabrow__tab {
  -webkit-user-select: none;
  user-select: none;
  cursor: pointer;
  text-align: center;
  opacity: .6;
  background-position: center;
  background-repeat: no-repeat;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  flex-grow: 1;
  height: 100%;
}

.tabrow__tab-hover {
  background-color: #fff;
}

.tabrow__tab:active:not(.tabrow__tab--opened-accented, .tabrow__tab--opened) {
  background-color: #ddd;
  box-shadow: inset 2px 2px 10px #0003, 0 2px 2px #ddd;
}

.tabrow__tab--opened, .tabrow__tab--opened-accented {
  opacity: 1;
  cursor: default;
  background-color: #f5f5f5;
  position: relative;
}

.tabrow__tab--opened-accented {
  box-shadow: inset 0 2px 0 0 var(--active-highlight-color);
}

.tabrow__tab--opened-accented:not(:first-child):before, .tabrow__tab--opened:not(:first-child):before {
  content: " ";
  border-bottom: 8px solid #f5f5f5;
  border-left: 2px solid #0000;
  border-right: 0 solid #0000;
  width: 0;
  height: 0;
  position: absolute;
  bottom: 0;
  left: -1.5px;
}

.tabrow__tab--opened-accented:not(:last-child):after, .tabrow__tab--opened:not(:last-child):after {
  content: " ";
  border-bottom: 8px solid #f5f5f5;
  border-left: 0 solid #0000;
  border-right: 2px solid #0000;
  width: 0;
  height: 0;
  position: absolute;
  bottom: 0;
  right: -1.5px;
}

.kl-option-wrapper {
  flex-wrap: wrap;
  margin-top: -4px;
  margin-left: -4px;
  display: flex;
}

.kl-option {
  cursor: pointer;
  background: var(--ui-bg-color);
  color: #0009;
  -webkit-user-select: none;
  user-select: none;
  border-radius: 4px;
  margin: 4px 0 0 4px;
  padding: 6px 10px;
  font-size: 16px;
  transition: all .1s ease-in-out;
  box-shadow: inset 0 0 0 1px #0000004d;
}

.kl-option--small {
  font-size: 14px;
}

.kl-option--custom-el {
  padding: 0;
}

.kl-option--custom-el:not(.kl-option-selected) > * {
  opacity: .5;
}

.kl-option-selected {
  color: #000;
  box-shadow: inset 0 0 0 1px var(--active-highlight-color);
  cursor: default;
  background: #fff;
}

.kl-box-toggle {
  cursor: pointer;
  color: #0009;
  -webkit-user-select: none;
  user-select: none;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 16px;
  transition: all .1s ease-in-out;
  box-shadow: inset 0 0 0 1px #0000004d;
}

.kl-box-toggle--active {
  color: #000;
  box-shadow: inset 0 0 0 1px var(--active-highlight-color);
  cursor: default;
  background: #fff;
}

.kl-box-toggle--custom-el {
  padding: 0;
}

.kl-box-toggle--custom-el:not(.kl-box-toggle--active) > * {
  opacity: .5;
}

.kl-color-option {
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  text-align: center;
  color: #aaa;
  box-shadow: 0 0 0 1px #aaa;
}

.kl-color-option--active {
  box-shadow: 0 0 0 2px var(--active-highlight-color), 0 0 5px 0 var(--active-highlight-color);
}

.tool-dropdown-wrapper {
  background: #f1f1f1;
  animation-name: dropdownOpen;
  animation-duration: .1s;
  animation-timing-function: ease-in-out;
  box-shadow: 0 2px 5px #00000080;
}

.tool-dropdown-button:hover {
  background: #fff;
}

.tool-dropdown-button:active {
  background-color: #ddd;
  box-shadow: inset 2px 2px 10px #0003;
}

@keyframes dropdownOpen {
  from {
    opacity: 0;
    height: 0;
  }
}

.image-toggle {
  cursor: pointer;
  width: 23px;
  height: 23px;
}

.image-toggle:not(.image-toggle-active) {
  opacity: .4;
  box-shadow: 0 0 0 1px #838383;
}

.image-toggle-active {
  box-shadow: var(--active-highlight-color) 0 0 0 2px;
  background-color: #fff;
}

.image-toggle__im {
  background-position: center;
  background-repeat: no-repeat;
  background-size: 83%;
  width: 100%;
  height: 100%;
}

.image-radio-wrapper {
  gap: 7px;
  display: flex;
}

.image-radio-wrapper .image-toggle-active {
  cursor: default;
}

.kl-radio label {
  cursor: pointer;
}

.kl-radio label:not(:last-child) {
  margin-right: 10px;
}

.kl-scroller {
  cursor: pointer;
  filter: invert();
  -webkit-user-select: none;
  user-select: none;
  background-color: #9b9b9be6;
  background-image: url("caret-down.0f7da0ad.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 60%;
  width: 36px;
  height: 36px;
  position: fixed;
}

.kl-scroller:active {
  background-color: #b4b4b4e6;
}

.kl-table {
  border-spacing: 0;
}

.kl-table td {
  padding: 0;
}

.kl-2-tabs {
  justify-content: center;
  display: flex;
}

.kl-2-tabs .kl-2-tabs__left, .kl-2-tabs .kl-2-tabs__right {
  text-align: center;
  cursor: pointer;
  color: #0009;
  border: 1px solid #0009;
  border-bottom: none;
  width: 150px;
  padding: 10px 5px;
  transition: background .1s ease-in-out;
}

.kl-2-tabs .kl-2-tabs__left:hover, .kl-2-tabs .kl-2-tabs__right:hover {
  background: #eee;
}

.kl-2-tabs .kl-2-tabs__left {
  border-right: none;
  border-top-left-radius: 10px;
}

.kl-2-tabs .kl-2-tabs__right {
  border-left: none;
  border-top-right-radius: 10px;
}

.kl-2-tabs .kl-2-tabs--active {
  color: #000;
  border: 1px solid var(--active-highlight-color);
  pointer-events: none;
  background: #fff;
  border-bottom: none;
}

.kl-2-tabs .kl-2-tabs--active:hover {
  background: #fff;
}

.kl-layer-preview {
  color: #555;
}

.kl-layer-preview canvas {
  box-shadow: 0 0 0 1px #9e9e9e;
}

.kl-edit-crop-preview {
  border-top: 1px solid #bbb;
  border-bottom: 1px solid #bbb;
}

.kl-edit-crop-preview__sel {
  pointer-events: none;
  position: absolute;
  box-shadow: 0 0 0 1px #fff, 0 0 0 2px #000, 0 0 40px 1px #000;
}

.kl-text-error {
  color: red;
}

.kl-file-no-autosave {
  text-align: center;
  color: #000000a6;
  background: #f3f3a1;
  margin-top: 10px;
  padding: 5px;
  font-size: 15px;
}

.kl-preview-wrapper {
  -webkit-user-select: none;
  user-select: none;
  background-color: #9e9e9e;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  margin-left: -20px;
  display: flex;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px #0003, inset 0 -1px #0003;
}

.kl-preview-wrapper__canvas {
  position: relative;
  box-shadow: 0 0 5px #00000080;
}

.kl-transparent-preview {
  box-shadow: inset 0 1px #0003, inset 0 -1px #0003;
}

.kl-transparent-preview__canvas {
  box-shadow: 0 0 5px #00000080;
}

.kl-text-preview-wrapper {
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.kl-merge-preview {
  margin-left: auto;
  margin-right: auto;
  display: block;
  box-shadow: 0 0 3px #00000080;
}

.kl-stabilizer {
  color: #0009;
  align-items: center;
  margin-right: -1px;
  font-size: 13px;
  display: flex;
}

.kl-toolspace-note {
  color: #534a3c;
  text-align: center;
  background: #ffff0080;
  border: 1px solid #e7d321;
  border-radius: 5px;
  padding: 8px;
}

.kl-import-note {
  background: #ffff0080;
  border: 1px solid #e7d321;
  border-radius: 5px;
  margin-top: 5px;
  margin-bottom: 5px;
  padding: 8px;
}

.kl-curves-graph canvas {
  background: #c6c6c6;
  box-shadow: 0 0 0 1px #0000004d;
}

.kl-curves-graph__grip {
  cursor: move;
  -webkit-user-select: none;
  user-select: none;
  touch-action: none;
  background: #fff;
  position: absolute;
  box-shadow: inset 0 0 0 2px #000;
}

.kl-storage-preview {
  color: #545454;
  background: #cdcdcd;
  grid-area: preview;
  justify-content: center;
  align-items: center;
  min-height: 67px;
  margin-top: 10px;
  display: flex;
  position: relative;
  box-shadow: inset 0 0 0 1px #aaa;
}

.kl-storage-preview__im {
  pointer-events: none;
  max-width: calc(100% - 2px);
  max-height: calc(100% - 2px);
  margin: 0 auto;
  display: block;
  box-shadow: 0 0 0 1px #aaa;
}

.kl-info-btn {
  cursor: pointer;
  text-align: center;
  -webkit-user-select: none;
  user-select: none;
  border-radius: 100%;
  width: 19px;
  height: 19px;
  font-weight: bold;
  line-height: 19px;
  box-shadow: inset 0 0 0 1px #000;
}

.kl-overlay-toolspace {
  background: #ddd;
  border: 1px solid #fff;
  display: none;
  position: absolute;
  top: 500px;
  left: 500px;
  box-shadow: 0 0 10px #00000080;
}

.kl-file-save-row {
  border-radius: 5px;
  margin: 10px 10px 0;
  padding-bottom: 10px;
  padding-right: 10px;
  display: flex;
  box-shadow: inset 0 0 0 1px #0003;
}

.kl-dropdown-menu {
  background: #ddd;
  border-radius: 3px;
  margin-top: 1px;
  position: absolute;
  overflow: hidden;
  box-shadow: 0 2px 5px #00000080;
}

._5vlQAW_viewportWrapper {
  width: calc(100% + 40px);
  height: calc(100vh - 400px);
  min-height: 200px;
  max-height: 600px;
  margin-left: -20px;
  overflow: hidden;
  box-shadow: 0 1px #0003, 0 -1px #0003;
}

body.kl-theme-dark ._5vlQAW_viewportWrapper {
  box-shadow: 0 1px #636363, 0 -1px #636363;
}

/*# sourceMappingURL=index.6c03fc3a.css.map */
