/* Shared with the standalone handoff page; independent of workspace styles. */
button.theme-toggle {
  display: inline-grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  min-height: 36px;
  margin: 0 0 0 auto;
  padding: 0;
  border: 1px solid var(--line-1);
  border-radius: var(--r-pill);
  background: var(--bg-1);
  color: var(--ink-0);
  font: 24px/1 var(--font-ui);
  cursor: pointer;
}
button.theme-toggle:hover { background: var(--bg-2); border-color: var(--line-2); transform: none; }
button.theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[data-theme-status] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.theme-toggle ~ .header-actions { margin-left: 0; }
body[data-page="wizard"] .theme-toggle { order: 1; }
.handoff-shell > .theme-toggle { float: right; }
@media (max-width: 760px) {
  button.theme-toggle { flex-basis: 44px; width: 44px; min-height: 44px; }
}
