.WhiteMap {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #1a1c1f;
  color: #e6e8ea;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
  user-select: none;
}
.WhiteMap * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.WhiteMap-Stage {
  position: absolute;
  inset: 0;
}
.WhiteMap-Canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
}
.WhiteMap[data-panning] .WhiteMap-Canvas {
  cursor: grabbing;
}
.WhiteMap[data-crop-drawing] .WhiteMap-Canvas {
  cursor: crosshair;
}
.WhiteMap-EmptyHint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #6b7178;
  font-size: 14px;
  line-height: 1.9;
  pointer-events: none;
  max-width: 420px;
}
.WhiteMap-EmptyHint[data-hidden] {
  display: none;
}
.WhiteMap-EmptyHint-Lead {
  color: #9aa0a8;
  font-size: 15px;
}
.WhiteMap-EmptyHint-Detail {
  margin-top: 10px;
}
.WhiteMap-EmptyHint-Code {
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  background: #1f2227;
  border: 1px solid #3a3f47;
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 12px;
}
.WhiteMap-Tooltip {
  position: absolute;
  pointer-events: none;
  background: rgba(20, 22, 26, 0.95);
  border: 1px solid #4a5059;
  color: #e6e8ea;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 5px;
  display: none;
  white-space: nowrap;
  transform: translate(-50%, -130%);
  z-index: 30;
}
.WhiteMap-Tooltip[data-visible] {
  display: block;
}
.WhiteMap-Panel {
  position: absolute;
  background: #26292e;
  border: 1px solid #3a3f47;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  width: 264px;
  z-index: 10;
}
.WhiteMap-Panel[data-hidden] {
  display: none;
}
.WhiteMap-Panel[data-dragging] {
  opacity: 0.94;
}
.WhiteMap-Panel-Header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px 9px 12px;
  background: #2e3239;
  border-bottom: 1px solid #3a3f47;
  border-radius: 8px 8px 0 0;
  cursor: move;
}
.WhiteMap-Panel-Title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #e6e8ea;
}
.WhiteMap-Panel-Dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6ea8fe;
}
.WhiteMap-Panel-Close {
  width: 22px;
  height: 22px;
  border: none;
  background: transparent;
  color: #6b7178;
  border-radius: 5px;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background 0.12s, color 0.12s;
}
.WhiteMap-Panel-Close:hover {
  background: #3a3f47;
  color: #e6e8ea;
}
.WhiteMap-Panel-Body {
  padding: 12px;
}
.WhiteMap-Row {
  margin-bottom: 12px;
}
.WhiteMap-Row:last-child {
  margin-bottom: 0;
}
.WhiteMap-Field {
  display: block;
  font-size: 11px;
  color: #9aa0a8;
  margin-bottom: 5px;
  letter-spacing: 0.02em;
}
.WhiteMap-Textarea {
  width: 100%;
  background: #1f2227;
  border: 1px solid #3a3f47;
  color: #e6e8ea;
  border-radius: 6px;
  padding: 7px 8px;
  font-size: 12px;
  outline: none;
  transition: border-color 0.12s;
  resize: vertical;
  min-height: 84px;
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  line-height: 1.45;
}
.WhiteMap-Textarea:focus {
  border-color: #3a5a8a;
}
.WhiteMap-Select {
  width: 100%;
  background: #1f2227;
  border: 1px solid #3a3f47;
  color: #e6e8ea;
  border-radius: 6px;
  padding: 7px 8px;
  font-size: 12px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.12s;
}
.WhiteMap-Select:focus {
  border-color: #3a5a8a;
}
.WhiteMap-Button {
  width: 100%;
  background: #1f2227;
  border: 1px solid #4a5059;
  color: #e6e8ea;
  border-radius: 6px;
  padding: 8px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s, transform 0.05s;
}
.WhiteMap-Button:hover {
  background: #3a3f47;
  border-color: #3a5a8a;
}
.WhiteMap-Button:active {
  transform: scale(0.985);
}
.WhiteMap-Button[data-variant=primary] {
  background: #3a5a8a;
  border-color: #6ea8fe;
  color: #fff;
}
.WhiteMap-Button[data-variant=primary]:hover {
  background: #43689e;
}
.WhiteMap-ButtonGroup {
  display: flex;
  gap: 7px;
}
.WhiteMap-ButtonGroup .WhiteMap-Button {
  flex: 1;
}
.WhiteMap-FileDrop {
  border: 1px dashed #4a5059;
  border-radius: 6px;
  padding: 14px 10px;
  text-align: center;
  font-size: 11px;
  color: #9aa0a8;
  cursor: pointer;
  transition: border-color 0.12s, background 0.12s, color 0.12s;
  line-height: 1.6;
}
.WhiteMap-FileDrop:hover {
  border-color: #6ea8fe;
  background: rgba(110, 168, 254, 0.06);
  color: #e6e8ea;
}
.WhiteMap-FileDrop[data-over] {
  border-color: #6ea8fe;
  background: rgba(110, 168, 254, 0.06);
  color: #e6e8ea;
}
.WhiteMap-FileInput {
  display: none;
}
.WhiteMap-Toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #e6e8ea;
}
.WhiteMap-Switch {
  position: relative;
  width: 36px;
  height: 20px;
  flex: none;
}
.WhiteMap-Switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.WhiteMap-Switch-Slider {
  position: absolute;
  inset: 0;
  background: #4a5059;
  border-radius: 20px;
  transition: background 0.15s;
  cursor: pointer;
}
.WhiteMap-Switch-Slider::before {
  content: "";
  position: absolute;
  height: 14px;
  width: 14px;
  left: 3px;
  top: 3px;
  background: #cfd3d8;
  border-radius: 50%;
  transition: transform 0.15s, background 0.15s;
}
.WhiteMap-Switch input:checked + .WhiteMap-Switch-Slider {
  background: #6ea8fe;
}
.WhiteMap-Switch input:checked + .WhiteMap-Switch-Slider::before {
  transform: translateX(16px);
  background: #fff;
}
.WhiteMap-RangeWrap {
  display: flex;
  align-items: center;
  gap: 9px;
}
.WhiteMap-Range {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 4px;
  background: #4a5059;
  border-radius: 3px;
  outline: none;
}
.WhiteMap-Range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #6ea8fe;
  cursor: pointer;
  border: none;
}
.WhiteMap-Range::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #6ea8fe;
  cursor: pointer;
  border: none;
}
.WhiteMap-RangeValue {
  font-size: 11px;
  color: #9aa0a8;
  min-width: 30px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.WhiteMap-Swatches {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.WhiteMap-ColorInput {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid #3a3f47;
  border-radius: 5px;
  background: #1f2227;
  cursor: pointer;
}
.WhiteMap-Hint {
  font-size: 10.5px;
  color: #6b7178;
  line-height: 1.5;
  margin-top: 6px;
}
.WhiteMap-StatusRow[data-hidden] {
  display: none;
}
.WhiteMap-StatusMessage, .WhiteMap-CropReadout {
  font-size: 11px;
  color: #9aa0a8;
  padding: 7px 9px;
  background: #1f2227;
  border-radius: 6px;
  border: 1px solid #3a3f47;
  line-height: 1.5;
}
.WhiteMap-StatusMessage[data-error], .WhiteMap-CropReadout[data-error] {
  color: #ff9a9a;
  border-color: #5a3a3a;
}
.WhiteMap-StatusMessage[data-ok], .WhiteMap-CropReadout[data-ok] {
  color: #9ae0b0;
  border-color: #3a5a45;
}
.WhiteMap-Segment {
  display: flex;
  border: 1px solid #4a5059;
  border-radius: 6px;
  overflow: hidden;
}
.WhiteMap-Segment-Option {
  flex: 1;
  background: #1f2227;
  border: none;
  color: #9aa0a8;
  font-size: 11px;
  font-weight: 600;
  padding: 7px 4px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.12s, color 0.12s;
}
.WhiteMap-Segment-Option + .WhiteMap-Segment-Option {
  border-left: 1px solid #4a5059;
}
.WhiteMap-Segment-Option[data-active] {
  background: #3a5a8a;
  color: #fff;
}
.WhiteMap-Divider {
  height: 1px;
  background: #3a3f47;
  margin: 12px -12px;
}
.WhiteMap-PaletteRow {
  display: none;
}
.WhiteMap[data-auto-color] .WhiteMap-PaletteRow {
  display: block;
}
.WhiteMap[data-auto-color] .WhiteMap-FillRow {
  display: none;
}
.WhiteMap-CropClusterRow {
  display: none;
}
.WhiteMap[data-crop-mode=cluster] .WhiteMap-CropClusterRow {
  display: block;
}
.WhiteMap-CropBoxRow {
  display: none;
}
.WhiteMap[data-crop-mode=box] .WhiteMap-CropBoxRow {
  display: block;
}
.WhiteMap-CropReadoutRow {
  display: none;
}
.WhiteMap[data-crop-mode=cluster] .WhiteMap-CropReadoutRow, .WhiteMap[data-crop-mode=box] .WhiteMap-CropReadoutRow {
  display: block;
}
.WhiteMap-CropBoxClear {
  display: none;
  margin-top: 8px;
}
.WhiteMap[data-has-crop-box] .WhiteMap-CropBoxClear {
  display: block;
}
.WhiteMap-Dock {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  gap: 8px;
  z-index: 20;
}
.WhiteMap-DockButton {
  background: #26292e;
  border: 1px solid #3a3f47;
  color: #9aa0a8;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color 0.12s, border-color 0.12s, background 0.12s;
}
.WhiteMap-DockButton:hover {
  color: #e6e8ea;
  border-color: #3a5a8a;
  background: #2e3239;
}
.WhiteMap-DockButton-Dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6ea8fe;
}
.WhiteMap-History {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  background: #26292e;
  border: 1px solid #3a3f47;
  border-radius: 8px;
  padding: 6px 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  z-index: 25;
}
.WhiteMap-History[data-hidden] {
  display: none;
}
.WhiteMap-HistoryButton {
  background: #1f2227;
  border: 1px solid #4a5059;
  color: #e6e8ea;
  border-radius: 6px;
  width: 34px;
  height: 30px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.12s, border-color 0.12s, opacity 0.12s;
}
.WhiteMap-HistoryButton:hover:not(:disabled) {
  background: #3a3f47;
  border-color: #3a5a8a;
}
.WhiteMap-HistoryButton:disabled {
  opacity: 0.35;
  cursor: default;
}
.WhiteMap-HistoryButton svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #e6e8ea;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.WhiteMap-HistoryInfo {
  font-size: 10.5px;
  color: #6b7178;
  padding: 0 6px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}