.b9T2Aa_button {
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-transform: none;
  appearance: none;
  font-size: inherit;
  cursor: pointer;
  box-sizing: border-box;
  height: 28px;
  width: unset;
  color: var(--live-demo-colors-clickable);
  background-color: var(--live-demo-colors-surface2);
  border: 1px solid var(--live-demo-colors-surface3);
  border-radius: 6px;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 4px 8px;
  font-family: inherit;
  text-decoration: none;
  display: flex;

  &:disabled {
    cursor: default;
    color: var(--live-demo-colors-disabled);
  }

  &:focus, &:focus-visible {
    outline: revert;
  }

  &:hover:not(:disabled, [data-active="true"]) {
    color: var(--live-demo-colors-hover);
    background-color: var(--live-demo-colors-surface3);
  }

  &[data-active="true"] {
    color: var(--live-demo-colors-accent);
    background-color: var(--live-demo-colors-surface3);
    border: 1px solid var(--live-demo-colors-base);

    &:hover {
      background-color: var(--live-demo-colors-surface2);
    }
  }

  & svg {
    width: 16px;
    min-width: 16px;
    height: 16px;
    margin: auto;
  }
}

[data-icon-buttons="true"] {
  & .b9T2Aa_text {
    display: none;
  }
}

.fuvcsW_wrapper {
  align-items: center;
  display: flex;
}

.fuvcsW_button {
  &:first-of-type {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }

  &:not(&:first-of-type, &:last-of-type) {
    border-radius: 0;
  }

  &:last-of-type {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
}

.haJ5Va_wrapper {
  border-bottom: var(--live-demo-layout-border);
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px;
  display: flex;
}

.haJ5Va_section {
  align-items: center;
  gap: 8px;
  display: flex;
}

.cm-theme {
  height: 100%;
  overflow: hidden;

  & .cm-editor {
    height: 100%;

    &.cm-focused {
      outline: unset;
    }
  }

  & .cm-content {
    padding: 8px 6px;
  }
}

.p8BylG_wrapper {
  border-bottom: var(--live-demo-layout-border);
  gap: 8px;
  min-height: max-content;
  padding: 8px;
  display: flex;
  overflow: auto;
}

.p8BylG_tab, .p8BylG_tab[data-active="true"], .p8BylG_tab:hover:not(:disabled) {
  border: unset;
  background-color: #0000;

  &:hover:not([data-active="true"]) {
    color: var(--sp-color-accent);
  }
}

html {
  --live-demo-colors-surface1: #fff;
  --live-demo-colors-surface2: #efefef;
  --live-demo-colors-surface3: #f3f3f3;
  --live-demo-colors-disabled: #c5c5c5;
  --live-demo-colors-base: #323232;
  --live-demo-colors-clickable: gray;
  --live-demo-colors-hover: #4d4d4d;
  --live-demo-colors-accent: #3973e0;

  &.dark {
    --live-demo-colors-surface1: #151515;
    --live-demo-colors-surface2: #252525;
    --live-demo-colors-surface3: #2f2f2f;
    --live-demo-colors-disabled: #4d4d4d;
    --live-demo-colors-base: gray;
    --live-demo-colors-clickable: #999;
    --live-demo-colors-hover: #c5c5c5;
    --live-demo-colors-accent: #e5e5e5;
  }

  --live-demo-layout-border: 1px solid var(--live-demo-colors-surface2);
}

.c1WmQq_wrapper {
  flex-grow: 1;
  height: 400px;

  &.c1WmQq_vertical {
    height: 600px;
  }
}

.c1WmQq_editorPanel {
  flex-direction: column;
  display: flex;
}

.c1WmQq_hiddenPanel {
  display: none;
}

.c1WmQq_resizeHandle {
  --handle-width: 8px;
  --handle-inset: calc(var(--handle-width) / 2);
  height: 100%;
  width: var(--handle-width);
  border-left: var(--live-demo-layout-border);
  position: relative;

  &:after {
    content: "";
    inset: 0 var(--handle-inset) 0 0;
    transition: background-color .1s ease-out;
    position: absolute;
  }

  &[data-panel-group-direction="vertical"] {
    width: 100%;
    height: var(--handle-width);

    &:after {
      inset: var(--handle-inset) 0 0 0;
    }
  }

  &[data-resize-handle-state="hover"]:after, &[data-resize-handle-state="drag"]:after {
    background-color: #007fd4;
  }
}

._9EZq1a_wrapper {
  border: var(--live-demo-layout-border);
  background-color: var(--live-demo-colors-surface1);
  border-radius: 6px;
  flex-direction: column;
  height: 100%;
  margin-block: 10px;
  font-size: .85rem;
  display: flex;
}

.hQVlXW_wrapper {
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 12px;
  display: flex;
  position: relative;

  & canvas {
    outline: none;
  }
}

.hQVlXW_error {
  box-sizing: border-box;
  opacity: .86;
  color: #fff;
  background: #a12027;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 10px;
  font-size: 12px;
  position: absolute;
  top: 0;
  left: 0;
  overflow: auto;
}

