.planning-recommendation-overview {
  min-width: 250px;
  max-width: 620px;
  margin-right: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  display: flex;
  align-items: center;
  flex: 1 1 360px;
  flex-direction: row;
}

.planning-recommendation-overview-line {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.planning-assigned-history-entry {
  min-width: 0;
  height: 25px;
  padding: 0 7px;
  border: 1px solid #d5daf5;
  border-radius: 6px;
  color: #6574e7;
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
  cursor: pointer;
  transition: color .16s ease, background-color .16s ease;
}

.planning-assigned-history-entry > span {
  font-size: 9px;
  font-weight: 650;
}

.planning-assigned-history-entry b,
.planning-recommendation-available b,
.planning-assigned-history-fact b {
  font-weight: 700;
}

.planning-assigned-history-entry > i {
  font-size: 12px;
  font-style: normal;
  line-height: 1;
}

.planning-recommendation-available {
  color: #737c93;
  font-size: 10px;
}

.planning-recommendation-available b {
  color: #4f5870;
}

.planning-assigned-history-fact {
  padding-left: 10px;
  border-left: 1px solid #e4e7ef;
  color: #737c93;
  font-size: 10px;
}

.planning-assigned-history-fact b {
  color: #4f5870;
}

.planning-recommendation-rule {
  overflow: visible;
  flex: 0 0 auto;
}

.planning-plan-action-help {
  margin: 0;
}

.planning-rule-help {
  position: relative;
  flex: 0 0 auto;
}

.planning-rule-help[open] {
  z-index: 20;
}

.planning-rule-help > summary {
  height: 25px;
  padding: 0 4px;
  border: 0;
  border-radius: 5px;
  color: #7f879d;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.planning-rule-help > summary > i {
  width: 14px;
  height: 14px;
  border: 1px solid #dce1ec;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 8px;
  font-style: normal;
  line-height: 1;
}

.planning-rule-help > summary::-webkit-details-marker {
  display: none;
}

.planning-rule-help > summary:hover,
.planning-rule-help[open] > summary {
  color: #5968dc;
  background: #f3f5ff;
}

.planning-rule-help > summary:hover > i,
.planning-rule-help[open] > summary > i {
  border-color: #bfc7f1;
}

.planning-rule-help > div {
  width: 270px;
  padding: 10px 11px;
  position: absolute;
  z-index: 12;
  top: 22px;
  right: 0;
  border: 1px solid #dfe4ef;
  border-radius: 9px;
  color: #6d758c;
  background: #fff;
  box-shadow: 0 8px 24px rgba(55, 65, 104, .14);
  white-space: normal;
}

.planning-rule-help:not([open]) > div {
  display: none;
}

.planning-rule-help > div strong {
  color: #4f5770;
  font-size: 10px;
}

.planning-rule-help > div p {
  margin: 6px 0 0;
  font-size: 9px;
  line-height: 1.5;
}

.planning-rule-help > div b {
  color: #596177;
}

.planning-assigned-history-entry:hover {
  color: #4d5bd6;
  border-color: #aeb8ee;
  background: #f2f4ff;
}

.planning-assigned-history-entry:focus-visible {
  outline: 2px solid rgba(83, 97, 229, .2);
  outline-offset: 2px;
}

.planning-assigned-history-entry[hidden] {
  display: none;
}

html.planning-cadence-native-feedback-hidden .schedule-plan-replica-toast {
  display: none !important;
}

.schedule-plan-replica-tutor-recommendation-pane > .schedule-plan-replica-demo-cadence.is-compact > .planning-recommendation-overview,
.schedule-plan-replica-tutor-recommendation-pane[data-planning-mode="chapter"] .planning-chapter-fit-control > .planning-recommendation-overview {
  align-self: center;
  justify-content: center;
}

.planning-assigned-history-modal {
  width: min(680px, calc(100vw - 36px));
  max-height: min(720px, calc(100vh - 36px));
}

.planning-assigned-history-modal .planning-flow-body {
  min-height: 0;
  overflow: auto;
}

.planning-assigned-history-summary {
  min-height: 42px;
  padding: 0 12px;
  border-bottom: 1px solid #edf0f5;
  display: flex;
  align-items: center;
  gap: 16px;
}

.planning-assigned-history-summary strong {
  color: #4c5570;
  font-size: 11px;
}

.planning-assigned-content-list {
  display: grid;
}

.planning-assigned-content-row {
  min-height: 54px;
  padding: 7px 12px;
  border-bottom: 1px solid #f0f2f6;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
}

.planning-assigned-content-row:last-child {
  border-bottom: 0;
}

.planning-assigned-content-row > i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #4f9b79;
  background: #edf8f3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-style: normal;
}

.planning-assigned-content-row > span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.planning-assigned-content-row strong {
  overflow: hidden;
  color: #444d66;
  font-size: 11px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.planning-assigned-content-row small,
.planning-assigned-content-row time {
  color: #9098ac;
  font-size: 9px;
}

.planning-assigned-content-row time {
  white-space: nowrap;
}

.planning-assigned-content-row button {
  height: 26px;
  padding: 0 9px;
  border: 1px solid #dfe3ee;
  border-radius: 7px;
  color: #67708a;
  background: #fff;
  font-size: 9px;
}

.planning-assigned-content-row button:hover {
  color: #5866df;
  border-color: #cbd2f3;
  background: #f8f9ff;
}

.planning-assigned-history-empty {
  padding: 48px 20px;
  color: #8d95a8;
  text-align: center;
}

@media (max-width: 560px) {
  .planning-recommendation-overview {
    min-width: 100%;
    max-width: none;
    flex-basis: 100%;
  }

  .planning-assigned-content-row {
    grid-template-columns: 20px minmax(0, 1fr) auto;
  }

  .planning-assigned-content-row time {
    grid-column: 2;
  }

  .planning-assigned-content-row button {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
}
