/* WorksheetForge Kids — free sample worksheet (sample.html).
   Screen: the two sheets sit as paper pages on the cream ground.
   Print: US Letter, one .sheet per page, chrome hidden, ink-friendly
   (white ground, black text, light fills dropped). */

/* ---------- screen chrome ---------- */
.sample-body { background: var(--cream); }
.sample-top { padding: 18px 0 6px; }
.sample-top-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
}
.sample-top-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.sample-intro {
  max-width: 46rem; margin: 14px 0 4px; color: var(--ink-soft); font-size: 1.02rem;
}
.sample-bottom { padding: 8px 0 34px; text-align: center; color: var(--ink-soft); }

/* ---------- the sheet ---------- */
.sheet {
  background: #fff; color: #1d1a12;
  width: min(7.6in, calc(100% - 32px));
  margin: 22px auto 30px;
  padding: 0.5in 0.55in 0.45in;
  border: 2px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--lift-shadow);
  font-size: 12.5pt;
  line-height: 1.5;
}
.sheet-head { border-bottom: 4px solid var(--sun); padding-bottom: 10px; margin-bottom: 16px; }
.sheet-brand {
  font-family: "Lexend", sans-serif; font-weight: 800; font-size: 10pt;
  letter-spacing: .12em; color: var(--sun-ink); margin: 0 0 2px;
}
.sheet-title {
  font-family: "Lexend", sans-serif; font-weight: 800;
  font-size: 30pt; margin: 0; line-height: 1.05; color: #1d1a12;
}
.sheet-sub { margin: 4px 0 0; color: #4c4636; font-size: 11.5pt; }
.sheet-id {
  display: flex; gap: 34px; flex-wrap: wrap; margin-top: 12px; font-weight: 700;
}
.sheet-id p { margin: 0; display: flex; align-items: baseline; gap: 8px; }

.write-line {
  display: inline-block; border-bottom: 2px solid #9a8f6d; height: 1em; vertical-align: baseline;
}
.write-line-sm { width: 1.4in; }
.write-line-lg { width: 2.2in; }
.write-line-xl { width: 3in; }
.write-line-full { width: 100%; }

.ws-section { margin: 0 0 20px; }
.ws-h {
  font-family: "Lexend", sans-serif; font-weight: 800; font-size: 15.5pt;
  margin: 0 0 6px; color: #1d1a12;
}
.ws-step {
  background: var(--sun); border: 2px solid var(--sun-deep); border-radius: 999px;
  font-size: 10.5pt; padding: 2px 10px 3px; margin-right: 8px; vertical-align: 2px;
  white-space: nowrap;
}
.ws-instr { margin: 0 0 12px; color: #33301f; }

.match-grid {
  display: grid; grid-template-columns: 1fr 1.35fr; gap: 8px 34px;
}
.match-words, .match-defs { list-style: none; margin: 0; padding: 0; }
.match-words li {
  font-family: "Lexend", sans-serif; font-weight: 700; font-size: 14.5pt;
  padding: 5.5px 0; display: flex; align-items: center; gap: 6px;
}
.w-num { color: var(--sun-ink); min-width: 1.5em; }
.letter-star {
  margin-left: auto; font-size: 17pt; color: var(--sun-deep); line-height: 1;
}
.match-defs li { padding: 6.5px 0; font-size: 12pt; }
.d-letter { font-weight: 700; color: var(--sun-ink); margin-right: 4px; }

.sentences { margin: 0; padding-left: 1.4em; }
.sentences li { margin-bottom: 12px; }
.sentences p { margin: 0 0 7px; }

.checkoff-row { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.check-list { list-style: none; margin: 0; padding: 0; flex: 1 1 260px; }
.check-list li { padding: 5px 0; font-size: 12.5pt; display: flex; gap: 10px; align-items: center; }
.check-box { font-size: 16pt; color: var(--sun-deep); line-height: 1; }
.color-star { text-align: center; }
.color-star p { margin: 2px 0 0; font-weight: 700; font-size: 11.5pt; }

.key-list { margin: 0; padding-left: 1.4em; }
.key-list li { padding: 3.5px 0; }
.key-examples { margin: 0 0 10px; padding-left: 1.3em; }
.key-examples li { padding: 2.5px 0; font-style: italic; }

.sheet-foot {
  border-top: 2px solid var(--line); padding-top: 9px; margin-top: 4px;
  font-size: 9.5pt; color: #6b6450; text-align: center;
}
.sheet-foot p { margin: 0; }

@media (max-width: 640px) {
  .sheet { padding: 26px 20px; font-size: 12pt; }
  .match-grid { grid-template-columns: 1fr; gap: 4px; }
  .match-defs li { padding: 4.5px 0; }
  .sheet-title { font-size: 25pt; }
}

/* ---------- print ---------- */
@page { size: Letter; margin: 0.5in; }

@media print {
  .no-print, .skip-link { display: none !important; }
  body, .sample-body { background: #fff; }
  .sheet {
    width: auto; margin: 0; padding: 0;
    border: none; border-radius: 0; box-shadow: none;
    font-size: 11.8pt;
    break-after: page; page-break-after: always;
  }
  /* Print tightening so sheet 1 (the worksheet) lands on exactly one page:
     slightly smaller type + tighter rows than the screen card. */
  .sheet-head { margin-bottom: 10px; padding-bottom: 7px; }
  .sheet-title { font-size: 26pt; }
  .sheet-id { margin-top: 8px; }
  .ws-section { margin-bottom: 11px; }
  .ws-instr { margin-bottom: 7px; }
  .match-words li { font-size: 13pt; padding: 3px 0; }
  .match-defs li { font-size: 11pt; padding: 4px 0; }
  .sentences li { margin-bottom: 7px; }
  .sentences p { margin-bottom: 4px; }
  .check-list li { padding: 2.5px 0; font-size: 11.8pt; }
  .color-star svg { width: 68px; height: 68px; }
  .sheet-foot { padding-top: 6px; }
  .sheet:last-of-type { break-after: auto; page-break-after: auto; }
  .ws-step { background: #fff; }         /* ink-friendly: fills off, borders stay */
  .sheet-head { border-bottom-color: #1d1a12; }
  a { color: inherit; text-decoration: none; }
}

/* wave1 visual upgrade: sample scenes (screen-only, never printed) */
.sample-scene{max-width:820px;margin:22px auto 6px;border:2px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;background:#fff;box-shadow:var(--soft-shadow)}
.sample-scene img{width:100%;height:auto;display:block}
.sample-scene figcaption{padding:12px 18px;font-weight:700}
.sample-scene figcaption span{display:block;font-weight:500;color:var(--ink-soft);font-size:.92rem;margin-top:.15em}
