body[data-ui-skin="worker"] {
  --gui-select-height: 32px;
  --gui-select-radius: 6px;
  --gui-select-option-radius: 4px;
  --gui-select-border: rgba(255, 255, 255, 0.85);
  --gui-select-bg: var(--surface-2);
  --gui-select-hover-bg: var(--surface-3);
  --gui-select-text: var(--text);
  --gui-select-muted: var(--muted);
  --gui-select-menu-border: var(--line);
  --gui-select-menu-bg: var(--surface-2);
  --gui-select-menu-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  --gui-select-option-hover: rgba(255, 255, 255, 0.04);
  --gui-select-active-bg: #82b1ff;
  --gui-select-active-text: #111111;
  --gui-select-font-size: 12px;
}

body[data-ui-skin="admin"] {
  --gui-select-height: 36px;
  --gui-select-radius: 9px;
  --gui-select-option-radius: 6px;
  --gui-select-border: #292929;
  --gui-select-bg: #161616;
  --gui-select-hover-bg: #1c1c1c;
  --gui-select-text: #e2e2e2;
  --gui-select-muted: #aaa;
  --gui-select-menu-border: #292929;
  --gui-select-menu-bg: #151515;
  --gui-select-menu-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  --gui-select-option-hover: #1f1f1f;
  --gui-select-active-bg: #2ee59d;
  --gui-select-active-text: #07120d;
  --gui-select-font-size: 11px;
}

:where(body[data-ui-skin]) .custom-select-host,
:where(body[data-ui-skin]) .custom-select {
  position: relative;
  min-width: 168px;
}

:where(body[data-ui-skin]) .custom-select-trigger {
  width: 100%;
  height: var(--gui-select-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px 0 12px;
  border: 1px solid var(--gui-select-border);
  border-radius: var(--gui-select-radius);
  background: var(--gui-select-bg);
  color: var(--gui-select-text);
  font: inherit;
  font-size: var(--gui-select-font-size);
  font-weight: 450;
  cursor: pointer;
  text-align: left;
}

:where(body[data-ui-skin]) .custom-select-trigger:hover {
  background: var(--gui-select-hover-bg);
}

:where(body[data-ui-skin]) .custom-select-label {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

:where(body[data-ui-skin]) .custom-select-chevron {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-right: 1.5px solid var(--gui-select-muted);
  border-bottom: 1.5px solid var(--gui-select-muted);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.15s;
}

:where(body[data-ui-skin]) .custom-select.is-open .custom-select-chevron {
  transform: rotate(-135deg) translateY(1px);
}

:where(body[data-ui-skin]) .custom-select-menu {
  position: fixed;
  z-index: 10000;
  min-width: 168px;
  padding: 4px;
  border: 1px solid var(--gui-select-menu-border);
  border-radius: var(--gui-select-radius);
  background: var(--gui-select-menu-bg);
  box-shadow: var(--gui-select-menu-shadow);
}

:where(body[data-ui-skin]) .custom-select-menu:not([hidden]) {
  display: block;
}

:where(body[data-ui-skin]) .custom-select-option {
  width: 100%;
  display: block;
  padding: 8px 10px;
  border: 0;
  border-radius: var(--gui-select-option-radius);
  background: transparent;
  color: var(--gui-select-muted);
  font: inherit;
  font-size: var(--gui-select-font-size);
  text-align: left;
  cursor: pointer;
}

:where(body[data-ui-skin]) .custom-select-option:hover {
  color: var(--gui-select-text);
  background: var(--gui-select-option-hover);
}

:where(body[data-ui-skin]) .custom-select-option.is-selected {
  color: var(--gui-select-active-text);
  background: var(--gui-select-active-bg);
}

@media (prefers-reduced-motion: reduce) {
  :where(body[data-ui-skin]) .custom-select-chevron {
    transition: none;
  }
}
