#apple-shell .appearance-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .25rem .75rem;
  min-height: 46px;
  padding: .375rem .625rem;
  font: 500 var(--ap-control,.9375rem)/1.35 var(--ap-font);
}
#apple-shell .appearance-switch {
  --switch-track: rgb(255 255 255 / 10%);
  --switch-text: #e0e0e5;
  --switch-selected: #636369;
  --switch-selected-text: #fff;
  --switch-hover: rgb(255 255 255 / 8%);
  display: inline-flex;
  align-items: stretch;
  min-inline-size: 0;
  flex: none;
  margin: 0;
  max-height: none;
  overflow: visible;
  border: 0;
  border-radius: 2rem;
  padding: 3px;
  background: var(--switch-track);
}
html[data-appearance="light"] #apple-shell .appearance-switch {
  --switch-track: rgb(90 90 100 / 10%);
  --switch-text: #515157;
  --switch-selected: #fff;
  --switch-selected-text: #1d1d1f;
  --switch-hover: rgb(255 255 255 / 55%);
}
#apple-shell .appearance-option {
  display: grid;
  position: relative;
  color: var(--switch-text);
}
#apple-shell .appearance-switch input[type="radio"] {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
#apple-shell .appearance-icon {
  display: grid;
  place-items: center;
  min-inline-size: 2.25rem;
  min-block-size: 1.75rem;
  border-radius: 2rem;
}
#apple-shell .appearance-icon::before {
  content: "";
  inline-size: 1.25rem;
  block-size: 1.25rem;
  background: currentColor;
  -webkit-mask: var(--appearance-icon) center / contain no-repeat;
  mask: var(--appearance-icon) center / contain no-repeat;
}
#apple-shell .appearance-switch input[value="light"] + span { --appearance-icon: url("/workspace-assets/sun.max.svg?v=2e220663c3d5b4a8d9ff700e4c7dc643213594c7abd0ada46e9605916d1cbc07"); }
#apple-shell .appearance-switch input[value="dark"] + span { --appearance-icon: url("/workspace-assets/moon.svg?v=2e220663c3d5b4a8d9ff700e4c7dc643213594c7abd0ada46e9605916d1cbc07"); }
html[data-appearance="light"] #apple-shell .appearance-switch input[value="light"] + span,
html[data-appearance="dark"] #apple-shell .appearance-switch input[value="dark"] + span,
html:not([data-appearance]) #apple-shell .appearance-switch input:checked + span {
  color: var(--switch-selected-text);
  background: var(--switch-selected);
  box-shadow: 0 1px 3px rgb(0 0 0 / 17%);
}
#apple-shell .appearance-switch input:focus-visible + span {
  outline: 2px solid currentColor;
  outline-offset: 1px;
}
@media (hover: hover) {
  #apple-shell .appearance-switch input:not(:checked):hover + span { background: var(--switch-hover); }
}
@media (pointer: coarse) {
  #apple-shell .appearance-option { min-inline-size: 44px; }
  #apple-shell .appearance-switch input[type="radio"] { inset-block: 50% auto; height: max(100%,44px); transform: translateY(-50%); }
}
@media (forced-colors: active) {
  #apple-shell .appearance-switch { border: 1px solid ButtonText; }
  #apple-shell .appearance-icon::before { forced-color-adjust: none; background: ButtonText; }
  html[data-appearance="light"] #apple-shell .appearance-switch input[value="light"] + span,
html[data-appearance="dark"] #apple-shell .appearance-switch input[value="dark"] + span,
html:not([data-appearance]) #apple-shell .appearance-switch input:checked + span { outline: 2px solid Highlight; outline-offset: -3px; }
  #apple-shell .appearance-switch input:focus-visible + span { outline: 2px dashed ButtonText; outline-offset: 0; }
}
