#vb_layoutWrapper {
  position: relative;
  width: 100%;
  height: 100%;
  --vb-bg: #f4f7fb;
  --vb-panel: #ffffff;
  --vb-panel-muted: #f8fafc;
  --vb-border: #dbe4f0;
  --vb-border-strong: #cbd7e6;
  --vb-text: #1f2937;
  --vb-muted: #687385;
  --vb-blue: var(--affiliBlue, #0059a8);
  --vb-blue-soft: #eaf3ff;
  --vb-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

#layoutContainer {
  width: 100%;
  height: 100%;
  background: var(--vb-bg);
  color: var(--vb-text);
  padding: 10px;
  box-sizing: border-box;
}

#layoutContainer .lm_content,
#layoutContainer .lm_item,
#layoutContainer .lm_item_container {
  min-height: 0;
}

#layoutContainer .lm_goldenlayout,
#layoutContainer .lm_root,
#layoutContainer .lm_row,
#layoutContainer .lm_column,
#layoutContainer .lm_stack,
#layoutContainer .lm_items,
#layoutContainer .lm_item_container {
  background: transparent;
}

#layoutContainer .lm_stack {
  border: 1px solid var(--vb-border);
  border-radius: 8px;
  box-shadow: var(--vb-shadow);
  overflow: hidden;
}

#layoutContainer .lm_header {
  height: 30px !important;
  background: var(--vb-panel);
  border-bottom: 1px solid var(--vb-border);
}

#layoutContainer .lm_tabs {
  height: 30px;
  padding-left: 8px;
}

#layoutContainer .lm_tab {
  height: 30px !important;
  line-height: 30px !important;
  margin: 0 6px 0 0 !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--vb-muted) !important;
  font-size: 12px;
  font-weight: 700;
}

#layoutContainer .lm_tab.lm_active {
  color: var(--vb-blue) !important;
  box-shadow: inset 0 -2px 0 var(--vb-blue) !important;
}

#layoutContainer .lm_tab:hover {
  color: var(--vb-blue) !important;
}

#layoutContainer .lm_title {
  color: inherit !important;
}

#layoutContainer .lm_splitter {
  background: transparent !important;
  opacity: 1;
}

#layoutContainer .lm_splitter:hover,
#layoutContainer .lm_splitter.lm_dragging {
  background: rgba(0, 89, 168, 0.12) !important;
}

#layoutContainer .lm_content {
  position: relative;
  background: var(--vb-panel-muted);
  border: 0 !important;
  box-shadow: none !important;
  overflow: hidden;
}

#layoutContainer .lm_stack:has(#vb_topbar) {
  min-height: 92px;
}

#layoutContainer .lm_content:has(#vb_topbar) {
  min-height: 52px;
  overflow: visible;
  background: var(--vb-panel);
}

#vb_loading_mask {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.25);
  z-index: 9999;
}

#vb_loading_mask[hidden] {
  display: none;
}

.vb-loading-inner {
  display: flex;
  width: 100px;
  height: 100px;
  background-color: white;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
}

.lm_close_tab {
  display: none !important;
}

.iconBox {
  width: 52px;
  height: 52px;
  margin: 0;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #5f6b7a;
  box-sizing: border-box;
  transition: background-color 120ms ease, border-color 120ms ease, box-shadow 120ms ease, color 120ms ease;
}

#map_builderTopToolbar {
  height: 100%;
  min-height: 48px;
  align-items: center;
  background: var(--vb-panel);
  border-bottom: 1px solid var(--vb-border);
  color: var(--vb-text);
  box-sizing: border-box;
  padding: 0 12px;
}

#mapBuilder_iconBox {
  width: 34px;
  height: 34px;
  margin-left: 0;
  margin-top: 0;
  padding: 4px;
  border: 1px solid var(--vb-border);
  border-radius: 8px;
  background: var(--vb-blue-soft);
  box-sizing: border-box;
}
#mapBuilder_icon{
  width:100%;
  height:100%;
  object-fit: contain;
}
#mapBuilder_name{
  margin-left: 10px;
  margin-right: 8px;
  color: var(--vb-text);
  font-size: 15px;
  font-weight: 800;

}

