/* One quiet desktop theme control, including the first-workspace screen.
   Mobile keeps the existing public-page and profile controls. */
@media (min-width: 641px) {
  html[data-theme] body.slotic-theme :is(.public-theme-switch, .workspace-onboarding-theme) {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 4px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  html[data-theme] body.slotic-theme .public-theme-switch::before { content: none; }
  html[data-theme] body.slotic-theme :is(.public-theme-switch, .workspace-onboarding-theme) button {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    min-height: 40px !important;
    height: 40px !important;
    margin: 0;
    padding: 9px;
    border: 0;
    border-radius: 8px;
    background: transparent !important;
    color: var(--muted) !important;
    box-shadow: none;
    transform: none;
    cursor: pointer;
    transition: background-color 120ms, color 120ms;
  }
  html[data-theme] body.slotic-theme :is(.public-theme-switch, .workspace-onboarding-theme) button:hover {
    background: color-mix(in srgb, var(--muted) 6%, transparent) !important;
    color: var(--text) !important;
  }
  html[data-theme] body.slotic-theme :is(.public-theme-switch, .workspace-onboarding-theme) button[aria-pressed="true"] {
    background: color-mix(in srgb, var(--muted) 10%, transparent) !important;
    color: var(--text) !important;
  }
  html[data-theme] body.slotic-theme :is(.public-theme-switch, .workspace-onboarding-theme) button:focus-visible {
    outline: 2px solid var(--honey);
    outline-offset: 3px;
  }
  html[data-theme] body.slotic-theme :is(.public-theme-switch, .workspace-onboarding-theme) svg {
    width: 20px;
    height: 20px;
    margin: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}
@media (prefers-reduced-motion: reduce) {
  html[data-theme] body.slotic-theme :is(.public-theme-switch, .workspace-onboarding-theme) button { transition: none; }
}
