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

* {
  border: 0;
  border-radius: 0;
  margin: 0;
  outline: 0;
  padding: 0;
}

html,
body {
  overflow: hidden;
}

body {
  font-size: 0;
  line-height: 1;
  -webkit-text-size-adjust: 100%;
}

a {
  background: transparent;
  text-decoration: none;
}

img {
  max-width: 100%;
}

svg {
  border: 0;
  stroke-width: 0;
}

ol,
ul {
  list-style: none;
}

button {
  cursor: pointer;
  background-color: transparent;
  font-family: inherit;
}

textarea {
  font-family: inherit;
}

::-webkit-scrollbar {
  display: none;
}

.Editor {
  width: 100%;
  height: 100%;
  display: flex;
  overflow: hidden;
  background-color: #ececec;
  font-family: "Noto Sans JP", "Segoe UI", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: #1f1f1f;
}
.Editor-Side {
  width: 300px;
  flex: none;
  height: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}

.Stage {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-left: 1px solid #e5e5e5;
}
.Stage-Canvas {
  display: block;
}

.Panel {
  flex: none;
  background-color: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 2px;
}
.Panel-Title {
  padding: 10px 14px;
  border-bottom: 1px solid #e5e5e5;
  font-size: 12px;
  font-weight: 500;
  color: #767676;
}
.Panel-Body {
  padding: 14px;
}

.SourceInput {
  width: 100%;
  height: 240px;
  padding: 10px;
  border: 1px solid #e5e5e5;
  border-radius: 2px;
  background-color: #ffffff;
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", Georgia, serif;
  font-size: 14px;
  line-height: 1.8;
  color: #1f1f1f;
  white-space: pre;
  overflow: auto;
  resize: vertical;
  tab-size: 2;
}
.SourceInput:focus {
  border-color: #767676;
}

.SettingRow {
  display: flex;
  align-items: center;
  min-height: 32px;
}
.SettingRow + .SettingRow {
  margin-top: 10px;
}
.SettingRow-Label {
  width: 92px;
  flex: none;
  font-size: 12px;
  color: #767676;
}
.SettingRow-Body {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}
.SettingRow-Value {
  width: 26px;
  flex: none;
  text-align: right;
  font-size: 12px;
  color: #767676;
}

.Choice {
  display: flex;
  border: 1px solid #e5e5e5;
  border-radius: 2px;
  overflow: hidden;
}
.Choice-Option {
  padding: 5px 12px;
  font-size: 12px;
  color: #767676;
  cursor: pointer;
}
.Choice-Option + .Choice-Option {
  border-left: 1px solid #e5e5e5;
}
.Choice-Option[data-selected] {
  background-color: #1f1f1f;
  color: #ffffff;
}

.RangeInput {
  flex: 1;
  height: 2px;
  appearance: none;
  background-color: #e5e5e5;
  cursor: pointer;
}
.RangeInput::-webkit-slider-thumb {
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #1f1f1f;
}
.RangeInput::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #1f1f1f;
}

.CheckBox {
  width: 16px;
  height: 16px;
  position: relative;
  border: 1px solid #e5e5e5;
  border-radius: 2px;
  cursor: pointer;
}
.CheckBox[data-checked] {
  background-color: #1f1f1f;
  border-color: #1f1f1f;
}
.CheckBox[data-checked]::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  transform: rotate(45deg);
}

.DownloadButton {
  flex: none;
  padding: 11px;
  border-radius: 2px;
  background-color: #1f1f1f;
  color: #ffffff;
  text-align: center;
  font-size: 13px;
  cursor: pointer;
}

.HintPanel {
  padding: 14px;
}
.HintPanel-Title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: #1f1f1f;
}
.HintPanel-Paragraph {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.9;
  color: #767676;
}