.separator {
  width: 1px;
  align-self: center;
  height: 26px;
  background: var(--vb-border);
  flex: 0 0 auto;
}

.iconBox:hover {
  background: var(--vb-blue-soft);
  border-color: #bdd8f6;
  color: var(--vb-blue);
  fill: var(--vb-blue);
  cursor: pointer;
}

.buttonBox {
  height: 100%;
  display: flex;
  align-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  overflow-y: auto;
  padding: 12px;
  background: var(--vb-panel);
  box-sizing: border-box;
}

.vb-toolbox {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: var(--vb-panel);
  overflow-y: auto;
  overflow-x: hidden;
}

.vb-toolbox__section {
  padding: 10px 12px 12px;
  border-bottom: 1px solid var(--vb-border);
  box-sizing: border-box;
}

.vb-toolbox__section--zone {
  padding-bottom: 10px;
}

.vb-toolbox__sectionTitle {
  margin-bottom: 8px;
  color: var(--vb-blue);
  font-size: 12px;
  font-weight: 800;
}

.vb-toolbox__zoneButton {
  min-height: 34px;
  width: 100%;
}

.vb-toolbox__palette {
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 0;
  overflow: visible;
  background: transparent;
}

.vb-background-tools {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vb-background-tools__primary {
  width: 100%;
  min-height: 34px;
}

.vb-background-tools__hint,
.vb-background-tools__status {
  color: var(--vb-muted);
  font-size: 11px;
  line-height: 1.35;
}

.vb-background-tools__status {
  padding: 6px 8px;
  border: 1px solid var(--vb-border);
  border-radius: 6px;
  background: var(--vb-panel-muted);
  word-break: break-word;
}

.vb-background-tools__status.is-empty {
  color: #7b8796;
}

.vb-background-tools__actions {
  display: flex;
  gap: 6px;
}

.vb-background-tools__actions .vb-btn-secondary,
.vb-background-tools__actions .vb-btn-danger {
  flex: 1 1 0;
  min-height: 30px;
  font-size: 11px;
}

#layoutContainer .accordion-content {
  width: 100%;
  align-content: flex-start;
  align-items: flex-start;
  gap: 8px;
}

.vb-properties-panel {
  position: absolute;
  inset: 0;
  height: auto;
  width: 100%;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  padding: 12px 12px 16px;
  background: var(--vb-panel);
}

.vb-properties-panel > * {
  max-width: 100%;
}

#layoutContainer .lm_content:has(#canvas),
#layoutContainer .lm_content:has(.canvas-container) {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 16px;
  background:
    linear-gradient(45deg, rgba(148, 163, 184, 0.08) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(148, 163, 184, 0.08) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(148, 163, 184, 0.08) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(148, 163, 184, 0.08) 75%),
    #eef3f8;
  background-position: 0 0, 0 12px, 12px -12px, -12px 0;
  background-size: 24px 24px;
}

#layoutContainer .canvas-container {
  background: #ffffff;
  border: 1px solid var(--vb-border-strong);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
}

#canvas {
  background-color: white;
  width: 100%;
  height: 100%;
}

.iconBoxSelected {
  background-color: var(--vb-blue-soft) !important;
  border-color: #a7cdf7 !important;
  color: var(--vb-blue) !important;
  fill: var(--vb-blue) !important;
  box-shadow: inset 0 0 0 1px rgba(0, 89, 168, 0.08);
}

.smallToolBtn {
  width: 34px;
  height: 34px;
  font-size: 20px;
  border-radius: 8px;
  cursor: pointer;
  margin: 0 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #647083;
  border: 1px solid transparent;
  background: transparent;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}

.smallToolBtn:hover {
  color: var(--vb-blue);
  background: var(--vb-blue-soft);
  border-color: #bdd8f6;
}

