#weekGrid .pbDayVisibility { display: none; }
#weekGrid [data-pb-publication] { min-width: 96px; margin-top: 4px; }
#weekGrid .pbPublicationSwitch {
  --publication-on: #117447;
  --publication-off: #5c6472;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 58px;
  margin: 0;
  padding: 4px;
  cursor: pointer;
  color: #eef3fb;
  font: 600 12px/1.25 system-ui, sans-serif;
  letter-spacing: 0;
}
#weekGrid .pbPublicationSwitch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
#weekGrid .pbPublicationTrack {
  display: block;
  position: relative;
  width: 44px;
  height: 26px;
  flex: 0 0 26px;
  border: 1px solid transparent;
  border-radius: 20px;
  background: var(--publication-off);
  box-sizing: border-box;
  pointer-events: none;
}
#weekGrid .pbPublicationTrack::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 120ms ease;
}
#weekGrid .pbPublicationSwitch input:checked + .pbPublicationTrack { background: var(--publication-on); }
#weekGrid .pbPublicationSwitch input:checked + .pbPublicationTrack::after { transform: translateX(18px); }
#weekGrid .pbPublicationSwitch input:focus-visible + .pbPublicationTrack { outline: 3px solid #41bcef; outline-offset: 3px; }
#weekGrid .pbPublicationSwitch input:disabled { cursor: not-allowed; }
#weekGrid .pbPublicationSwitch input:disabled + .pbPublicationTrack { opacity: .6; }
#weekGrid .pbPublicationStatus { color: inherit; white-space: normal; pointer-events: none; }
body[data-theme="light"] #weekGrid .pbPublicationSwitch { color: #163248; }
body[data-theme="dark"] #weekGrid .pbPublicationSwitch { color: #eef3fb; --publication-on: #168351; --publication-off: #626d7e; }
@media(prefers-reduced-motion: reduce) { #weekGrid .pbPublicationTrack::after { transition: none; } }
