:host(:not(:is([hydrated], .hydrated))) {
  @apply not-hydrated;
}


mds-dropdown,
mds-tab,
mds-tab-item,
mds-text {
  &:not(:is([hydrated], .hydrated)) {
    @apply not-hydrated;
  }
}


:host {
  display: grid;
  gap: --spacing(400);
}

/* label and tab, laid out as on the host of the other mds-pref-* (#927): the host gap only
   separates this menu from what follows it */

.menu {
  display: grid;
  gap: --spacing(200);
}

.mds-pref-theme-dropdown {
  gap: --spacing(100);
  padding: --spacing(400);
}

.item {
  --mds-tab-item-default-color: rgb(var(--magma-text-disabled, var(--text-neutral-disabled, 119 119 119)));

  flex-basis: 0;
  flex-grow: 1;
}

.item--theme {
  cursor: pointer;
}

.item--auto,
.item--theme {
  --mds-tab-item-selected-color: rgb(var(--magma-text-muted, var(--text-neutral-muted, 73 73 73)));
}