.smallToolBtnIcon{
  font-size: 18px;
  line-height: normal;
  margin: auto;
}

.smallToolBtn:disabled {
	color: #ccd1d8;
	fill: #ccd1d8;
	cursor: auto;
}

.vb_objectListItem {
  cursor: pointer;
  margin: 0 0 2px;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--vb-muted);
  font-size: 13px;
  line-height: 1.25;
  transition: background-color 120ms ease, color 120ms ease;
}

.obj_id{
  display: none;
}

#vb_list{
  margin: 0;
  padding: 4px;
  list-style-type: none;
}

#vb_searchInput{
  width: calc(100% - 8px);
  margin: 4px 4px 10px;
  padding: 9px 10px;
  border: 1px solid var(--vb-border-strong);
  border-radius: 8px;
  background: #ffffff;
  color: var(--vb-text);
  font-size: 14px;
  box-sizing: border-box;
  outline: none;
}

#vb_searchInput:focus {
  border-color: #9bc5f3;
  box-shadow: 0 0 0 3px rgba(0, 89, 168, 0.12);
}

.vb_objectListItem:hover{
  background-color: var(--vb-blue-soft);
  color: var(--vb-blue);
}

.vb_objectListItem.is-selected,
.vb_objectListItem.active {
  background-color: var(--vb-blue);
  color: white;
}

.vb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border: none;
  border-radius: 4px;
  background-color: var(--affiliBlue);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
}

.vb-btn:hover {
  background-color: #0e5ec7;
}

.vb-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.vb-btn-secondary {
  background-color: transparent;
  color: var(--textColor);
  border: 1px solid #d1d5db;
}

.vb-btn-secondary:hover {
  background-color: #f3f4f6;
}

.vb-btn-danger {
  background-color: #dc2626;
}

.vb-btn-danger:hover {
  background-color: #b91c1c;
}

.vb-btn-secondary:disabled,
.vb-btn-danger:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.zone-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  min-height: 0;
  padding: 10px 12px;
  box-sizing: border-box;
  background: var(--vb-panel);
}

.zone-panel__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.zone-panel__list {
  flex: 1 1 auto;
  min-height: 74px;
  overflow-y: auto;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background-color: #fff;
  padding: 4px;
}

.zone-panel__empty {
  padding: 16px;
  text-align: center;
  color: #6b7280;
  font-size: 12px;
}

.zone-panel__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
}

.zone-panel__item:hover {
  background-color: #eff6ff;
}

.zone-panel__item--active {
  background-color: var(--affiliBlue);
  color: #fff;
}

.zone-panel__itemColor {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.2);
  margin-right: 8px;
  flex-shrink: 0;
}

