/* A single readable palette for the school-stage curriculum, coordinated with
   the page's plum stage tabs and warm paper cards. */
#stage-explorer-shell .stage-curriculum {
  --curriculum-ink: #29344f;
  --curriculum-muted: #4b566d;
  --curriculum-plum: #51406c;
  --curriculum-line: #d5cebf;
  color: var(--curriculum-ink) !important;
  color-scheme: light;
  background: #f4ead8 !important;
  border-color: var(--curriculum-line) !important;
  box-shadow: inset 0 1px 0 #fffaf0, 0 8px 22px #22283b12;
}

#stage-explorer-shell .stage-curriculum .curriculum-notice {
  color: #3b465b !important;
  background: #fff4d9 !important;
  border-inline-start-color: #bd8a32 !important;
}

#stage-explorer-shell .stage-curriculum .curriculum-group h5,
#stage-explorer-shell .stage-curriculum .curriculum-resources h5 {
  color: var(--curriculum-ink) !important;
  -webkit-text-fill-color: var(--curriculum-ink) !important;
  opacity: 1 !important;
  font-weight: 800;
}

#stage-explorer-shell .stage-curriculum .curriculum-group h5 {
  padding-inline-start: 0.65rem;
  border-inline-start: 3px solid var(--curriculum-plum);
}

#stage-explorer-shell .stage-curriculum .curriculum-source-note,
#stage-explorer-shell .stage-curriculum .curriculum-links > p {
  color: var(--curriculum-muted) !important;
  -webkit-text-fill-color: var(--curriculum-muted) !important;
  opacity: 1 !important;
}

#stage-explorer-shell .stage-curriculum .curriculum-card {
  color: var(--curriculum-ink) !important;
  background: #fffdf8 !important;
  border-color: #d2cdbf !important;
  box-shadow: 0 3px 10px #25334f0d;
}

#stage-explorer-shell .stage-curriculum .curriculum-card summary,
#stage-explorer-shell .stage-curriculum .curriculum-card summary > span:first-child,
#stage-explorer-shell .stage-curriculum .curriculum-card summary span:first-child,
#stage-explorer-shell .stage-curriculum .curriculum-card[open] summary,
#stage-explorer-shell .stage-curriculum .curriculum-card[open] summary > span:first-child {
  color: var(--curriculum-ink) !important;
  -webkit-text-fill-color: var(--curriculum-ink) !important;
  opacity: 1 !important;
}

#stage-explorer-shell .stage-curriculum .curriculum-card summary:focus-visible {
  outline: 3px solid #8b6aa8;
  outline-offset: -3px;
}

#stage-explorer-shell .stage-curriculum .curriculum-card-body,
#stage-explorer-shell .stage-curriculum .curriculum-card-body p,
#stage-explorer-shell .stage-curriculum .curriculum-card-body p > span {
  color: #46516a !important;
  -webkit-text-fill-color: #46516a !important;
}

#stage-explorer-shell .stage-curriculum .curriculum-card-body strong {
  color: #29344f !important;
  -webkit-text-fill-color: #29344f !important;
}

#stage-explorer-shell .stage-curriculum .curriculum-badge {
  color: #285448 !important;
  background: #e3eee8 !important;
}

#stage-explorer-shell .stage-curriculum .curriculum-group-conditional .curriculum-badge {
  color: #67460c !important;
  background: #ffedc4 !important;
}

#stage-explorer-shell .stage-curriculum .curriculum-group-activity .curriculum-badge,
#stage-explorer-shell .stage-curriculum .curriculum-group-development .curriculum-badge {
  color: #34486f !important;
  background: #e6ebf8 !important;
}

#stage-explorer-shell .stage-curriculum .curriculum-resources {
  border-top-color: var(--curriculum-line) !important;
}

#stage-explorer-shell .stage-curriculum .curriculum-links a {
  color: #29344f !important;
  background: #fffdf8 !important;
  border-color: #c9c3b6 !important;
}

#stage-explorer-shell .stage-curriculum .curriculum-links a:hover,
#stage-explorer-shell .stage-curriculum .curriculum-links a:focus-visible {
  color: #fff !important;
  background: var(--curriculum-plum) !important;
  border-color: var(--curriculum-plum) !important;
}
