.schedule-part {
  min-width: 0;
  margin: 0;
  padding: 11px 12px 12px;
  border: 1px solid var(--line, #e2e8f1);
  border-radius: 9px;
  background: #f7f9fc;
}
.schedule-part legend { padding: 0 5px; font-size: .83rem; font-weight: 650; color: #233952; }
.schedule-part-master { display: flex; align-items: center; gap: 7px; width: fit-content; min-height: 36px; margin-bottom: 5px; font-size: .83rem; font-weight: 650; cursor: pointer; }
.schedule-part-master input { margin: 0; }
.schedule-part-options { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; }
.schedule-part-days .schedule-part-options { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.schedule-part-options label {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 3px 4px;
  min-height: 38px;
  border: 1px solid #dfe7f1;
  border-radius: 6px;
  background: #fff;
  color: #273f5f;
  font-size: .76rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  cursor: pointer;
}
.schedule-part-options label:has(input:checked) { border-color: #b7c8f2; color: #21468e; background: #edf2ff; }
.schedule-part-options label:focus-within { outline: 2px solid #6f9fff; outline-offset: 1px; }
.schedule-part-options input { width: 13px; height: 13px; margin: 0; }
.schedule-part-hint, .schedule-legacy { color: #52647c; font-size: .76rem; line-height: 1.4; }
.schedule-part-hint { margin: 8px 0 0; }
.schedule-legacy { margin-top: 8px; padding: 8px 9px; border-radius: 7px; background: #fff4e3; color: #734f17; }
.schedule-legacy p { margin: 0; }
.schedule-legacy label { display: flex; align-items: center; gap: 6px; min-height: 33px; width: fit-content; cursor: pointer; }
@media (max-width: 520px) {
  .schedule-part-options, .schedule-part-days .schedule-part-options { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .schedule-part-options label { min-height: 44px; }
}