.zone-panel__itemMain {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.zone-panel__itemName {
  font-size: 12px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zone-panel__itemButtons {
  display: flex;
  gap: 6px;
}

.zone-panel__itemButton {
  border: none;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  font-size: 14px;
  border-radius: 4px;
}

.zone-panel__itemButton:hover {
  background-color: rgba(59, 130, 246, 0.1);
  color: #1d4ed8;
}

.zone-panel__itemButton--danger {
  color: #dc2626;
}

.zone-panel__itemButton--danger:hover {
  color: #b91c1c;
  background-color: rgba(220, 38, 38, 0.12);
}

.zone-panel__form {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 10px 12px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 0 0 auto;
}

.zone-panel__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
}

.zone-panel__input {
  padding: 6px 8px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 12px;
}

.zone-panel__field--color {
  flex-direction: column;
}

.zone-panel__field--color .zone-panel__input--color {
  width: 60px;
  padding: 0;
  height: 32px;
}

.zone-panel__field--color .zone-panel__input {
  width: 100%;
}

.zone-panel__controls {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.zone-panel__hint {
  font-size: 11px;
  color: #6b7280;
  margin: 0;
}

.zone-properties {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}

.zone-properties__header {
  margin: 0 0 2px;
  padding: 10px 12px;
  border: 1px solid #dde2ea;
  border-radius: 8px;
  background: #ffffff;
}

.zone-properties__title {
  color: #111827;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.zone-properties__subtitle {
  margin-top: 3px;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.35;
}

.zone-properties__form {
  margin: 0;
}

.map-properties {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.map-properties__header,
.map-properties__form {
  padding: 12px;
  border: 1px solid var(--vb-border);
  border-radius: 8px;
  background: var(--vb-panel-muted);
}

.map-properties__title {
  color: var(--vb-text);
  font-size: 14px;
  font-weight: 800;
}

.map-properties__subtitle,
.map-properties__hint,
.map-properties__status {
  color: var(--vb-muted);
  font-size: 12px;
  line-height: 1.4;
}

.map-properties__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.map-properties__preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 116px;
  border: 1px dashed var(--vb-border-strong);
  border-radius: 8px;
  background-color: #ffffff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  color: var(--vb-muted);
  font-size: 12px;
  text-align: center;
}

.map-properties__preview.has-background {
  border-style: solid;
}

.map-properties__warning {
  padding: 8px;
  border: 1px solid #f59e0b;
  border-radius: 6px;
  background: #fff7ed;
  color: #92400e;
  font-size: 12px;
  line-height: 1.35;
}

.map-properties__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.map-properties__actions .vb-btn,
.map-properties__actions .vb-btn-secondary,
.map-properties__actions .vb-btn-danger {
  min-height: 32px;
}

.map-properties__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--vb-text);
  font-size: 12px;
  font-weight: 700;
}

.map-properties__select {
  width: 100%;
  min-height: 34px;
  padding: 6px 8px;
  border: 1px solid var(--vb-border-strong);
  border-radius: 6px;
  background: #ffffff;
  color: var(--vb-text);
  font-size: 13px;
  box-sizing: border-box;
}

.map-properties__rangeRow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: center;
  gap: 8px;
}

.map-properties__rangeRow input[type="range"] {
  width: 100%;
}

.map-properties__rangeRow output {
  color: var(--vb-muted);
  font-size: 12px;
  text-align: right;
}

:root.sl-theme-dark #vb_layoutWrapper {
  --vb-bg: var(--mm-dark-bg, #0b1120);
  --vb-panel: var(--mm-dark-surface-2, #111827);
  --vb-panel-muted: var(--mm-dark-surface, #0f172a);
  --vb-border: rgba(148, 163, 184, 0.2);
  --vb-border-strong: rgba(148, 163, 184, 0.28);
  --vb-text: var(--mm-dark-text, #f8fafc);
  --vb-muted: var(--mm-dark-muted, #94a3b8);
  --vb-blue-soft: rgba(59, 130, 246, 0.16);
  --vb-shadow: 0 16px 34px rgba(2, 6, 23, 0.35);
}

:root.sl-theme-dark #layoutContainer {
  background: var(--vb-bg);
  --textColor: #e2e8f0;
  --border-color: rgba(148, 163, 184, 0.2);
}

:root.sl-theme-dark #layoutContainer .lm_goldenlayout,
:root.sl-theme-dark #layoutContainer .lm_root,
:root.sl-theme-dark #layoutContainer .lm_row,
:root.sl-theme-dark #layoutContainer .lm_column,
:root.sl-theme-dark #layoutContainer .lm_stack,
:root.sl-theme-dark #layoutContainer .lm_items,
:root.sl-theme-dark #layoutContainer .lm_item_container {
  background: transparent;
}

:root.sl-theme-dark #layoutContainer .lm_stack {
  border-color: var(--vb-border);
  box-shadow: var(--vb-shadow);
}

:root.sl-theme-dark #layoutContainer .lm_header {
  background: var(--vb-panel);
  border-bottom-color: var(--vb-border);
}

:root.sl-theme-dark #layoutContainer .lm_tab {
  background: transparent !important;
  color: var(--vb-muted) !important;
  border: 0 !important;
}

:root.sl-theme-dark #layoutContainer .lm_tab.lm_active,
:root.sl-theme-dark #layoutContainer .lm_tab:hover {
  background: transparent !important;
  color: var(--vb-text) !important;
}

