.schedule-name-control { display: flex; align-items: center; gap: 5px; min-width: 0; }
.schedule-name-control input { flex: 1; min-width: 0; width: 0; }
.breakdown-row .schedule-name-control input { width: 0; }
.schedule-dependency-button { flex: 0 0 30px; height: 28px; padding: 0; border: 1px solid #d3e3f2; border-radius: 5px; background: #f8fbff; color: #657e96; font: inherit; font-size: 10px; cursor: pointer; }
.schedule-dependency-button[data-linked="true"] { color: #116acb; border-color: #a8cbed; background: #edf6ff; }
.schedule-dependency-button[data-warning="true"] { border-color: #e1bf86; color: #966e21; background: #fff8eb; }
.schedule-dependency-button:hover { border-color: #79afe4; background: #edf6ff; color: #116acb; }
.schedule-dependency-button:focus-visible { outline: 2px solid #1688f5; outline-offset: 2px; }
.preview-wbs-name-wrap .schedule-dependency-button { width: 30px; }
.stage-list-actions #scheduleCheckBtn { height: 38px; min-width: 84px; margin: 0; padding: 0 12px; border: 1px solid #cbdff1; border-radius: 6px; background: #fff; color: #275d8b; white-space: nowrap; }
.schedule-issues { padding: 10px 14px; border: 1px solid #ead9b7; border-radius: 6px; background: #fffaf1; color: #8e6d2b; font-size: 12px; }
.schedule-issues[hidden] { display: none; }
.left-console .workspace { grid-template-rows: auto auto auto; }
.schedule-issues summary { cursor: pointer; font-weight: 650; }
.schedule-issues ul { padding-left: 18px; max-height: 180px; overflow: auto; line-height: 1.8; }
.schedule-row-warning { display: inline-grid; place-items: center; flex: 0 0 15px; height: 15px; border-radius: 50%; color: #9a7222; background: #fff2d5; font-size: 10px; cursor: help; }
.schedule-dialog { width: min(760px,calc(100vw - 28px)); }
.schedule-muted { color: #657d96; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.schedule-error { color: #b23d52; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.schedule-selection-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 12px 0; color: #5a7590; font-size: 12px; }
.schedule-dialog input[type="search"] { box-sizing: border-box; width: 100%; height: 36px; border: 1px solid #cbdff1; border-radius: 5px; padding: 0 10px; font: inherit; font-size: 13px; }
.schedule-candidates { max-height: 300px; overflow: auto; border-top: 1px solid #e1eaf4; }
.schedule-dialog .schedule-candidate { display: flex; gap: 10px; align-items: flex-start; padding: 12px 4px; margin: 0; border-bottom: 1px solid #e7eef6; font-weight: 400; }
.schedule-candidate input { flex: 0 0 15px; width: 15px; height: 15px; margin: 3px 0 0; accent-color: #116acb; }
.schedule-candidate strong { display: block; font-size: 13px; font-weight: 500; line-height: 1.7; overflow-wrap: anywhere; }
.schedule-candidate small { display: block; color: #8b7a67; font-size: 11px; font-weight: 400; }
.schedule-candidate:has(input:disabled) { color: #8b9bae; }
.schedule-preview-head, .schedule-preview-row { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr) minmax(0,1fr); gap: 12px; padding: 12px 10px; font-size: 12px; line-height: 1.7; }
.schedule-preview-head { background: #edf5ff; color: #547696; border-radius: 5px; }
#schedulePreviewList { max-height: 280px; overflow: auto; }
.schedule-preview-row { border-bottom: 1px solid #e2ebf5; }
.schedule-preview-row strong { font-weight: 500; overflow-wrap: anywhere; }
.schedule-preview-row[data-primary="true"] { background: #f4f9ff; }
.schedule-old-date { color: #7b8da0; }
.schedule-new-date { color: #116acb; }
#schedulePreviewWarnings { max-height: 160px; overflow: auto; }
.schedule-dialog button:disabled { opacity: .5; cursor: default; }
@media (max-width: 700px) {
  .stage-list-actions { flex-wrap: wrap; }
  .schedule-preview-head { display: none; }
  .schedule-preview-row { grid-template-columns: 1fr; gap: 3px; }
  .schedule-old-date::before { content: "调整前："; }
  .schedule-new-date::before { content: "联动后："; }
  .schedule-dialog footer { gap: 8px; }
  .schedule-dialog footer button { flex: 1 1 auto; }
}
