:root {
  color-scheme: light;
  --ink: #16211c;
  --accent: #2d5443;
  --label: #2d5443;
  --ground: #ede9df;
  --rule: #89978c;
  font: 11pt/1.5 system-ui, sans-serif;
}
@media screen and (prefers-color-scheme: dark) {
  :root { --ground: #191c19; }
  .toolbar { color: #efeee5; }
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--ground); }
a { color: inherit; text-underline-offset: .18em; }
a:focus-visible, button:focus-visible { outline: 3px solid #ce9a44; outline-offset: 3px; }
.toolbar { max-width: 816px; margin-inline: auto; font-size: 1rem; }
.toolbar {
  padding: 1rem 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1rem;
}
.toolbar button {
  min-height: 44px;
  border: 0;
  border-radius: .6rem;
  padding: .6rem .95rem;
  font: inherit;
  font-weight: 700;
  background: var(--accent);
  color: white;
  cursor: pointer;
}
.toolbar button:disabled { opacity: .6; cursor: wait; }
#print-status { flex-basis: 100%; margin: 0; font-size: .9rem; }
.sheet {
  position: relative;
  display: flow-root;
  color: var(--ink);
  background: #fff;
}
.sheet-heading {
  padding-bottom: .11in;
  margin-bottom: .2in;
  border-bottom: 1px solid var(--rule);
  break-inside: avoid;
  break-after: avoid;
}
.eyebrow { margin: 0 0 .35rem; color: var(--label); font-size: .82rem; font-weight: 700; }
.eyebrow span { margin-left: .55em; padding-left: .55em; border-left: 1px solid var(--rule); }
h1, h2 { margin: 0; font: bold 24pt/1.13 Georgia, serif; }
h1 { font-size: 29pt; }
h3 { margin: 0 0 .36rem; font-size: 1.08rem; break-after: avoid; }
p { margin: 0 0 .65em; orphans: 2; widows: 2; }
.sheet-heading h2 + p { margin: .4rem 0 0; }
.hero, .drawing { display: block; margin: 0 auto 1rem; }
.hero { max-width: 100%; height: 1.93in; object-fit: contain; }
.drawing { width: 100%; max-height: 5.55in; object-fit: contain; }
.prose { column-count: 2; column-gap: .35in; font: 12pt/1.44 Georgia, serif; }
.prose p { break-inside: avoid; }
.verse, .reflection {
  padding: .85rem 1rem;
  border: 1px solid var(--rule);
  border-radius: .5rem;
  break-inside: avoid;
}
.coloring .verse { margin-top: .25in; }
.verse h3, .reflection h3 { color: var(--label); }
.verse blockquote { margin: 0; font: 1.14rem/1.42 Georgia, serif; }
cite { display: block; margin-top: .45em; font: .82rem/1.4 system-ui, sans-serif; }
.reflection p:last-child { margin-bottom: 0; }
.questions {
  padding-inline-start: 1.55rem;
  margin: 0 0 1.35rem;
}
.questions li { break-inside: avoid; margin-bottom: .27in; padding-inline-start: .2rem; }
.questions li::marker { font-weight: 700; }
.questions p { margin-bottom: .15rem; font-weight: 600; }
.answer-lines { height: .82in; border-bottom: 1px solid var(--rule); position: relative; }
.answer-lines::before { content: ""; position: absolute; inset: 50% 0 auto; border-top: 1px solid var(--rule); }
.cards, .sequence-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
  padding: 0;
  list-style: none;
}
.cards { margin: 0 0 .38in; }
.cards li { padding: .13in; border: 1px dashed var(--label); break-inside: avoid; }
.cards img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.cards p { margin: .45em 0 0; font-size: .91rem; line-height: 1.35; }
.sequence-help { font-weight: 600; }
.sequence-slots { margin: 0 0 1.4rem; }
.sequence-slots li {
  min-height: 2.25in;
  padding: .13in;
  border: 1px solid var(--rule);
  color: var(--label);
  font-size: .9rem;
  font-weight: 700;
}
.story-link {
  display: flex;
  gap: .7rem;
  align-items: center;
  border-top: 1px solid var(--rule);
  position: absolute;
  height: .77in;
  padding-top: .08in;
  break-inside: avoid;
}
.story-link img { width: .66in; height: .66in; }
@media screen {
  .pack {
    width: 8.5in;
    margin: 0 auto;
    zoom: var(--paper-scale, 1);
  }
  .sheet {
    height: 11in;
    padding: .65in .65in 1.5in;
    margin-bottom: .25in;
    box-shadow: 0 2px 7px #0003;
  }
  .story-link { inset: auto .65in .74in; }
}
@media screen and (max-width: 480px) {
  .toolbar button { width: 100%; }
}
@page { size: letter; margin: .65in; }
@media print {
  body { background: #fff; }
  .toolbar { display: none !important; }
  .sheet { height: 9.69in; padding-bottom: .85in; }
  .sheet + .sheet { break-before: page; }
  .story-link { inset: auto 0 .09in; }
}
.pack-summary { flex-basis: 100%; margin: 0; line-height: 1.35; }
.pack-summary a { white-space: nowrap; }
.story-link svg { width: .66in; height: .66in; flex: 0 0 .66in; }
.sticker-board { display: block; width: 100%; max-height: 6.8in; object-fit: contain; }
.cutouts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .13in;
  padding: 0;
  list-style: none;
}
.cutouts li { padding: .08in; border: 1px dashed var(--label); text-align: center; }
.cutouts img { width: 100%; height: 1.35in; object-fit: contain; display: block; }
.cutouts p { margin: .05in 0 0; }
.draw-space { height: 5.35in; border: 1px solid var(--rule); border-radius: .08in; }
.word-grid { width: 5.5in; max-width: 100%; margin: .25in auto; border-collapse: collapse; table-layout: fixed; }
.word-grid td { padding: .08in 0; text-align: center; border: 1px solid var(--rule); font: 700 12pt/1.2 monospace; }
.word-bank { columns: 3; padding-left: .25in; }
.word-bank li { padding: .04in 0; }
