.strategy-nav {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 0;
  border-left: 3px solid #526b82;
  background: #202832;
  color: #dce4eb;
  display: flex;
  align-items: center;
  gap: 10px;
  font: 700 17px/1 "Microsoft YaHei", sans-serif;
  text-align: left;
  cursor: pointer;
}
.strategy-nav:hover { background: #293746; color: var(--mint); }
.strategy-nav em { flex: 1; font-style: normal; }
.strategy-toggle { width: 14px; color: #9aabba; font-size: 18px; transition: transform .16s ease; }
.strategy-nav[aria-expanded="false"] .strategy-toggle { transform: rotate(-90deg); }
.strategy-icon { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid #567286; color: var(--mint); font: 700 13px/1 Georgia, serif; }
.strategy-children { margin-left: 10px; border-left: 1px solid #344452; padding: 5px 0 0 5px; }
.strategy-children[hidden] { display: none; }
.strategy-children .candidate-nav { border-radius: 4px; }

.date-sublist {
  display: grid;
  gap: 5px;
  margin: -5px 0 8px 36px;
  /* The sidebar nav is the single scroll container for both strategies. */
  max-height: none;
  overflow: visible;
}

.date-sublist[hidden] { display: none; }

.candidate-nav .nav-toggle {
  width: 14px;
  flex: 0 0 14px;
  color: #8fa0ae;
  font-size: 18px;
  line-height: 1;
  transform: rotate(0deg);
  transition: transform .16s ease;
}

.candidate-nav[aria-expanded="false"] .nav-toggle { transform: rotate(-90deg); }
.candidate-nav .nav-icon { width: 20px; flex: 0 0 20px; }

.date-group {
  display: grid;
  gap: 2px;
  padding: 2px 0 6px;
}
.date-group-head { min-width: 0; }
.date-group-slots[hidden] { display: none; }
.date-expand {
  width: 22px;
  flex: 0 0 22px;
  border: 0;
  background: transparent;
  color: #9aabba;
  font: 700 22px/1 "Microsoft YaHei", sans-serif;
  cursor: pointer;
  transform: rotate(0deg);
  transition: transform .16s ease;
}
.date-expand[aria-expanded="true"] { transform: rotate(90deg); }
.date-group-head .directory-row { align-items: center; }
.date-group-head .date-heading { width: auto; flex: 1; }
.date-group-head .date-parent-label { flex: 1; }

.directory-row { display: flex; align-items: stretch; min-width: 0; }
.directory-row > .date-heading, .directory-row > .date-item { flex: 1; min-width: 0; }
.directory-delete {
  width: 30px;
  flex: 0 0 30px;
  border: 0;
  background: transparent;
  color: #c76b70;
  font: 700 19px/1 "Microsoft YaHei", sans-serif;
  cursor: pointer;
}
.directory-delete:hover { background: #472d34; color: #ff777d; }
.date-parent-label { padding: 8px 12px; border: 0; background: transparent; color: #9eacb8; font-family: "Microsoft YaHei", sans-serif; font-size: 16px; font-weight: 700; text-align: left; }
.date-parent-toggle { cursor: pointer; }
.date-parent-toggle:hover { background: #2c3b4b; color: var(--mint); }

.date-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 4px);
  min-height: 42px;
  padding: 8px 12px;
  border: 0;
  border-left: 3px solid #526b82;
  background: transparent;
  color: #c1cfdb;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.date-heading b { color: #8193a3; font-size: 14px; font-weight: 700; }
.date-heading:hover, .date-heading.active { color: var(--mint); background: #2c3b4b; }
.date-heading.active { border-left-color: var(--mint); }
.date-heading.active b { color: var(--mint); }

.date-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 4px);
  padding: 6px 10px;
  border: 0;
  border-left: 1px solid #2d4239;
  background: transparent;
  color: #65756e;
  font-size: 11px;
  text-align: left;
  cursor: pointer;
}

.date-item.slot-item { margin-left: 8px; padding-left: 24px; }

.date-item:hover,
.date-item.active {
  background: #14251f;
  color: var(--mint);
}

.date-item b {
  color: #52615c;
  font-size: 10px;
  font-weight: 500;
}

.date-item.active b { color: var(--mint); }

@media (max-width: 900px) {
  .date-sublist { display: none; }
  .strategy-nav em, .strategy-toggle { display: none; }
  .strategy-nav { justify-content: center; padding: 10px 4px; border-left: 0; }
  .strategy-children { margin-left: 0; padding-left: 0; border-left: 0; }
}
.candidate-nav{display:none!important}.month-group{margin:4px 0 8px}.month-heading{width:100%;display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border:0;border-left:3px solid #58758f;background:#202a34;color:#d9e1e8;font-size:16px;font-weight:700;cursor:pointer}.month-heading b{font-size:16px;color:#9eafbd}.month-dates{padding-left:8px}.month-dates[hidden]{display:none}
.empty-date-slot{padding:8px 12px;color:#66737d;font-size:12px}
