.schedule-table .schedule-cell-v423 {
  min-width: 62px;
  padding: 0 !important;
  vertical-align: middle;
}

.schedule-cell-v423 .schedule-cell-edit {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  cursor: pointer;
}

.schedule-cell-edit:hover .schedule-cell-shift { filter: brightness(.95); }
.schedule-cell-edit:focus-visible { outline: 2px solid #073f6a; outline-offset: -2px; }
.schedule-cell-shift {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 2px;
  min-height: 38px;
  padding: 4px 3px;
  background: var(--schedule-color);
  color: var(--schedule-ink);
}

.schedule-cell-shift + .schedule-cell-shift { border-top: 1px solid #10283d45; }
.schedule-cell-shift strong { font-size: 12px; line-height: 1.1; }
.schedule-cell-shift small { color: inherit; font-size: 9px; line-height: 1.1; white-space: nowrap; }
.schedule-cell-v423 .schedule-marker { margin: 2px auto; }

.schedule-editor-v423 {
  position: fixed;
  width: min(530px, calc(100% - 28px));
  max-width: none;
  max-height: min(740px, calc(100dvh - 28px));
  padding: 0;
  border: 1px solid #c6deec;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 22px 80px #09283d45;
  color: #0e2739;
}

.schedule-editor-v423::backdrop { background: #09283d75; }
.schedule-editor-v423 [hidden] { display: none !important; }
.schedule-editor-v423 form { display: flex; flex-direction: column; max-height: inherit; }
.schedule-editor-v423 header, .schedule-editor-v423 footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  background: #f4faff;
}

.schedule-editor-v423 header { border-bottom: 1px solid #d6e7f0; }
.schedule-editor-v423 footer { border-top: 1px solid #d6e7f0; }
.schedule-editor-v423 header h3 { margin: 2px 0 0; font-size: 20px; }
.schedule-editor-v423 header p { margin: 0; color: #415c6f; font-size: 13px; }
.schedule-editor-v423 .schedule-editor-content { overflow: auto; padding: 14px 18px; }
.schedule-editor-v423 fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  min-width: 0;
  margin: 0 0 10px;
  padding: 8px 12px 12px;
  border: 1px solid #c6deec;
  border-radius: 8px;
}

.schedule-editor-v423 legend { padding: 0 4px; font-weight: 700; }
.schedule-editor-v423 label { display: grid; gap: 4px; min-width: 0; font-size: 13px; font-weight: 650; }
.schedule-editor-v423 select { width: 100%; min-height: 44px; min-width: 0; }
.schedule-editor-v423 [data-remove-shift] { grid-column: 1 / -1; justify-self: end; }
.schedule-editor-v423 button { min-height: 44px; border-radius: 7px; font-weight: 650; }
.schedule-editor-v423 button:disabled { opacity: .5; cursor: default; }
.schedule-editor-v423 [data-close], .schedule-editor-v423 [data-add-shift], .schedule-editor-v423 [data-remove-shift] {
  padding: 7px 12px;
  border: 1px solid #bdd8e8;
  background: #fff;
  color: #12476b;
}

.schedule-editor-v423 footer button { flex: 1; }
.schedule-editor-v423 .schedule-editor-review {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #edf7fd;
}

.schedule-editor-review dt { color: #415c6f; font-size: 12px; }
.schedule-editor-review dd { margin: 3px 0 0; font-size: 14px; font-weight: 650; }
.schedule-editor-v423 [data-editor-hint] { margin: 10px 0 0; color: #415c6f; font-size: 13px; }
.schedule-editor-v423 [data-editor-error] { margin: 10px 0 0; color: #9f2020; font-size: 14px; }

@media (max-width: 520px) {
  .schedule-editor-v423 { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
  .schedule-editor-v423 fieldset, .schedule-editor-v423 .schedule-editor-review { grid-template-columns: 1fr; }
  .schedule-editor-v423 header, .schedule-editor-v423 footer, .schedule-editor-v423 .schedule-editor-content { padding-inline: 12px; }
  .schedule-editor-v423 select { font-size: 16px; }
}
