/* Family Math Expedition — the five stops, the map, the celebration, motion, print. */
.stop {
  display: block;
}

/* headers */
.hero,
.stop-head {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--lift);
  overflow: hidden;
}
.scene-art {
  display: block;
  height: clamp(130px, 22vw, 230px);
}
.scene-art svg {
  width: 100%;
  height: 100%;
  display: block;
}
.stop-head-text,
.hero-text {
  padding: clamp(18px, 3.6vw, 34px);
}
.hero-text {
  padding-right: clamp(18px, 20vw, 220px);
}
.stop-kicker {
  font: 700 14px var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-ink);
  margin-bottom: 6px;
}
.stop-title,
.hero-title {
  font-size: clamp(30px, 6.4vw, 54px);
  letter-spacing: -0.02em;
}
.stop-lead,
.hero-lead {
  margin-top: 10px;
  max-width: 60ch;
  font-size: clamp(18px, 2.6vw, 20px);
  color: var(--ink);
}
.hero-guide {
  position: absolute;
  right: clamp(14px, 5vw, 56px);
  top: calc(clamp(130px, 22vw, 230px) - clamp(60px, 10vw, 96px));
  width: clamp(92px, 16vw, 168px);
}
.guide-art svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

/* stop 1 */
.resume {
  margin-top: 20px;
  display: grid;
  gap: 12px;
  background: var(--amber-tint);
  border-color: var(--amber);
}
.resume-text {
  font-weight: 700;
}
.grades {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 6px;
}
@media (min-width: 720px) {
  .grades {
    grid-template-columns: repeat(8, 1fr);
  }
}
.grade {
  display: grid;
  place-items: center;
  gap: 0;
  min-height: 72px;
  border-radius: 16px;
  border: 2px solid var(--navy);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  font-family: var(--sans);
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}
.grade strong {
  font: 700 30px/1 var(--serif);
}
.grade-word {
  font: 700 12px var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.grade:hover {
  background: var(--blue-tint);
  transform: translateY(-2px);
}
.grade[aria-checked="true"] {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 6px 0 -2px #0d2033;
}
.grade-warn {
  color: var(--coral-ink);
  font-weight: 700;
}
.what {
  display: grid;
  gap: 14px;
}
@media (min-width: 720px) {
  .what {
    grid-template-columns: repeat(3, 1fr);
  }
}
.what-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px;
  display: grid;
  gap: 8px;
  align-content: start;
}
.what-card h3 {
  font-size: 22px;
}
.what-ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--teal-tint);
  color: var(--teal-ink);
}
.what-card:nth-child(2) .what-ico {
  background: var(--amber-tint);
  color: var(--amber-ink);
}
.what-card:nth-child(3) .what-ico {
  background: var(--coral-tint);
  color: var(--coral-ink);
}
.what-ico svg {
  width: 28px;
  height: 28px;
}
.route-block .route-art svg {
  width: 100%;
  height: auto;
  display: block;
}
.route-list {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.route-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
  color: var(--navy);
}
.route-n {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font: 700 16px var(--serif);
}
.cta {
  margin-top: 28px;
  display: grid;
  gap: 12px;
  justify-items: start;
}

