.plan-edit-tools { display: grid; gap: 12px; padding: 14px 0; border-top: 1px solid #dce8f4; border-bottom: 1px solid #dce8f4; color: #54708d; }
.plan-edit-search { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.plan-edit-search input { width: min(440px,100%); min-width: 0; height: 36px; padding: 0 10px; border: 1px solid #cbdff1; border-radius: 6px; background: #fff; color: #24435c; font: inherit; font-size: 13px; }
.plan-edit-search span, .plan-edit-actions > span { font-size: 11px; white-space: nowrap; }
.plan-edit-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.plan-edit-actions label { display: inline-flex; align-items: center; gap: 6px; margin-right: 4px; font-size: 12px; font-weight: 500; }
.plan-edit-actions input { width: 15px; height: 15px; margin: 0; accent-color: #116acb; }
.plan-edit-tools button { min-height: 29px; padding: 4px 9px; border: 1px solid #cbdff1; border-radius: 5px; background: #fff; color: #275d8b; font: inherit; font-size: 11px; cursor: pointer; }
.plan-edit-tools button:hover:enabled { background: #edf6ff; }
.plan-edit-tools button:disabled { color: #94a6b7; border-color: #dce7f0; background: #f7fafc; cursor: default; }
.plan-edit-tools :is(button,input):focus-visible { outline: 2px solid #1688f5; outline-offset: 1px; }
#planToolsMessage { margin: 0; font-size: 12px; color: #b23d52; }
#planToolsMessage:empty { display: none; }
.plan-search-results { display: grid; gap: 6px; max-height: 160px; overflow: auto; padding: 2px; }
.plan-search-results[hidden], .plan-search-empty[hidden] { display: none; }
.plan-edit-tools .plan-search-result { text-align: left; width: fit-content; max-width: 100%; overflow-wrap: anywhere; }
.plan-edit-tools .plan-search-result::before { content: '定位'; margin-right: 8px; color: #1681da; }
.plan-search-location { margin: 0; color: #296899; font-size: 11px; overflow-wrap: anywhere; }
.plan-search-location:empty { display: none; }
#phaseList [data-schedule-entry] { scroll-margin-block: 125px; }
#phaseList .plan-search-target { background: #edf6ff; box-shadow: inset 3px 0 #1688f5; }
#phaseList .plan-search-target > .bd-name-field input,
#phaseList .plan-search-target > .task-name-field input { border-color: #72b7f7; }
.plan-search-empty { padding: 20px 0; color: #71869c; font-size: 13px; }
.plan-search-empty button { margin-left: 10px; }
.schedule-name-control input.plan-task-selector { flex: 0 0 15px; width: 15px; height: 15px; padding: 0; margin: 0 2px 0 0; border: 0; accent-color: #116acb; }
.task-row.plan-task-selected { background: #f0f7ff; }
.plan-tool-note { font-size: 12px; line-height: 1.8; color: #657d96; }
.plan-batch-tasks { max-height: 170px; overflow: auto; padding: 12px 12px 12px 30px; border: 1px solid #dce8f4; border-radius: 6px; background: #f8fbff; color: #426683; font-size: 12px; line-height: 1.9; }
.plan-batch-dialog select { width: 100%; min-width: 0; height: 36px; border: 1px solid #cbdff1; border-radius: 5px; padding: 0 8px; background: #fff; color: #24435c; font: inherit; font-weight: 400; }
.personal-dialog .plan-batch-check { display: flex; align-items: center; gap: 8px; }
.plan-batch-check input { accent-color: #116acb; }
@media (max-width: 700px) {
  .left-console .workspace-head { flex-wrap: wrap; }
  .left-console .workspace-head > div:first-child { min-width: 72px; }
  .left-console .workspace-head .eyebrow { display: none; }
  .left-console .workspace-head h2 { white-space: nowrap; }
  .stage-list-actions { flex: 1 1 190px; flex-direction: row; align-items: center; width: auto; gap: 6px; }
  .stage-list-actions #scheduleCheckBtn { width: auto; flex: 0 0 auto; min-width: 74px; padding-inline: 8px; }
  .stage-list-actions #addPhaseBtn { min-width: 110px; padding-inline: 10px; }
  .plan-edit-search input { width: 100%; }
  .plan-edit-actions { gap: 8px 6px; }
  .plan-edit-actions label { flex: 1 1 auto; }
}