:root.sl-theme-dark #layoutContainer .lm_title {
  color: var(--mm-dark-text, #f8fafc);
}

:root.sl-theme-dark #layoutContainer .lm_content,
:root.sl-theme-dark #layoutContainer .lm_item,
:root.sl-theme-dark #layoutContainer .lm_item_container {
  background: var(--vb-panel-muted);
  border: 0;
  box-shadow: none;
}

:root.sl-theme-dark #layoutContainer .lm_splitter {
  background: transparent !important;
}

:root.sl-theme-dark #layoutContainer .lm_splitter:hover,
:root.sl-theme-dark #layoutContainer .lm_splitter.lm_dragging {
  background: rgba(148, 163, 184, 0.16) !important;
}

:root.sl-theme-dark #layoutContainer .lm_content:has(#canvas),
:root.sl-theme-dark #layoutContainer .lm_content:has(.canvas-container) {
  background:
    linear-gradient(45deg, rgba(148, 163, 184, 0.06) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(148, 163, 184, 0.06) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(148, 163, 184, 0.06) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(148, 163, 184, 0.06) 75%),
    var(--vb-bg);
  background-position: 0 0, 0 12px, 12px -12px, -12px 0;
  background-size: 24px 24px;
}

:root.sl-theme-dark #layoutContainer .canvas-container {
  background: var(--vb-panel);
  border-color: var(--vb-border-strong);
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.45);
}

:root.sl-theme-dark #map_builderTopToolbar {
  background: var(--vb-panel);
  border-bottom-color: var(--vb-border);
  color: var(--vb-text);
}

:root.sl-theme-dark #map_builderTopToolbar sl-divider {
  --color: rgba(148, 163, 184, 0.35) !important;
}

:root.sl-theme-dark #mapBuilder_name {
  color: var(--vb-text);
}

:root.sl-theme-dark #mapBuilder_iconBox {
  border-color: var(--vb-border);
  background: var(--vb-blue-soft);
}

:root.sl-theme-dark .separator {
  background: var(--vb-border);
}

:root.sl-theme-dark .smallToolBtn {
  color: var(--vb-muted);
}

:root.sl-theme-dark .smallToolBtn:hover {
  color: var(--vb-text);
  background: var(--vb-blue-soft);
  border-color: var(--vb-border-strong);
}

:root.sl-theme-dark .iconBoxSelected {
  background-color: var(--vb-blue-soft) !important;
  border-color: rgba(147, 197, 253, 0.45) !important;
  color: var(--vb-text) !important;
}

:root.sl-theme-dark .buttonBox {
  background: var(--vb-panel);
}

:root.sl-theme-dark .accordion-content {
  background: transparent;
}

:root.sl-theme-dark .iconBox {
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: transparent;
  color: var(--vb-muted);
}

:root.sl-theme-dark .iconBox:hover {
  border-color: rgba(148, 163, 184, 0.35);
  background: var(--vb-blue-soft);
  color: var(--vb-text);
}

:root.sl-theme-dark #canvas {
  background-color: var(--vb-panel);
}

:root.sl-theme-dark #vb_zoomPercent {
  color: var(--mm-dark-muted, #94a3b8);
}

:root.sl-theme-dark #canvasObjects,
:root.sl-theme-dark #vb_list {
  color: var(--mm-dark-body, #cbd5e1);
}

:root.sl-theme-dark #vb_searchInput {
  background: var(--vb-panel-muted);
  color: var(--vb-text);
  border-color: var(--vb-border);
}

:root.sl-theme-dark #vb_searchInput::placeholder {
  color: var(--mm-dark-muted, #94a3b8);
}