/* stop 2 */
.cpa {
  display: grid;
  gap: 10px;
}
@media (min-width: 720px) {
  .cpa {
    grid-template-columns: repeat(3, 1fr);
  }
}
.cpa li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: var(--r);
  background: #fff;
  border: 1px solid var(--line);
}
.cpa li:nth-child(2) {
  background: var(--amber-tint);
}
.cpa li:nth-child(3) {
  background: var(--teal-tint);
}
.cpa-n {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font: 700 18px var(--serif);
}
.challenge {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(16px, 3vw, 28px);
  box-shadow: var(--lift);
}
.ch-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 900px) {
  .ch-grid {
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
  }
}
.ch-stage {
  background: var(--paper);
  border-radius: var(--r);
  padding: 16px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.ch-skill {
  font: 700 14px var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-ink);
}
.ch-model {
  display: grid;
  gap: 8px;
}
.ch-panel {
  display: grid;
  gap: 14px;
  align-content: start;
}
.ch-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ch-n {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font: 700 20px var(--serif);
}
.ch-title {
  font-size: 26px;
}
.ch-task,
.ch-q {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}
.ch-sub {
  color: var(--muted);
}
.ch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ch-choices {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.ch-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 16px;
  border-radius: 14px;
  border: 2px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-size: 19px;
}
.ch-choice:hover {
  border-color: var(--navy);
}
.ch-choice input {
  width: 22px;
  height: 22px;
  accent-color: var(--navy);
  flex: none;
}
.ch-choice:has(input:checked) {
  border-color: var(--navy);
  background: var(--blue-tint);
}
.ch-choice:has(input:focus-visible) {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.ch-live {
  display: grid;
  gap: 6px;
  min-height: 0;
}
.ch-live:not(:empty) {
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--blue-tint);
  border-left: 6px solid var(--blue);
}
.ch-warn:not(:empty) {
  background: var(--amber-tint);
  border-left-color: var(--amber);
}
.ch-good:not(:empty) {
  background: var(--teal-tint);
  border-left-color: var(--teal-ink);
}
.ch-note {
  font-weight: 700;
  color: var(--ink);
}
.ch-hints {
  display: grid;
  gap: 8px;
  counter-reset: h;
}
.ch-hints li {
  counter-increment: h;
  display: flex;
  gap: 10px;
  padding: 10px 14px;
  background: var(--amber-tint);
  border-radius: 12px;
}
.ch-hints li::before {
  content: counter(h);
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--amber);
  font: 700 15px var(--sans);
  color: var(--navy);
}
.ch-worked {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--teal-tint);
  display: grid;
  gap: 6px;
}
.ch-eq {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
}
.ch-eq-label {
  color: #d3dde5;
  font-size: 15px;
}
.ch-eq-val {
  font: 600 clamp(26px, 6vw, 36px) var(--serif);
}
.ch-eq .es {
  color: #d3dde5;
}
.ch-watch,
.ch-vocab {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--paper);
  display: grid;
  gap: 6px;
}
.ch-words {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
}
.ch-words dt {
  font-weight: 700;
  color: var(--navy);
}
.tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.tab {
  flex: none;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: #fff;
  color: var(--navy);
  font: 700 16px var(--sans);
  cursor: pointer;
}
.tab[aria-selected="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.play-stage {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(14px, 3vw, 24px);
  display: grid;
  gap: 8px;
}

/* stop 3 */
.setup {
  display: grid;
  gap: 10px;
  justify-items: start;
}
.big-problem {
  font: 600 clamp(44px, 12vw, 84px) var(--serif);
  color: var(--navy);
  line-height: 1;
}
.convo {
  display: grid;
  gap: 10px;
}
.bub {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 640px;
  animation: rise 0.3s ease both;
}
.bub p {
  padding: 12px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}
.bub-who {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--navy);
  font: 700 17px var(--serif);
}
.bub-parent {
  align-self: end;
  margin-left: auto;
  flex-direction: row-reverse;
}
.bub-parent .bub-who {
  background: var(--teal);
}
.bub-parent p {
  background: var(--teal-tint);
  border-color: transparent;
}
.bub-win p {
  background: var(--amber-tint);
  border-color: var(--amber);
  font-weight: 700;
}
.moment {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.options {
  display: grid;
  gap: 10px;
}
.option {
  min-height: 60px;
  padding: 12px 18px;
  border-radius: 16px;
  border: 2px solid var(--navy);
  background: #fff;
  color: var(--navy);
  font: 700 18px/1.3 var(--sans);
  text-align: left;
  cursor: pointer;
}
.option:hover {
  background: var(--blue-tint);
}
.option.is-picked {
  background: var(--navy);
  color: #fff;
}
.feedback {
  display: grid;
  gap: 4px;
  padding: 14px 18px;
  border-radius: 16px;
  border-left: 8px solid var(--blue);
  background: var(--blue-tint);
}
.fb-good {
  background: var(--teal-tint);
  border-left-color: var(--teal-ink);
}
.fb-mid {
  background: var(--amber-tint);
  border-left-color: var(--amber);
}
.fb-warn {
  background: var(--coral-tint);
  border-left-color: var(--coral-ink);
}
.fb-label {
  font-size: 18px;
}
.after {
  display: block;
}
.ask-list {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.ask-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  background: var(--paper);
  border-radius: 12px;
}
.ask-ico {
  flex: none;
  width: 24px;
  height: 24px;
  color: var(--amber-ink);
}
.ask-ico svg {
  width: 100%;
  height: 100%;
}
.stuck {
  display: grid;
  gap: 10px;
  counter-reset: s;
}
.stuck li {
  counter-increment: s;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 14px;
  align-items: start;
}
.stuck li::before {
  content: counter(s);
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--coral-ink);
  color: #fff;
  font: 700 17px var(--serif);
}
.stuck strong {
  color: var(--navy);
}
.stuck-card {
  background: var(--coral-tint);
  border-color: var(--coral);
}

