/* Independent admin switches and the corresponding disabled public buttons. */
.sa .sa-control-switch {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #dce5dd;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}
.sa .sa-switch-ui { display:flex; align-items:center; gap:12px; position:relative; flex-shrink:0; }
.sa .sa-switch-ui input { position:absolute; width:1px; height:1px; opacity:0; }
.sa .sa-switch-track { width:64px; height:36px; border-radius:24px; background:#66736a; position:relative; }
.sa .sa-switch-track::after { content:""; position:absolute; width:28px; height:28px; top:4px; left:4px; background:#fff; border-radius:50%; transition:transform .15s; }
.sa .sa-switch-ui input:checked ~ .sa-switch-track { background:#086a47; }
.sa .sa-switch-ui input:checked ~ .sa-switch-track::after { transform:translateX(28px); }
.sa .sa-switch-ui input:focus-visible ~ .sa-switch-track { outline:3px solid #956000; outline-offset:4px; }
.sa .sa-state-on, .sa .sa-state-off { width:40px; color:#254d39; }
.sa .sa-switch-ui input:not(:checked) ~ .sa-state-on,
.sa .sa-switch-ui input:checked ~ .sa-state-off { display:none; }
.shindan-page .sd .sd-check .sd-button[data-admin-disabled] {
  background: #5b655e;
  color: #fff;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}
.shindan-page .sd .sd-check .sd-button[data-admin-disabled]::before { display:none; }
@media(max-width:600px) {
  .sa .sa-control-switch { align-items:flex-start; flex-direction:column; gap:12px; }
}
@media(prefers-reduced-motion:reduce) {
  .sa .sa-switch-track::after { transition:none; }
}
