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

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

body {
  background: #ffffff;
  color: #333333;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 0;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  border: 0;
}

ol,
ul {
  list-style: none;
}

button,
input,
select,
textarea {
  color: inherit;
  font-family: inherit;
}

button {
  background-color: transparent;
  cursor: pointer;
}

.FigureNote {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 16px;
  color: #333333;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 14px;
}
.FigureNote input,
.FigureNote select {
  color: #333333;
  font-size: 13px;
}
.FigureNote input[type=number],
.FigureNote input[type=text] {
  height: 28px;
  padding: 0 6px;
  border: 1px solid #cccccc;
  border-radius: 2px;
}
.FigureNote select {
  height: 28px;
  padding: 0 4px;
  border: 1px solid #cccccc;
  border-radius: 2px;
}
.FigureNote input[type=color] {
  width: 40px;
  height: 28px;
  padding: 0;
  border: 1px solid #cccccc;
  border-radius: 2px;
}
.FigureNote input[type=checkbox] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.FigureNote input[type=range] {
  flex: 1;
}
.FigureNote-Stage {
  flex-shrink: 0;
}
.FigureNote-Svg {
  display: block;
  background: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 2px;
}
.FigureNote-Panel {
  flex: 1;
  min-width: 320px;
}
.FigureNote-Tabs {
  display: flex;
  margin-bottom: 16px;
  border-bottom: 1px solid #dddddd;
}
.FigureNote-Tab {
  padding: 8px 16px;
  border-bottom: 2px solid transparent;
  color: #666666;
  font-size: 14px;
}
.FigureNote-Tab[data-active] {
  border-bottom-color: #2563eb;
  color: #333333;
  font-weight: bold;
}
.FigureNote-VertexList, .FigureNote-TargetList {
  margin-bottom: 16px;
}
.FigureNote-VertexRow, .FigureNote-TargetRow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.FigureNote-VertexLabel {
  width: 24px;
  font-weight: bold;
}
.FigureNote-TargetName {
  width: 60px;
  font-weight: bold;
}
.FigureNote-Coord, .FigureNote-NewCoord {
  width: 60px;
}
.FigureNote-NewLabel {
  width: 50px;
}
.FigureNote-VertexAdd, .FigureNote-TargetAdd {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #eeeeee;
}
.FigureNote-Arrow {
  color: #666666;
}
.FigureNote-Remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid #cccccc;
  border-radius: 2px;
  color: #666666;
}
.FigureNote-Remove:hover {
  color: #e74c3c;
}
.FigureNote-AddButton {
  height: 28px;
  padding: 0 12px;
  border: 1px solid #cccccc;
  border-radius: 2px;
  color: #333333;
}
.FigureNote-Controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.FigureNote-Control {
  display: flex;
  align-items: center;
  gap: 8px;
}
.FigureNote-ControlLabel {
  width: 120px;
  flex-shrink: 0;
}
.FigureNote-ControlValue {
  color: #666666;
}
.FigureNote-Mode, .FigureNote-Linecap {
  flex-shrink: 0;
}