/* stop 4 */
.features {
  display: grid;
  align-items: start;
  gap: 18px;
  margin-top: 16px;
}
@media (min-width: 820px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}
.feature {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: clamp(16px, 3vw, 24px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--lift);
}
.feat-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.feat-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--teal-tint);
  color: var(--teal-ink);
}
.feature:nth-child(4n + 2) .feat-ico {
  background: var(--amber-tint);
  color: var(--amber-ink);
}
.feature:nth-child(4n + 3) .feat-ico {
  background: var(--coral-tint);
  color: var(--coral-ink);
}
.feature:nth-child(4n) .feat-ico {
  background: var(--blue-tint);
  color: var(--blue-ink);
}
.feat-ico svg {
  width: 26px;
  height: 26px;
}
.feat-title {
  font-size: 24px;
}
.feat-art {
  display: grid;
  gap: 8px;
}
.feat-art[hidden] {
  display: none;
}
.feat-stage {
  position: relative;
}
.preview-art svg {
  width: 100%;
  height: auto;
  display: block;
}
.hot {
  position: absolute;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: var(--coral-ink);
  color: #fff;
  font: 700 17px var(--sans);
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(163, 64, 31, 0.5);
  animation: ring 2s ease-out infinite;
}
.hot.on {
  background: var(--navy);
  animation: none;
}
.feat-tip {
  min-height: 3em;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--amber-tint);
  font-weight: 700;
}
@keyframes ring {
  to {
    box-shadow: 0 0 0 16px rgba(163, 64, 31, 0);
  }
}

/* stop 5 */
.plan {
  display: grid;
  gap: 4px;
}
.fields {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.field-wrap {
  display: grid;
  gap: 4px;
}
.field-wrap.grow {
  flex: 1 1 260px;
  min-width: 0;
}
.field-label {
  font: 700 15px var(--sans);
  color: var(--muted);
}
.field {
  min-height: 52px;
  padding: 0 14px;
  border-radius: 12px;
  border: 2px solid var(--navy);
  background: #fff;
  color: var(--ink);
  font: 600 17px var(--sans);
  width: 100%;
  max-width: 100%;
}
.routines {
  display: grid;
  gap: 12px;
  margin-top: 6px;
}
@media (min-width: 720px) {
  .routines {
    grid-template-columns: repeat(3, 1fr);
  }
}
.routine {
  display: grid;
  gap: 2px 12px;
  grid-template-columns: auto 1fr;
  align-items: start;
  align-content: start;
  text-align: left;
  min-height: 84px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 2px solid var(--line);
  background: #fff;
  color: var(--navy);
  font: 400 16px/1.35 var(--sans);
  cursor: pointer;
}
.routine strong {
  font: 700 20px var(--serif);
}
.routine-ico {
  grid-row: span 3;
  width: 30px;
  height: 30px;
  color: var(--teal-ink);
}
.routine-ico svg {
  width: 100%;
  height: 100%;
}
.routine-tag {
  font-weight: 700;
}
.routine-who {
  color: var(--muted);
  font-size: 15px;
}
.routine.is-on {
  border-color: var(--navy);
  background: var(--amber-tint);
  box-shadow: 0 0 0 3px var(--amber);
}
.plan-sum {
  font: 600 20px var(--serif);
  color: var(--navy);
}
.plan-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 900px) {
  .plan-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.plan-game,
.plan-time {
  display: grid;
  gap: 8px;
  align-content: start;
}
.plan-game h3,
.plan-time h3 {
  font-size: 20px;
}
.plan-game-name {
  font: 700 24px var(--serif);
  color: var(--teal-ink);
}
.try {
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--paper);
}
.try-q {
  font: 600 22px var(--serif);
  color: var(--navy);
}
.timebar {
  display: flex;
  height: 38px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--navy);
}
.tb {
  display: grid;
  place-items: center;
  font: 700 15px var(--sans);
  color: var(--navy);
  background: var(--teal-tint);
}
.tb-1 {
  background: var(--amber);
}
.tb-2 {
  background: var(--coral-tint);
}
.tb-3 {
  background: var(--blue-tint);
}
.timeline {
  display: grid;
  gap: 10px;
}
.timeline li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: start;
}
.tl-min {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font: 700 14px var(--sans);
  text-align: center;
}
.plan-card .cta {
  margin-top: 8px;
}

