.ce-site .ce-hb-start {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: start;
  gap: clamp(1.5rem, 4vw, 4.5rem);
  border-top: 2px solid var(--ink);
  padding: 1.6rem 0;
}
.ce-site .ce-hb-start h2, .ce-site .ce-hb-map h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin: 0 0 .65rem;
}
.ce-site .ce-hb-start p, .ce-site .ce-hb-map p { margin: 0 0 .9rem; max-width: 66ch; }
.ce-site .ce-hb-builder { padding: 1.25rem 1.5rem; background: #f2f2eb; }
.ce-site .ce-hb-builder p { margin: .8rem 0; }
.ce-site .ce-hb-map { margin: 2rem 0; }
.ce-site .ce-hb-map ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "course course" "module module" "brief teaching" "files files";
  gap: 1rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}
.ce-site .ce-hb-map li { position: relative; margin: 0; }
.ce-site .ce-hb-loc-course { grid-area: course; }
.ce-site .ce-hb-loc-module { grid-area: module; }
.ce-site .ce-hb-loc-brief { grid-area: brief; }
.ce-site .ce-hb-loc-teaching { grid-area: teaching; }
.ce-site .ce-hb-loc-files { grid-area: files; }
.ce-site .ce-hb-map li:not(:first-child)::before {
  content: "";
  position: absolute;
  height: 1rem;
  border-left: 2px solid currentColor;
  left: 50%;
  top: -1rem;
}
.ce-site .ce-hb-map a {
  display: block;
  box-sizing: border-box;
  height: 100%;
  padding: 1.1rem 1.3rem;
  background: var(--ink);
  color: white;
  text-decoration: none;
}
.ce-site .ce-hb-map a > span { color: var(--green); font-size: .94rem; }
.ce-site .ce-hb-map strong { display: block; margin-top: .5rem; font-size: 1.17rem; line-height: 1.3; }
.ce-site .ce-hb-map li:nth-child(n+3) a { color: var(--ink); background: #eeefe8; }
.ce-site .ce-hb-map li:nth-child(n+3) a > span { color: var(--ink); }
.ce-site .ce-hb-map a:hover strong, .ce-site .ce-hb-map a:focus-visible strong { text-decoration: underline; }
.ce-site .ce-hb-map a:focus-visible { outline: 3px solid #005eb8; outline-offset: -3px; }
.ce-site .ce-hb-flow {
  container-type: inline-size;
  padding: clamp(1.1rem, 3vw, 2.3rem);
  margin-bottom: 1.5rem;
  background: var(--ink);
  color: white;
  text-align: center;
}
.ce-site .ce-hb-flow h2 { margin: 0 0 1.25rem; }
.ce-site .ce-hb-flow-question,
.ce-site .ce-hb-branches a,
.ce-site .ce-hb-flow-next a {
  display: block;
  padding: .8rem 1rem;
}
.ce-site .ce-hb-flow-question {
  width: fit-content;
  margin: auto auto 1.25rem;
  background: var(--green);
  color: var(--ink);
  font-weight: 700;
}
.ce-site .ce-hb-branches,
.ce-site .ce-hb-copy-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.ce-site .ce-hb-branches a, .ce-site .ce-hb-flow-next a {
  border: 1px solid #abc4bb;
  color: white;
  text-align: left;
  font-weight: 600;
}
.ce-site .ce-hb-branches { position: relative; }
.ce-site .ce-hb-branches::before {
  content: "";
  position: absolute;
  top: -.8rem;
  left: 25%;
  right: 25%;
  height: .8rem;
  border: solid var(--green);
  border-width: 1px 1px 0;
  pointer-events: none;
}
.ce-site .ce-hb-flow-next {
  display: grid;
  gap: 1rem;
  width: min(100%, 34rem);
  margin: 1.25rem auto 0;
  padding: 0;
  list-style: none;
}
.ce-site .ce-hb-flow-next li { position: relative; margin: 0; }
.ce-site .ce-hb-flow-next li:first-child::before,
.ce-site .ce-hb-flow-next li:last-child::before {
  content: "↓";
  position: absolute;
  top: -1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--green);
}
.ce-site .ce-hb-flow a:hover, .ce-site .ce-hb-flow a:focus-visible {
  color: var(--ink);
  background: var(--green);
  outline-offset: 3px;
}
.ce-site .ce-hb-levels { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; }
.ce-site .ce-hb-levels li { margin: 0; padding: .3rem .65rem; border: 1px solid var(--ink); font-weight: 600; }
.ce-site .ce-hb-template > h3 { margin-top: 1.35rem; }
.ce-site .ce-hb-copy-steps {
  grid-template-columns: repeat(3,minmax(0,1fr));
  list-style: none;
  padding: 0;
  margin: 1.1rem 0;
}
.ce-site .ce-hb-copy-steps > li { margin: 0; min-width: 0; }
.ce-site .ce-hb-copy-steps h3 { margin: .65rem 0 .4rem; font-size: 1.05rem; }
.ce-site .ce-hb-copy-card {
  display: grid;
  min-height: 6.25rem;
  gap: .3rem;
  padding: .65rem .8rem;
  background: #eeefe8;
  border: 1px solid #b5c3bd;
  border-top: .25rem solid var(--ink);
  align-content: start;
}
.ce-site .ce-hb-copy-card > span { font-size: .86rem; }
.ce-site .ce-hb-copy-card strong { box-sizing: border-box; width: fit-content; background: white; color: var(--ink); padding: .2rem .45rem; }
.ce-site .ce-hb-copy-card .ce-hb-item-menu { font-size: 1.35rem; line-height: 1; justify-self: end; margin-top: -.35rem; }
.ce-site .ce-hb-chapter { scroll-margin-top: 1rem; }
.ce-site .ce-hb-chapter p { max-width: 72ch; }
.ce-site .ce-hb-detail { border-block: 1px solid #aaa; margin: 1rem 0; }
.ce-site .ce-hb-detail summary { cursor: pointer; padding: .9rem .25rem; font-weight: bold; }
.ce-site .ce-hb-actions { padding-left: 1.7rem; margin: 1rem 0; }
.ce-site .ce-hb-actions li { padding-left: .35rem; margin-bottom: 1.1rem; }
.ce-site .ce-hb-actions h3, .ce-site .ce-hb-case h3 { margin: 0 0 .35rem; font-size: 1.12rem; }
.ce-site .ce-hb-actions p, .ce-site .ce-hb-case p { margin: 0; }
.ce-site .ce-hb-case { background: #f2f2eb; padding: 1.1rem; margin: .8rem 0 1rem; }
.ce-site .ce-hb-links { margin: 1rem 0; padding-left: 1.25rem; }
.ce-site .ce-hb-links li { margin: .4rem 0; }
@media (max-width: 720px) {
  .ce-site .ce-hb-start, .ce-site .ce-hb-copy-steps,
  .ce-site .ce-hb-branches, .ce-site .ce-hb-flow-next { grid-template-columns: minmax(0, 1fr); }
  .ce-site .ce-hb-map ul { grid-template-areas: "course" "module" "brief" "teaching" "files"; grid-template-columns: minmax(0,1fr); }
  .ce-site .ce-hb-loc-teaching::before { display: none; }
  .ce-site .ce-hb-branches::before { display: none; }
  .ce-site .ce-hb-start { gap: .6rem; }
}
@media print {
  .ce-site .ce-hb-start, .ce-site .ce-hb-map ul { display: block; }
  .ce-site .ce-hb-map a, .ce-site .ce-hb-map a > span { color: black; }
  .ce-site .ce-hb-flow, .ce-site .ce-hb-flow a { color: black; background: white; }
  .ce-site .ce-hb-detail::details-content { display: block; content-visibility: visible; }
}
