.q-theme-switcher {
  isolation: isolate;
  display: flex;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.08),
    0 0 0 1px #fafafa;
  border-radius: 9999px;
  height: 32px;
  width: fit-content;
  padding: 0;
  border: 0;
  margin: 0;
  min-width: 0;
}
.q-theme-switcher[data-small='true'] {
  height: 24px;
}
.q-theme-switcher__option {
  height: 100%;
}
.q-theme-switcher__input,
.q-theme-switcher__hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.q-theme-switcher__label {
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0;
  position: relative;
  cursor: pointer;
  color: #8f8f8f;
}
.q-theme-switcher[data-small='true'] .q-theme-switcher__label {
  width: 24px;
  height: 24px;
}
.q-theme-switcher__label svg {
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
}
.q-theme-switcher__label:hover {
  color: #171717;
}
.q-theme-switcher__input:checked:not(:disabled) + label {
  box-shadow:
    0 0 0 1px #ebebeb,
    0 1px 2px rgba(0, 0, 0, 0.05);
  color: #171717;
  background: var(--ss-surface-light);
}
.q-theme-switcher__input:disabled + label {
  color: #c9c9c9;
  cursor: not-allowed;
}
.q-theme-switcher__input:focus-visible + label {
  box-shadow:
    0 0 0 2px var(--ss-surface-light),
    0 0 0 4px var(--ss-primary) !important;
  color: #171717;
}
[data-theme='dark'] .q-theme-switcher {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.145),
    0 0 0 1px #000;
}
[data-theme='dark'] .q-theme-switcher__label:hover {
  color: #ededed;
}
[data-theme='dark'] .q-theme-switcher__input:checked:not(:disabled) + label {
  box-shadow:
    0 0 0 1px #2e2e2e,
    0 1px 2px rgba(255, 255, 255, 0.06);
  color: #ededed;
  background: #0a0a0a;
}
[data-theme='dark'] .q-theme-switcher__input:disabled + label {
  color: #454545;
}
[data-theme='dark'] .q-theme-switcher__input:focus-visible + label {
  box-shadow:
    0 0 0 2px #0a0a0a,
    0 0 0 4px var(--ss-primary) !important;
  color: #ededed;
}

.q-theme-switcher-page .q-docs__page-heading h1 {
  letter-spacing: -0.06em;
}
.q-theme-switcher-page__guidance ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: disc;
}
.q-theme-switcher-page__guidance li {
  margin: 8px 0 0 32px;
  padding: 2px 0;
  line-height: 24px;
  color: var(--q-gray-900);
}