/* map and celebration */
.map-grid {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}
@media (min-width: 720px) {
  .map-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.map-card {
  position: relative;
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 20px 20px 20px 80px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--lift);
}
.map-n {
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font: 700 22px var(--serif);
}
.map-card.is-done .map-n {
  background: var(--teal-ink);
}
.map-check {
  width: 26px;
  height: 26px;
  display: block;
}
.map-name {
  font-size: 24px;
}
.map-lead {
  color: var(--muted);
}
.map-state {
  font-weight: 700;
  color: var(--teal-ink);
}
.map-card .btn {
  justify-self: start;
}
.done-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  display: grid;
  gap: 12px;
  justify-items: center;
  padding-block: 40px;
}
.badge-art {
  width: clamp(130px, 28vw, 190px);
  animation: badge-in 0.7s cubic-bezier(0.3, 1.5, 0.5, 1) both;
}
.badge-art svg {
  width: 100%;
  height: auto;
  display: block;
}
.done-stars {
  display: flex;
  gap: 8px;
}
.star {
  width: 36px;
  height: 36px;
  color: var(--line);
}
.star.on {
  color: var(--amber);
}
.star svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  stroke: var(--navy);
  stroke-width: 1.4;
}
.next {
  text-align: center;
  justify-items: center;
}
.done-links {
  justify-content: center;
  margin-top: 22px;
}
.confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.confetti i {
  position: absolute;
  top: -20px;
  width: 10px;
  height: 16px;
  border-radius: 2px;
  animation: fall 2.6s ease-in both;
}
.confetti .c0 {
  background: var(--teal);
}
.confetti .c1 {
  background: var(--amber);
}
.confetti .c2 {
  background: var(--coral);
}
.confetti .c3 {
  background: var(--blue);
}
.stop-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 2px solid var(--line);
}
.stop-nav-left,
.stop-nav-right {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* motion */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
@keyframes fall {
  to {
    transform: translateY(520px) rotate(540deg);
    opacity: 0;
  }
}
@keyframes badge-in {
  from {
    transform: scale(0.3) rotate(-12deg);
    opacity: 0;
  }
}
@keyframes bob {
  50% {
    transform: translateY(-5px);
  }
}
@keyframes blink {
  0%,
  93%,
  100% {
    transform: scaleY(1);
  }
  96% {
    transform: scaleY(0.08);
  }
}
@keyframes wave {
  50% {
    transform: rotate(-26deg);
  }
}
@keyframes dash {
  to {
    stroke-dashoffset: -32;
  }
}
@keyframes node-in {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
}
@keyframes flutter {
  50% {
    transform: skewY(-6deg);
  }
}
@keyframes hop {
  50% {
    transform: translate(280px, -52px);
  }
  100% {
    transform: translate(560px, 0);
  }
}
@keyframes twinkle {
  50% {
    opacity: 0.35;
  }
}
@keyframes float {
  50% {
    transform: translateY(-5px);
  }
}
.g-bob {
  animation: bob 3.2s ease-in-out infinite;
}
.eyes {
  transform-box: fill-box;
  transform-origin: center;
  animation: blink 5s infinite;
}
.guide-wave .wing-r {
  transform-box: fill-box;
  transform-origin: 20% 15%;
  animation: wave 1.6s ease-in-out infinite;
}
.route-line {
  animation: dash 1.6s linear infinite;
}
.route-node {
  transform-box: fill-box;
  transform-origin: center;
  animation: node-in 0.5s cubic-bezier(0.3, 1.5, 0.5, 1) both;
}
.flag {
  transform-box: fill-box;
  transform-origin: bottom left;
  animation: flutter 2.4s ease-in-out infinite;
}
.hopper {
  animation: hop 4.5s ease-in-out infinite;
}
.pop {
  transform-box: fill-box;
  transform-origin: center;
  animation: node-in 0.5s ease both;
}
.twinkle {
  animation: twinkle 2.4s ease-in-out infinite;
}
.bubble {
  animation: float 3.4s ease-in-out infinite;
}
.bubble.b2 {
  animation-delay: 0.8s;
}
.spin {
  transform-box: fill-box;
  transform-origin: center;
  animation: spin 9s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .confetti {
    display: none;
  }
}
@media (forced-colors: active) {
  .grade[aria-checked="true"],
  .routine.is-on,
  .rn.is-here .rn-n,
  .tab[aria-selected="true"],
  .option.is-picked,
  .lang button[aria-pressed="true"] {
    outline: 3px solid Highlight;
    forced-color-adjust: none;
    background: Highlight;
    color: HighlightText;
  }
  .tf-cell[aria-pressed="true"],
  .fb-part[aria-pressed="true"] {
    forced-color-adjust: none;
    background: Highlight;
  }
}

/* print: only the quick-start guide */
.print-sheet {
  display: none;
}
@media print {
  body > *:not(.print-sheet) {
    display: none !important;
  }
  body {
    background: #fff;
    font-size: 12pt;
  }
  .print-sheet {
    display: block;
  }
  .sheet {
    display: grid;
    gap: 8pt;
    padding: 0;
  }
  .sheet h1 {
    font-size: 24pt;
  }
  .sheet h2 {
    font-size: 15pt;
    margin-top: 8pt;
  }
  .sheet-sum {
    font: 600 14pt var(--serif);
  }
  .sheet-list {
    display: grid;
    gap: 3pt;
    padding-left: 18pt;
    list-style: decimal;
  }
  .sheet-list li {
    break-inside: avoid;
  }
  .sheet-link {
    word-break: break-all;
    border: 1.5pt solid #17324d;
    padding: 6pt 8pt;
    border-radius: 6pt;
    font-size: 10pt;
  }
  .sheet .es {
    color: #333;
  }
}