:root.sl-theme-dark .vb_objectListItem {
  color: var(--mm-dark-body, #cbd5e1);
}

:root.sl-theme-dark .vb_objectListItem:hover {
  background-color: var(--vb-blue-soft);
  color: var(--vb-text);
}

:root.sl-theme-dark .vb_objectListItem.is-selected,
:root.sl-theme-dark .vb_objectListItem.active {
  background-color: #1d4ed8;
  color: #ffffff;
}

:root.sl-theme-dark .vb-btn {
  background-color: #1C2530;
  color: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

:root.sl-theme-dark .vb-btn:hover {
  background-color: #273241;
}

:root.sl-theme-dark .vb-btn-secondary {
  background-color: transparent;
  color: var(--mm-dark-body, #cbd5e1);
  border-color: rgba(148, 163, 184, 0.35);
}

:root.sl-theme-dark .vb-btn-secondary:hover {
  background-color: rgba(148, 163, 184, 0.12);
}

:root.sl-theme-dark .zone-panel__list,
:root.sl-theme-dark .zone-panel__form {
  background-color: var(--mm-dark-surface-2, #111827);
  border-color: var(--mm-dark-border, rgba(148, 163, 184, 0.2));
}

:root.sl-theme-dark .zone-panel__empty,
:root.sl-theme-dark .zone-panel__hint {
  color: var(--mm-dark-muted, #94a3b8);
}

:root.sl-theme-dark .zone-properties__header,
:root.sl-theme-dark .zone-properties__form {
  background: var(--mm-dark-surface-2, #111827);
  border-color: var(--mm-dark-border, rgba(148, 163, 184, 0.2));
}

:root.sl-theme-dark .zone-properties__title {
  color: var(--mm-dark-text, #f8fafc);
}

:root.sl-theme-dark .zone-properties__subtitle {
  color: var(--mm-dark-muted, #94a3b8);
}

:root.sl-theme-dark .map-properties__header,
:root.sl-theme-dark .map-properties__form {
  background: var(--mm-dark-surface-2, #111827);
  border-color: var(--mm-dark-border, rgba(148, 163, 184, 0.2));
}

:root.sl-theme-dark .map-properties__title {
  color: var(--mm-dark-text, #f8fafc);
}

:root.sl-theme-dark .map-properties__subtitle,
:root.sl-theme-dark .map-properties__hint,
:root.sl-theme-dark .map-properties__status,
:root.sl-theme-dark .map-properties__rangeRow output {
  color: var(--mm-dark-muted, #94a3b8);
}

:root.sl-theme-dark .map-properties__preview,
:root.sl-theme-dark .map-properties__select,
:root.sl-theme-dark .vb-background-tools__status {
  background-color: var(--mm-dark-surface, #0f172a);
  color: var(--mm-dark-body, #cbd5e1);
  border-color: var(--mm-dark-border, rgba(148, 163, 184, 0.2));
}

:root.sl-theme-dark .map-properties__field {
  color: var(--mm-dark-text, #f8fafc);
}

:root.sl-theme-dark .map-properties__warning {
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.45);
  color: #fbbf24;
}

:root.sl-theme-dark .zone-panel__item {
  color: var(--mm-dark-body, #cbd5e1);
}

:root.sl-theme-dark .zone-panel__item:hover {
  background-color: rgba(148, 163, 184, 0.12);
}

:root.sl-theme-dark .zone-panel__item--active {
  background-color: #1C2530;
  color: #f8fafc;
}

:root.sl-theme-dark .zone-panel__itemButton {
  color: var(--mm-dark-muted, #94a3b8);
}

:root.sl-theme-dark .zone-panel__itemButton:hover {
  background-color: rgba(148, 163, 184, 0.12);
  color: #f8fafc;
}

:root.sl-theme-dark .zone-panel__itemButton--danger,
:root.sl-theme-dark .zone-panel__itemButton--danger:hover {
  color: #f87171;
}

:root.sl-theme-dark .zone-panel__input {
  background-color: var(--mm-dark-surface, #0f172a);
  color: var(--mm-dark-text, #f8fafc);
  border-color: var(--mm-dark-border, rgba(148, 163, 184, 0.2));
}

.toolbar_shape{
  fill:#6B6B6B;
}
