.themed-select-native[hidden] { display: none !important; }
#app-selector[hidden] { display: none !important; }

.themed-select-trigger {
  display: inline-flex;
  flex: 0 0 112px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 112px;
  min-width: 0;
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--input-border, #d1d5db);
  border-radius: 6px;
  background: var(--white, #fff);
  color: var(--text-primary, #1f2937);
  font: 400 12px/1.5 var(--ui-font-sans, sans-serif);
  letter-spacing: 0;
  text-align: left;
  cursor: pointer;
}
.themed-select-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.themed-select-trigger > i { flex: 0 0 12px; color: var(--text-secondary, #667085); font-size: 11px; }
.themed-select-trigger:hover:not(:disabled),
.themed-select-trigger[aria-expanded="true"] { border-color: var(--primary, #7556d5); }
.themed-select-trigger:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--primary, #7556d5) 24%, transparent);
  outline-offset: 2px;
}
.themed-select-trigger:disabled { opacity: .5; cursor: not-allowed; }

.themed-select-menu {
  position: fixed;
  z-index: 12000;
  box-sizing: border-box;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px;
  border: 1px solid var(--input-border, #d1d5db);
  border-radius: 8px;
  background: var(--white, #fff);
  color: var(--text-primary, #1f2937);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .14);
  font: 400 12px/1.5 var(--ui-font-sans, sans-serif);
  letter-spacing: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--input-border, #d1d5db) transparent;
}
.themed-select-menu[hidden] { display: none; }
.themed-select-option {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 9px;
  box-sizing: border-box;
  border-radius: 4px;
  cursor: pointer;
}
.themed-select-option > span { min-width: 0; overflow-wrap: anywhere; }
.themed-select-option > i { flex: 0 0 12px; opacity: 0; color: var(--primary, #7556d5); font-size: 11px; }
.themed-select-option[aria-selected="true"] { font-weight: 500; }
.themed-select-option[aria-selected="true"] > i { opacity: 1; }
.themed-select-option[aria-selected="true"],
.themed-select-option.is-active {
  background: color-mix(in srgb, var(--primary, #7556d5) 10%, var(--white, #fff));
}
.themed-select-option[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
