/* Printable worksheets: the page shows a preview and tips; printing (or the
   PDF) shows only the sheet, one US Letter page. */
@font-face { font-family: "Baloo 2"; font-weight: 600; src: url(/fonts/baloo-2-600.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Baloo 2"; font-weight: 700; src: url(/fonts/baloo-2-700.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Baloo 2"; font-weight: 800; src: url(/fonts/baloo-2-800.woff2) format("woff2"); font-display: swap; }

/* ---------- on screen ---------- */
.ws-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 6px; }
.ws-btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer; font: inherit; font-weight: 800;
  text-decoration: none; background: #00b894; color: #fff; box-shadow: 0 4px 0 #00896d;
}
.ws-btn.alt { background: #6c5ce7; box-shadow: 0 4px 0 #4b3fb5; }
.ws-preview {
  display: block; width: 100%; max-width: 560px; height: auto; margin: 16px auto; background: #fff;
  border: 1px solid #e3e6ea; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.sheet { display: none; }

/* ---------- printing ---------- */
@media print {
  @page { size: letter; margin: 0.4in; }
  html, body { background: #fff !important; }
  .site-nav, .site-footer, main.page > :not(.sheet) { display: none !important; }
  main.page { box-shadow: none !important; padding: 0 !important; margin: 0 !important; max-width: none !important; border-radius: 0 !important; }
  .sheet { display: flex !important; }
}

/* ---------- the sheet ---------- */
.sheet {
  width: 7.7in; height: 10.1in; flex-direction: column; box-sizing: border-box; overflow: hidden; background: #fff;
  font-family: "Baloo 2", "Trebuchet MS", system-ui, sans-serif; color: #222; line-height: 1.1;
  -webkit-print-color-adjust: exact; print-color-adjust: exact;
}
.sheet * { box-sizing: border-box; }
.ws-head { display: flex; justify-content: space-between; align-items: center; font-size: 0.2in; font-weight: 700; color: #555; }
.ws-head .brand { display: flex; align-items: center; gap: 0.06in; color: #6c5ce7; }
.ws-head .brand img { width: 0.36in; height: 0.36in; }
.ws-head .name { letter-spacing: .01in; }
.ws-title { margin: 0.12in 0 0; font-size: 0.42in; font-weight: 800; color: #3b1d8f; text-align: center; }
.ws-inst { margin: 0.02in 0 0.1in; font-size: 0.2in; font-weight: 600; text-align: center; color: #444; }
.ws-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.ws-foot { margin-top: 0.08in; text-align: center; font-size: 0.14in; color: #888; font-weight: 600; }
.ic { display: block; overflow: visible; }
.ic * { vector-effect: non-scaling-stroke; }
.box { border: 0.025in solid #444; border-radius: 0.14in; }
.dash { border: 0.025in dashed #999; border-radius: 0.1in; }
.gray { color: #c9c9c9; }
.num-circle { display: inline-flex; align-items: center; justify-content: center; width: 0.48in; height: 0.48in; font-size: 0.3in; font-weight: 800; }
.blank { display: inline-block; border-bottom: 0.025in solid #444; vertical-align: baseline; }
.dot { width: 0.13in; height: 0.13in; border-radius: 50%; background: #222; flex: none; }
/* Handwriting guide: solid top and bottom, dashed middle. */
.lines { position: relative; border-top: 0.015in solid #9aa; border-bottom: 0.02in solid #555; }
.lines::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 0.015in dashed #bbb; }
