.toggle-button {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.toggle-button:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.toggle-switch {
  width: 44px;
  height: 24px;
  border-radius: var(--radius-full);
  background: #ECE6DC;
  position: relative;
  flex-shrink: 0;
  border: 1px solid var(--line);
  transition: background .35s ease, border-color .35s ease;
  pointer-events: none;
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
  transition: left .35s cubic-bezier(.4,.0,.2,1);
}

.toggle-switch.on {
  background: var(--gold);
  border-color: var(--gold-deep);
}

.toggle-switch.on::after {
  left: 22px;
}

.toggle-label {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  transition: color .25s ease;
}

.toggle-button:hover .toggle-label {
  color: var(--gold-deep);
}
