.template-weekdays {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.template-weekdays fieldset {
  min-width: 0;
  margin: 0;
  padding: 10px 12px 12px;
  border: 1px solid var(--border, #293442);
  border-radius: 6px;
}
.template-weekdays legend {
  padding: 0 4px;
  font-size: 13px;
}
.template-weekdays .weekday-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
  gap: 8px;
}
.template-weekdays .weekday-options label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: 13px;
  cursor: pointer;
}
.template-weekdays .weekday-options input {
  appearance: auto;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin: 0;
  accent-color: #245be8;
}
.template-weekdays.hidden { display: none; }
