/* Printable worksheet sheet (print.php, 2026-09). Letter-size page: 816 x 1056 CSS px on screen,
   @page letter with 0.45in margins in print. Everything is scoped to .ws-* */
@import url('/assets/fonts/fonts.css'); /* Fredoka, PT Sans and the dotted tracing font, served from this site since 2026-11-09 */

html.wsp, html.wsp body {margin:0; padding:0; background:#f1e9d6;}
html.wsp body {font-family:Fredoka,'PT Sans',sans-serif; color:#2b2b2b; -webkit-print-color-adjust:exact; print-color-adjust:exact;}

/* ---- screen chrome (never printed) ---- */
.ws-toolbar {position:sticky; top:0; z-index:5; display:flex; flex-wrap:wrap; align-items:center; gap:10px; padding:10px 16px; background:#fbf6ec; border-bottom:3px solid #fff; box-shadow:0 3px 12px rgba(90,61,12,.12); font-family:'PT Sans',sans-serif;}
.ws-toolbar .ws-back {font-weight:700; color:#1a73c9; text-decoration:none; margin-right:auto; font-size:16px;}
.ws-toolbar .ws-back:hover {text-decoration:underline;}
.ws-btn {display:inline-flex; align-items:center; gap:8px; padding:9px 18px; border-radius:30px; border:2px solid #fff; background:#fff; color:#5a3d0c; font-family:'PT Sans',sans-serif; font-weight:700; font-size:15px; text-decoration:none; cursor:pointer; box-shadow:0 2px 6px rgba(90,61,12,.12); line-height:1.2; white-space:nowrap;}
.ws-btn:hover {text-decoration:none; color:#5a3d0c; transform:translateY(-1px);}
.ws-btn-primary {background:#FF471F; color:#fff; box-shadow:0 3px 0 #b8300f;}
.ws-btn-primary:hover {background:#ff5d3a; color:#fff;}
.ws-btn-game {background:linear-gradient(180deg,#8fd23a,#5f9203); color:#fff; box-shadow:0 3px 0 #3f5f0a; text-shadow:0 1px 0 rgba(0,0,0,.2);}
.ws-btn-game:hover {color:#fff;}
.ws-stage {padding:22px 12px 40px; overflow:hidden;}
.ws-stage-inner {width:816px; margin:0 auto; transform-origin:top left;}
.ws-hint {text-align:center; font-family:'PT Sans',sans-serif; font-size:14px; color:#6b5a3e; margin:14px 0 0;}

/* ---- the sheet ---- */
.ws-sheet {position:relative; box-sizing:border-box; width:816px; min-height:1056px; padding:38px 44px 34px; background:#fff; box-shadow:0 10px 30px rgba(60,40,10,.18); display:flex; flex-direction:column;}
html.wsp.shot .ws-sheet {height:1056px; min-height:0; box-shadow:none; overflow:hidden;}
.ws-head {display:flex; align-items:center; justify-content:space-between; gap:20px; padding-bottom:12px; border-bottom:3px solid #e8f4d8;}
.ws-logo {width:180px; height:45px; display:block;}
.ws-namedate {display:flex; gap:22px; font-family:'PT Sans',sans-serif; font-weight:700; font-size:15px; color:#5a3d0c;}
.ws-namedate span {display:inline-flex; align-items:flex-end; gap:8px;}
.ws-line {display:inline-block; width:190px; border-bottom:2px solid #5a3d0c; height:20px;}
.ws-line-sm {width:110px;}
.ws-titlebar {display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin:18px 0 6px;}
.ws-title {font-family:Fredoka,'PT Sans',sans-serif; font-weight:700; font-size:34px; line-height:1.1; color:#1e3a6e; margin:0; letter-spacing:.01em;}
.ws-title-key {color:#2e9e44;}
.ws-chip {display:inline-block; font-family:'PT Sans',sans-serif; font-weight:700; font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:#fff; padding:4px 11px; border-radius:20px; line-height:1.3; background:#8e6bd6;}
.ws-chip-dinosaurs {background:#2e9e44;} .ws-chip-math {background:#4a90d9;} .ws-chip-reading {background:#2e9e44;} .ws-chip-language {background:#e8791d;} .ws-chip-skill {background:#1fa9a3;}
.ws-chip-set {background:#f1e6cf; color:#5a3d0c;}
.ws-instr {font-family:'PT Sans',sans-serif; font-size:17px; color:#3b2a0a; margin:0 0 14px; line-height:1.4;}
.ws-body {flex:1 1 auto; display:flex; flex-direction:column;}
.ws-body > ol, .ws-body > div.ws-match {flex:1 1 auto;}
.ws-eq-grid, .ws-pic-grid {align-content:space-evenly;}
.ws-seq, .ws-wp, .ws-fb, .ws-bs {justify-content:space-evenly;}
.ws-word-grid {align-content:space-evenly;}
.ws-match-col {justify-content:space-evenly;}
.ws-foot {display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:auto; padding-top:12px; border-top:2px solid #e8f4d8; font-family:'PT Sans',sans-serif; font-size:11.5px; color:#7a6a4c;}
.ws-foot-url {font-weight:700; color:#2e6b0f; white-space:nowrap;}
.ws-foot-cta {flex:1 1 auto; text-align:center;}

/* answer boxes + key */
.ws-box {display:inline-flex; align-items:center; justify-content:center; width:66px; height:52px; border:2.5px solid #1e3a6e; border-radius:10px; background:#fff; box-sizing:border-box; vertical-align:middle;}
.ws-a {color:#2e9e44; font-weight:700;}
.ws-box .ws-a {font-size:28px;}
.ws-ok {outline:4px solid #2e9e44; outline-offset:2px; border-radius:14px;}

/* equations */
.ws-eq-grid {list-style:none; margin:14px 0 0; padding:0; display:grid; grid-template-columns:repeat(3, 1fr); gap:34px 24px;}
.ws-eq {display:flex; align-items:center; justify-content:center; gap:10px; font-size:36px; font-weight:600; color:#2b2b2b; white-space:nowrap;}
.ws-eq-n {min-width:1.2em; text-align:center;}
.ws-eq-op {color:#2e9e44; font-weight:700; font-size:30px;}
.ws-body-equations .ws-eq-grid {margin-top:10px; gap:30px 24px;}

/* dinosaur pictures */
.ws-pic-grid {list-style:none; margin:10px 0 0; padding:0; display:grid; gap:20px 30px;}
.ws-pic-grid-2 {grid-template-columns:1fr 1fr;}
.ws-pic-grid-1 {grid-template-columns:1fr;}
.ws-pic-row {display:flex; align-items:center; gap:14px; padding:10px 14px; border:2px dashed #cfe6b3; border-radius:16px; min-height:90px;}
.ws-dinos {display:inline-flex; flex-wrap:wrap; gap:4px; max-width:520px; align-items:center;}
.ws-dinos-wide {max-width:560px;}
.ws-dino {width:44px; height:38px; object-fit:contain; display:block;}
.ws-pic-grid-2 .ws-dino {width:38px; height:33px;}
.ws-pic-grid-2 .ws-dinos {max-width:230px;}
.ws-pic-q {margin-left:auto; font-family:'PT Sans',sans-serif; font-weight:700; font-size:15px; color:#5a3d0c; white-space:nowrap;}
.ws-pic-grid-1 .ws-box {margin-left:auto;}
.ws-pic-row .ws-eq-op {font-size:36px;}

/* sequences + patterns */
.ws-seq {list-style:none; margin:14px 0 0; padding:0; display:flex; flex-direction:column; gap:26px;}
.ws-seq-row {display:flex; align-items:center; gap:18px;}
.ws-cells {display:inline-flex; gap:12px;}
.ws-cell {display:inline-flex; align-items:center; justify-content:center; width:92px; height:64px; border-radius:12px; font-size:30px; font-weight:600; box-sizing:border-box;}
.ws-cell.ws-given {background:#eaf3fb; color:#1e3a6e; border:2.5px solid #bcd7ef;}
.ws-cell.ws-box {background:#fff;}
.ws-rule {font-family:'PT Sans',sans-serif; font-weight:700; font-size:15px; color:#2e9e44;}

/* words with letter boxes */
.ws-word-grid {list-style:none; margin:8px 0 0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:22px 26px;}
.ws-word-row {display:flex; align-items:center; gap:14px; min-height:120px;}
.ws-pic {width:104px; height:104px; object-fit:contain; border-radius:12px; background:#fff; display:block; flex:0 0 auto;}
.ws-letters {display:inline-flex; gap:5px; flex-wrap:nowrap;}
.ws-letter {display:inline-flex; align-items:center; justify-content:center; width:40px; height:48px; font-size:30px; font-weight:600; color:#1e3a6e; border-bottom:3px solid #c9c2b2; box-sizing:border-box;}
.ws-letter.ws-blank {border:2.5px solid #1e3a6e; border-radius:9px; background:#fff;}
.ws-letters-6 .ws-letter {width:35px; height:46px; font-size:28px;}
.ws-letters-8 .ws-letter {width:27px; height:42px; font-size:24px;}
.ws-letters-10 .ws-letter {width:22px; height:38px; font-size:20px;}
.ws-letters-12 .ws-letter {width:18px; height:34px; font-size:17px;}
.ws-letters-6 {gap:4px;} .ws-letters-8 {gap:3px;} .ws-letters-10 {gap:2px;} .ws-letters-12 {gap:1px;}
.ws-word-row .ws-pic {width:96px; height:96px;}
.ws-letter .ws-a {font-size:1em;}
.ws-body-spelling .ws-word-row {min-height:128px;}

/* beginning sounds */
.ws-bs {list-style:none; margin:6px 0 0; padding:0; display:flex; flex-direction:column; gap:14px;}
.ws-bs-row {display:flex; align-items:center; gap:18px; padding:8px 12px; border:2px dashed #cfe6b3; border-radius:16px;}
.ws-bs-letter {display:inline-flex; align-items:baseline; justify-content:center; width:92px; font-size:52px; font-weight:700; color:#1e3a6e; flex:0 0 auto;}
.ws-bs-letter small {font-size:36px; margin-left:4px; font-weight:600;}
.ws-choices {display:inline-flex; gap:16px; align-items:center; flex:1 1 auto; justify-content:space-around;}
.ws-choice {display:inline-flex; align-items:center; justify-content:center; padding:2px;}
.ws-choice .ws-pic {width:110px; height:110px;}
.ws-bs-row .ws-choice .ws-pic {width:118px; height:118px;}
.ws-choices-words {gap:14px;}
.ws-choice-word {font-size:27px; font-weight:600; color:#1e3a6e; padding:8px 18px; border:2.5px solid #bcd7ef; border-radius:30px; background:#eaf3fb;}
.ws-choice-word.ws-ok {outline:none; border-color:#2e9e44; background:#e8f4d8; color:#2e6b0f;}

/* matching (letters/words <-> pictures) */
.ws-match {display:grid; grid-template-columns:1fr 1fr; gap:0 80px; margin-top:4px;}
.ws-match-col {list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px;}
.ws-match-col li {display:flex; align-items:center; gap:14px; min-height:112px;}
.ws-match-left li {justify-content:flex-end;}
.ws-match-left li::after {content:""; width:16px; height:16px; border-radius:50%; background:#1e3a6e; margin-left:6px; flex:0 0 auto;}
.ws-match-right li::before {content:""; width:16px; height:16px; border-radius:50%; background:#1e3a6e; margin-right:6px; flex:0 0 auto;}
.ws-word {font-size:32px; font-weight:600; color:#1e3a6e;}
.ws-word-lg {font-size:38px; min-width:190px;}
.ws-tag {font-family:'PT Sans',sans-serif; font-weight:700; font-size:16px; color:#7a6a4c; width:26px; height:26px; border-radius:50%; background:#f1e6cf; display:inline-flex; align-items:center; justify-content:center;}
.ws-match-left .ws-tag.ws-a {color:#fff; background:#2e9e44;}

/* word -> picture rows */
.ws-wp {list-style:none; margin:6px 0 0; padding:0; display:flex; flex-direction:column; gap:12px;}
.ws-wp-row {display:flex; align-items:center; gap:18px; padding:8px 14px; border:2px dashed #cfe6b3; border-radius:16px;}
.ws-wp-row .ws-word-lg {flex:0 0 190px;}
.ws-wp-row > .ws-pic {width:118px; height:118px;}

/* fill in the blank */
.ws-fb {list-style:none; margin:6px 0 0; padding:0; display:flex; flex-direction:column; gap:10px;}
.ws-fb-row {padding:8px 14px; border:2px dashed #cfe6b3; border-radius:16px;}
.ws-sentence {font-family:'PT Sans',sans-serif; font-size:24px; color:#2b2b2b; margin:0 0 6px; line-height:1.5;}
.ws-blankline {display:inline-block; min-width:140px; border-bottom:2.5px solid #1e3a6e; text-align:center; line-height:1; vertical-align:baseline; padding:0 6px;}
.ws-blankline .ws-a {font-family:Fredoka,'PT Sans',sans-serif; font-size:24px;}
.ws-fb-row .ws-choices {justify-content:flex-start; gap:26px; margin-top:2px;}
.ws-fb-row .ws-choice .ws-pic {width:96px; height:96px;}
.ws-fb-row .ws-choice-word {font-size:22px; padding:6px 16px;}
.ws-body-fill-blank .ws-fb-row:has(.ws-choices-words) {padding-bottom:10px;}
.ws-bank {display:flex; flex-wrap:wrap; align-items:center; gap:10px 16px; padding:12px 16px; margin:0 0 14px; background:#eaf3fb; border:2.5px solid #bcd7ef; border-radius:16px;}
.ws-bank-label {font-family:'PT Sans',sans-serif; font-weight:700; font-size:14px; letter-spacing:.06em; text-transform:uppercase; color:#1e3a6e; margin-right:6px;}
.ws-bank-word {font-size:26px; font-weight:600; color:#1e3a6e;}
.ws-body-fill-blank .ws-fb-row:not(:has(.ws-choices)) {padding:14px 14px;}
.ws-body-fill-blank .ws-fb-row:not(:has(.ws-choices)) .ws-sentence {margin:0; font-size:26px;}

/* ---- print ---- */
/* Print = exactly the on-screen sheet (816 x 1056 px = Letter at 96dpi). The sheet's own padding is the page margin,
   so what prints always matches the preview images, and nothing can spill onto a second page (2026-09-21: with
   @page margins + a 9.9in sheet, print had 34px LESS room than the screen and footers fell onto page 2). */
@page {size:letter; margin:0;}
@media print {
  html.wsp, html.wsp body {background:#fff;}
  .ws-toolbar, .ws-hint {display:none !important;}
  /* print.php's on-screen fit() leaves inline margin-left / height / transform behind (a wide window used to print the
     sheet squeezed against the right edge and shrunk, 2026-09-21): !important beats those inline styles */
  .ws-stage {padding:0 !important; overflow:visible; height:auto !important;}
  .ws-stage-inner {width:816px !important; margin:0 !important; transform:none !important;}
  .ws-sheet {width:816px; min-height:0; height:1054px; overflow:hidden; box-shadow:none; page-break-after:avoid;}
  .ws-sheet, .ws-sheet * {break-inside:avoid;}
}


/* ==========================================================================
   Dinosaur printables (worksheet-dino.php, 2026-09-21): coloring, word-search,
   maze, word-scramble, fact-match, name-trace, fact-file. Scoped to .wsd-*.
   ========================================================================== */
/* --- coloring --- */
.ws-body-coloring {align-items:center; min-height:0;}
.ws-sheet:has(.ws-body-coloring) {height:1056px;}   /* fixed height so the art shrinks to fit above the fact + footer instead of pushing them off the page */
.wsd-color {flex:1 1 auto; min-height:0; width:100%; display:flex; align-items:center; justify-content:center; margin:0 0 8px;}
.wsd-color-art {display:block; max-width:100%; max-height:100%; height:auto; width:auto; object-fit:contain; filter:brightness(1.04) contrast(1.12);}
.wsd-color-name {font-family:Fredoka,'PT Sans',sans-serif; font-weight:700; font-size:42px; line-height:1.1; letter-spacing:.07em; text-align:center; margin:4px 0 8px; color:#fff; -webkit-text-stroke:4px #222; paint-order:stroke fill;}
/* ABC coloring pages (2026-11-17): giant outlined letter pair to color + "is for <name>" */
.wsd-abc {display:flex; align-items:center; justify-content:center; gap:22px; width:100%; margin:0 0 4px; flex:0 0 auto;}
.wsd-abc-letter {font-family:Fredoka,'PT Sans',sans-serif; font-weight:700; font-size:132px; line-height:.95; color:#fff; -webkit-text-stroke:5px #222; paint-order:stroke fill; letter-spacing:.02em;}
.wsd-abc-letter span {font-size:104px; margin-left:6px;}
.wsd-abc-word {display:flex; flex-direction:column; font-family:Fredoka,'PT Sans',sans-serif; font-weight:600; font-size:26px; line-height:1.15; color:#3b2a0a;}
.wsd-abc-word b {font-weight:700; font-size:40px; color:#222;}
.wsd-abc-word i {font-style:normal; color:#fff; -webkit-text-stroke:2.5px #222; paint-order:stroke fill;}
.wsd-fact {font-family:'PT Sans',sans-serif; font-size:16px; line-height:1.4; color:#3b2a0a; text-align:center; margin:0 0 8px; padding:8px 16px; background:#fff5d6; border-radius:12px;}
.wsd-fact strong {font-weight:700; color:#5a3d0c;}
.ws-sheet:has(.ws-body-coloring) .ws-instr {display:none;}
.ws-sheet:has(.ws-body-coloring) .ws-titlebar {margin:12px 0 2px;}

/* --- word search --- */
.ws-body-word-search {align-items:center; justify-content:space-evenly;}
.wsd-ws {display:grid; border:3px solid #1e3a6e; border-radius:14px; padding:10px; box-sizing:border-box; font-family:Fredoka,'PT Sans',sans-serif; font-weight:600; color:#2b2b2b; text-align:center;}
.wsd-ws span {display:flex; align-items:center; justify-content:center; aspect-ratio:1 / 1; border-radius:50%;}
.wsd-ws-8  {width:540px; font-size:40px;}
.wsd-ws-11 {width:580px; font-size:30px;}
.wsd-ws-15 {width:620px; font-size:23px;}
.wsd-ws .wsd-hit {background:#bfe8c6; color:#14532d;}
.wsd-ws-list {list-style:none; margin:14px 0 0; padding:12px 18px; width:100%; box-sizing:border-box; display:grid; grid-template-columns:repeat(4, 1fr); gap:8px 14px; background:#e8f4d8; border-radius:14px; font-family:Fredoka,'PT Sans',sans-serif; font-weight:600; font-size:19px; letter-spacing:.04em; color:#1e3a6e;}
.wsd-ws-list-4 {grid-template-columns:repeat(3, 1fr); font-size:17px;}
.wsd-ws-list li {display:flex; align-items:center; gap:8px;}
.wsd-tick {flex:0 0 auto; width:15px; height:15px; border:2px solid #2e6b0f; border-radius:4px; background:#fff;}

/* --- maze --- */
.ws-body-maze {align-items:center; justify-content:center;}
.wsd-maze {position:relative; display:flex; align-items:stretch; justify-content:center; gap:6px; width:100%;}
.wsd-maze-svg {display:block; flex:0 0 auto;}
.wsd-maze-start, .wsd-maze-end {flex:0 0 46px; width:46px; display:flex; flex-direction:column; align-items:center; font-family:'PT Sans',sans-serif; font-weight:700; font-size:12px; letter-spacing:.06em; text-transform:uppercase; color:#2e6b0f;}
.wsd-maze-start {justify-content:flex-start;}
.wsd-maze-start img {width:64px; height:auto; margin:0 0 2px -14px; transform:scaleX(-1);}
.wsd-maze-end {justify-content:flex-end;}
.wsd-maze-end svg {width:62px; height:auto; margin:0 -10px 2px 0;}

/* --- word scramble --- */
.wsd-scr {list-style:none; counter-reset:scr; margin:0; padding:0; flex:1 1 auto; display:flex; flex-direction:column; justify-content:space-evenly;}
.wsd-scr li {counter-increment:scr; position:relative; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:4px 16px; padding:6px 0 6px 40px; border-bottom:2px dashed #e6dfcf;}
.wsd-scr li:last-child {border-bottom:0;}
.wsd-scr li::before {content:counter(scr); position:absolute; left:0; top:50%; margin-top:-15px; width:30px; height:30px; border-radius:50%; background:#1e3a6e; color:#fff; font-family:Fredoka,sans-serif; font-weight:700; font-size:16px; line-height:30px; text-align:center;}
.wsd-scr li::after {content:"\2192"; grid-column:2; grid-row:1; font-size:26px; color:#2e9e44; font-weight:700;}
.wsd-scr-mix {grid-column:1; grid-row:1; display:flex; flex-wrap:wrap; gap:4px;}
.wsd-scr-mix span {display:inline-flex; align-items:center; justify-content:center; width:38px; height:42px; border-radius:9px; background:#fff5d6; box-shadow:inset 0 0 0 2px #f6e3a3; font-family:Fredoka,sans-serif; font-weight:700; font-size:25px; color:#5a3d0c;}
.wsd-scr-ans {grid-column:3; grid-row:1; display:flex; gap:4px; justify-content:flex-end;}
.wsd-scr-ans > span {display:inline-flex; align-items:center; justify-content:center; width:38px; height:44px; border:2px solid #1e3a6e; border-radius:8px; box-sizing:border-box; font-family:Fredoka,sans-serif; font-size:25px;}
.wsd-scr-hint {grid-column:1 / span 3; grid-row:2; font-family:'PT Sans',sans-serif; font-size:15px; font-style:italic; color:#6b5a3e;}
/* long dinosaur names: scrambled tiles on one line, answer boxes on the next */
.wsd-scr-long li {grid-template-columns:1fr; padding-top:8px; padding-bottom:8px;}
.wsd-scr-long li::after {display:none;}
.wsd-scr-long .wsd-scr-mix {grid-column:1; grid-row:1;}
.wsd-scr-long .wsd-scr-hint {grid-column:1; grid-row:2;}
.wsd-scr-long .wsd-scr-ans {grid-column:1; grid-row:3; justify-content:flex-start;}
.wsd-scr-long .wsd-scr-mix span {width:34px; height:36px; font-size:22px;}
.wsd-scr-long .wsd-scr-ans > span {width:34px; height:38px; font-size:22px;}

/* --- fact match --- */
.wsd-fm {flex:1 1 auto; display:grid; grid-template-columns:auto 1fr; gap:0 110px; align-items:stretch;}
.wsd-fm ol {list-style:none; margin:0; padding:0; display:flex; flex-direction:column; justify-content:space-evenly;}
.wsd-fm li {display:flex; align-items:center; gap:10px; min-height:58px;}
.wsd-fm-left li {justify-content:flex-end;}
.wsd-fm-name {font-family:Fredoka,sans-serif; font-weight:700; font-size:22px; color:#1e3a6e;}
.wsd-fm-slot {display:inline-flex; align-items:center; justify-content:center; width:34px; height:36px; border:2px solid #1e3a6e; border-radius:8px; font-family:Fredoka,sans-serif; font-size:22px;}
.wsd-dot {flex:0 0 auto; width:13px; height:13px; border-radius:50%; background:#2e9e44;}
.wsd-fm-letter {flex:0 0 auto; width:30px; height:30px; border-radius:50%; background:#1e3a6e; color:#fff; font-family:Fredoka,sans-serif; font-weight:700; font-size:16px; line-height:30px; text-align:center;}
.wsd-fm-text {font-family:'PT Sans',sans-serif; font-size:17.5px; line-height:1.3; color:#2b2b2b;}
.wsd-fm-means .wsd-fm-text {font-family:Fredoka,sans-serif; font-weight:500; font-size:21px;}
.wsd-fm-tip {font-family:'PT Sans',sans-serif; font-size:14px; font-style:italic; color:#6b5a3e; margin:6px 0 8px; text-align:center;}

/* --- name trace --- */
.wsd-trace {list-style:none; margin:0; padding:0; flex:1 1 auto; display:flex; flex-direction:column; justify-content:space-evenly;}
.wsd-trace li {display:flex; align-items:center; gap:18px;}
.wsd-trace img, .wsd-trace-noimg {flex:0 0 96px; width:96px; max-height:104px; object-fit:contain;}
.wsd-trace-noimg {height:1px;}
.wsd-trace:not(:has(img)) .wsd-trace-noimg {display:none;}
.wsd-trace-lines {flex:1 1 auto; min-width:0;}
.wsd-trace-dots {display:flex; gap:44px; align-items:baseline; font-family:'Edu AU VIC WA NT Dots','Fredoka',sans-serif; font-weight:500; font-size:58px; line-height:1.45; color:#3b3b3b; white-space:nowrap; text-decoration:underline solid #9bb7d9 2px; text-underline-offset:2px; text-decoration-skip-ink:none;}
.wsd-trace-dots span {text-decoration:inherit;}
.wsd-trace-write {height:54px; margin-top:2px; border-bottom:2px solid #9bb7d9; background:linear-gradient(to bottom, transparent 49%, #cfe0f2 49%, #cfe0f2 51%, transparent 51%);}

/* --- fact file / report --- */
.wsd-ff {flex:1 1 auto; display:flex; flex-direction:column; justify-content:space-between;}
.wsd-ff-draw {border:3px dashed #9bb7d9; border-radius:18px; display:flex; align-items:flex-end; justify-content:center; padding:8px; box-sizing:border-box; font-family:'PT Sans',sans-serif; font-size:14px; color:#9aa8b8;}
.wsd-ff-draw-big {height:330px;}
.wsd-ff-line {flex:1 1 auto; display:inline-block; min-width:80px; border-bottom:2px solid #5a3d0c; height:1em; margin-left:10px;}
.wsd-ff-sent {display:flex; align-items:baseline; flex-wrap:wrap; gap:6px 10px; font-family:Fredoka,sans-serif; font-weight:500; font-size:25px; color:#1e3a6e; margin:0;}
.wsd-ff-sent small {font-family:'PT Sans',sans-serif; font-size:14px; color:#6b5a3e;}
.wsd-ff-sent-full .wsd-ff-line {margin-left:0;}
.wsd-ff-choice {display:inline-block; padding:3px 16px; border:2px solid #cfe0f2; border-radius:24px; color:#2b2b2b; font-weight:500;}
.wsd-ff-top {display:grid; grid-template-columns:300px 1fr; gap:22px;}
.wsd-ff-report .wsd-ff-draw {height:300px;}
.wsd-ff-fields {display:flex; flex-direction:column; justify-content:space-between;}
.wsd-ff-field {display:flex; flex-direction:column; margin:0; font-family:'PT Sans',sans-serif; font-size:14px; color:#5a3d0c;}
.wsd-ff-field strong {font-weight:700; text-transform:uppercase; letter-spacing:.06em; font-size:12px;}
.wsd-ff-field .wsd-ff-line {margin:0; height:24px; flex:0 0 auto; display:block;}
.wsd-ff-h {font-family:Fredoka,sans-serif; font-weight:700; font-size:20px; color:#1e3a6e; margin:10px 0 0;}
.wsd-ff-fact {display:flex; align-items:flex-end; gap:10px; margin:0; height:36px;}
.wsd-ff-fact .wsd-ff-line {margin-left:0; height:30px;}
.wsd-ff-fact-2 {padding-left:40px;}
.wsd-ff-num {flex:0 0 auto; width:30px; height:30px; border-radius:50%; background:#2e9e44; color:#fff; font-family:Fredoka,sans-serif; font-weight:700; font-size:16px; line-height:30px; text-align:center;}
.wsd-ff-source {margin-top:8px;}


/* ==========================================================================
   Dinosaur printables, second batch (worksheet-dino2.php): crossword, bingo,
   count-graph, secret-code, writing-prompt, grid-draw.
   ========================================================================== */
/* --- crossword --- */
.ws-body-crossword {align-items:center; justify-content:space-evenly;}
.wsd-cw {display:grid; gap:0; font-family:Fredoka,sans-serif; font-weight:600; color:#2b2b2b;}
.wsd-cw-c {position:relative; display:flex; align-items:flex-end; justify-content:center; padding-bottom:2px; box-sizing:border-box; border:2px solid #1e3a6e; margin:-1px; background:#fff;}
.wsd-cw-c i {position:absolute; left:3px; top:1px; font-family:'PT Sans',sans-serif; font-style:normal; font-weight:700; font-size:10px; line-height:1.1; color:#5a3d0c;}
.wsd-cw-clues {width:100%; display:grid; grid-template-columns:1fr 1fr; gap:0 26px; margin-top:12px; padding:10px 18px 12px; box-sizing:border-box; background:#e8f4d8; border-radius:14px;}
.wsd-cw-clues h2 {font-family:Fredoka,sans-serif; font-weight:700; font-size:18px; color:#1e3a6e; margin:0 0 4px;}
.wsd-cw-clues ol {list-style:none; margin:0; padding:0; font-family:'PT Sans',sans-serif; font-size:13.5px; line-height:1.3; color:#2b2b2b;}
.wsd-cw-clues li {margin:0 0 4px;}
.wsd-cw-clues b {font-weight:700; color:#2e6b0f;}

/* --- bingo --- */
.ws-body-bingo, .ws-body-bingo-calls {align-items:center; justify-content:center;}
.wsd-bingo-word {font-family:Fredoka,sans-serif; font-weight:700; font-size:40px; letter-spacing:.12em; color:#2e9e44; margin:0 0 10px;}
.wsd-bingo {display:grid; gap:0; border:4px solid #1e3a6e; border-radius:16px; overflow:hidden;}
.wsd-bingo-3 {grid-template-columns:repeat(3, 226px);}
.wsd-bingo-4 {grid-template-columns:repeat(4, 172px);}
.wsd-bingo > div, .wsd-calls > div {display:flex; flex-direction:column; align-items:center; justify-content:flex-end; box-sizing:border-box; border:2px solid #1e3a6e; margin:-1px; padding:6px 4px 5px; background:#fff;}
.wsd-bingo-3 > div {height:226px;} .wsd-bingo-4 > div {height:172px;}
.wsd-bingo img, .wsd-calls img {flex:1 1 auto; min-height:0; width:100%; object-fit:contain; filter:brightness(1.04) contrast(1.12);}
.wsd-bingo span, .wsd-calls span {flex:0 0 auto; font-family:Fredoka,sans-serif; font-weight:600; font-size:15px; line-height:1.15; color:#1e3a6e; text-align:center;}
.wsd-bingo-4 span {font-size:13px;}
.wsd-calls {display:grid; grid-template-columns:repeat(4, 176px); gap:0;}
.wsd-calls > div {height:188px; border-style:dashed; border-color:#7a8aa6;}

/* --- count and graph --- */
.ws-body-count-graph {justify-content:space-evenly;}
.wsd-cg-field {display:grid; grid-template-columns:repeat(6, 1fr); gap:8px 10px; padding:12px 16px; border:3px dashed #cfe6b3; border-radius:18px; background:#f7fbef;}
.wsd-cg-field img {width:100%; height:74px; object-fit:contain;}
.wsd-cg {border-collapse:collapse; margin:12px auto 0; font-family:'PT Sans',sans-serif;}
.wsd-cg th {padding:2px 12px 2px 0; text-align:right; white-space:nowrap; font-family:Fredoka,sans-serif; font-weight:600; font-size:16px; color:#1e3a6e;}
.wsd-cg th img {width:50px; height:46px; object-fit:contain; vertical-align:middle; margin-right:8px;}
.wsd-cg td {width:58px; height:50px; border:2px solid #1e3a6e; box-sizing:border-box;}
.wsd-cg td.wsd-cg-on {background:#bfe8c6;}
.wsd-cg td.wsd-cg-num {border:0; padding-left:16px; width:auto;}
.wsd-cg .ws-box {width:58px; height:46px;}
.wsd-cg-axis td {border:0; height:auto; text-align:center; font-weight:700; font-size:15px; color:#5a3d0c; padding-top:3px;}

/* --- secret code --- */
.ws-body-secret-code {justify-content:space-evenly;}
.wsd-code-key {display:grid; grid-template-columns:repeat(13, 1fr); gap:6px; padding:12px; background:#fff5d6; border-radius:16px;}
.wsd-code-key span {display:flex; flex-direction:column; align-items:center; background:#fff; border:2px solid #f6e3a3; border-radius:9px; padding:3px 0 2px;}
.wsd-code-key b {font-family:Fredoka,sans-serif; font-weight:700; font-size:22px; line-height:1.1; color:#1e3a6e;}
.wsd-code-key i {font-family:'PT Sans',sans-serif; font-style:normal; font-weight:700; font-size:15px; color:#b8300f;}
.wsd-code-q {font-family:Fredoka,sans-serif; font-weight:600; font-size:25px; line-height:1.25; color:#1e3a6e; text-align:center; margin:6px 0;}
.wsd-code-a {display:flex; flex-wrap:wrap; justify-content:center; gap:22px 34px;}
.wsd-code-word {display:inline-flex; gap:6px;}
.wsd-code-word > span {display:inline-flex; flex-direction:column; align-items:center; width:40px;}
.wsd-code-word u {display:flex; align-items:flex-end; justify-content:center; width:100%; height:42px; border-bottom:3px solid #1e3a6e; text-decoration:none; font-family:Fredoka,sans-serif; font-size:30px; line-height:1;}
.wsd-code-word i {font-family:'PT Sans',sans-serif; font-style:normal; font-weight:700; font-size:16px; color:#b8300f; margin-top:3px;}
.wsd-code-more {font-family:'PT Sans',sans-serif; font-size:16px; font-style:italic; color:#5a3d0c; text-align:center; margin:6px 0 0;}
.wsd-code-own {height:40px; border-bottom:2px solid #9bb7d9;}

/* --- writing prompt --- */
.wsd-wp-top {display:grid; grid-template-columns:1fr 200px; gap:20px; align-items:center; margin:0 0 6px;}
.wsd-wp-prompt {font-family:Fredoka,sans-serif; font-weight:600; font-size:27px; line-height:1.25; color:#1e3a6e; margin:0; padding:16px 20px; background:#e4f3fd; border-radius:18px;}
.wsd-wp-top img {width:200px; height:270px; object-fit:contain; filter:brightness(1.04) contrast(1.12);}
.wsd-wp-lines {flex:1 1 auto; display:flex; flex-direction:column; justify-content:space-evenly;}
.wsd-wp-lines span {display:block; height:34px; border-bottom:2px solid #9bb7d9;}
.wsd-wp-primary span {height:50px; background:linear-gradient(to bottom, transparent 48%, #cfe0f2 48%, #cfe0f2 52%, transparent 52%);}

/* --- grid drawing --- */
.ws-body-grid-draw {justify-content:space-evenly;}
.wsd-gd {display:grid; grid-template-columns:1fr 1fr; gap:24px; max-width:640px; margin:0 auto; width:100%;}
.wsd-gd-box {position:relative; aspect-ratio:1024 / 1536; border:3px solid #1e3a6e; box-sizing:border-box; background:#fff; overflow:hidden;}
.wsd-gd-box img {position:absolute; inset:0; width:100%; height:100%; object-fit:contain; filter:brightness(1.04) contrast(1.12);}
.wsd-gd-grid {position:absolute; inset:0; background-image:linear-gradient(to right, rgba(74,144,217,.55) 1.5px, transparent 1.5px), linear-gradient(to bottom, rgba(74,144,217,.55) 1.5px, transparent 1.5px);}

/* ======================================================================
   Worksheets for games 91-96 (worksheet-skills.php, 2026-10-29)
   ====================================================================== */
.wss-wide {min-width:230px;}
/* --- elapsed time --- */
.wss-et-grid {list-style:none; margin:4px 0 0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:14px 20px; flex:1 1 auto; align-content:space-evenly;}
.wss-et {border:2px dashed #cfe6b3; border-radius:16px; padding:10px 12px 12px; display:flex; flex-direction:column; align-items:center; gap:6px;}
.wss-et-thing {margin:0; font-weight:700; font-size:21px; color:#1e3a6e; text-align:center;}
.wss-et-thing span {display:block; font-family:'PT Sans',sans-serif; font-size:15px; color:#5a3d0c; font-weight:700;}
.wss-et-clocks {display:flex; align-items:center; gap:8px;}
.wss-et-clocks figure {margin:0; display:flex; flex-direction:column; align-items:center; gap:3px;}
.wss-et-clocks figcaption {font-family:'PT Sans',sans-serif; font-size:14px; color:#5a3d0c;}
.wss-et-clocks figcaption b {color:#1e3a6e; font-size:16px;}
.wss-et-arrow {font-size:26px; color:#9dbbd8;}
.wss-et-ans {margin:2px 0 0; font-family:'PT Sans',sans-serif; font-weight:700; font-size:16px; color:#3b2a0a;}
.wss-et-ans .ws-blankline {min-width:110px; height:26px;}
.wss-et-ans .wss-wide {min-width:190px;}
.wss-et-ans .ws-a {font-size:19px;}
/* --- sudoku --- */
.ws-body-sudoku {align-items:center;}
.wss-sd-row {display:flex; gap:36px; justify-content:center; margin:14px 0 0;}
.wss-sd {display:grid; border:4px solid #1e3a6e; border-radius:6px; background:#fff;}
.wss-sd > span {display:flex; align-items:center; justify-content:center; border:1px solid #9dbbd8; box-sizing:border-box;}
.wss-sd > span.wss-bl {border-left:3px solid #1e3a6e;}
.wss-sd > span.wss-bt {border-top:3px solid #1e3a6e;}
.wss-sd > span.wss-empty {background:#fbf6ec;}
.wss-sd img {width:84%; height:84%; object-fit:contain;}
.ws-key .wss-sd > span.wss-empty img {opacity:.9; outline:3px solid #2e9e44; outline-offset:-3px; border-radius:6px;}
.wss-cut {margin-top:auto; width:100%; padding-top:12px;}
.wss-cut-label {margin:0 0 6px; font-family:'PT Sans',sans-serif; font-weight:700; font-size:14px; color:#7a6a4c;}
.wss-cut-strip {display:flex; flex-wrap:wrap; justify-content:center; border-top:2px dashed #b9a88a;}
.wss-cut-strip > span {width:64px; height:64px; display:flex; align-items:center; justify-content:center; border-right:2px dashed #b9a88a; border-bottom:2px dashed #b9a88a; box-sizing:border-box;}
.wss-cut-strip > span:first-child {border-left:2px dashed #b9a88a;}
.wss-cut-strip img {width:82%; height:82%; object-fit:contain;}
/* --- riddles --- */
.wss-rd {list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; flex:1 1 auto; justify-content:space-evenly; counter-reset:rd;}
.wss-rd-row {display:flex; align-items:center; gap:14px; border:2px dashed #cfe6b3; border-radius:16px; padding:10px 12px; counter-increment:rd;}
.wss-rd-clues {flex:1 1 auto; min-width:0;}
.wss-rd-clues p {margin:0 0 4px; font-family:'PT Sans',sans-serif; font-size:16px; line-height:1.3; color:#2b2b2b;}
.wss-rd-clues p:first-child::before {content:counter(rd) ". "; font-weight:700; color:#1e3a6e;}
.wss-rd-clues .wss-rd-q {font-family:Fredoka,'PT Sans',sans-serif; font-weight:600; color:#1e3a6e; margin:4px 0 0;}
.wss-rd-cards {display:flex; gap:8px; flex:0 0 auto;}
.wss-rd-card {display:flex; flex-direction:column; align-items:center; width:92px; padding:3px; border-radius:12px;}
.wss-rd-card img {width:88px; height:112px; object-fit:cover; object-position:center 30%; border-radius:10px; border:2px solid #e8f4d8;}
.wss-rd-card b {font-family:'PT Sans',sans-serif; font-size:11.5px; color:#3b2a0a; text-align:center; line-height:1.15; margin-top:3px; word-break:break-word;}
.wss-rd-1 .wss-rd-card {width:110px;} .wss-rd-1 .wss-rd-card img {width:104px; height:126px;} .wss-rd-1 .wss-rd-clues p {font-size:18px;}
.wss-rd-3 .wss-rd-row {padding:12px 16px;}
.wss-rd-3 .ws-blankline {min-width:220px; height:30px; flex:0 0 auto;}
.wss-bank {display:flex; flex-wrap:wrap; gap:8px 10px; align-items:center; padding:10px 14px; border:2.5px solid #bcd7ef; border-radius:16px; background:#eaf3fb; margin:0 0 12px;}
.wss-bank-t {font-family:'PT Sans',sans-serif; font-weight:700; font-size:13px; text-transform:uppercase; letter-spacing:.06em; color:#1e3a6e; margin-right:4px;}
.wss-bank-w {font-weight:600; font-size:18px; color:#1e3a6e; background:#fff; border-radius:20px; padding:3px 12px;}
/* --- sink or float --- */
.wss-sf-pic {width:92px; height:92px; object-fit:contain; border-radius:10px; background:#fff; display:block;}
.wss-pill {display:inline-block; font-family:Fredoka,'PT Sans',sans-serif; font-weight:600; font-size:20px; color:#1e3a6e; padding:4px 16px; margin:0 6px; border:2.5px solid #bcd7ef; border-radius:30px; background:#eaf3fb;}
.wss-pill-ok {border-color:#2e9e44; background:#e8f4d8; color:#2e6b0f; outline:3px solid #2e9e44; outline-offset:2px;}
.wss-sf-grid {list-style:none; margin:6px 0 0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:14px 20px; flex:1 1 auto; align-content:space-evenly;}
.wss-sf {display:flex; align-items:center; gap:14px; border:2px dashed #cfe6b3; border-radius:16px; padding:10px 12px;}
.wss-sf p {margin:0 0 8px; font-weight:600; font-size:20px; color:#1e3a6e;}
.wss-tank {position:relative; flex:1 1 auto; display:flex; flex-direction:column; border:4px solid #1e3a6e; border-top:none; border-radius:0 0 26px 26px; overflow:hidden; min-height:430px;}
.wss-tank-top, .wss-tank-bottom {flex:1 1 50%; display:flex; flex-wrap:wrap; align-content:center; justify-content:center; gap:10px; padding:34px 14px 12px; position:relative;}
.wss-tank-top {background:linear-gradient(180deg,#fff 0,#fff 38%,#d7ecfb 38%,#d7ecfb 100%);}
.wss-tank-bottom {background:#b9dcf6; border-top:2px dashed #7fb3dc;}
.wss-tank b {position:absolute; top:8px; left:14px; font-family:Fredoka,'PT Sans',sans-serif; font-size:24px; color:#1e3a6e;}
.wss-tank .wss-sf-pic {width:84px; height:84px; mix-blend-mode:multiply;}
.wss-cut-sf > span {width:91px; height:112px; flex-direction:column;}
.wss-cut-sf .wss-sf-pic {width:76px; height:76px;}
.wss-cut-sf i {font-style:normal; font-family:'PT Sans',sans-serif; font-size:12px; color:#3b2a0a;}
.wss-sf-table {width:100%; border-collapse:separate; border-spacing:0 8px; font-family:'PT Sans',sans-serif;}
.wss-sf-table th {text-align:left; font-size:15px; text-transform:uppercase; letter-spacing:.05em; color:#5a3d0c; padding:0 8px;}
.wss-sf-table td {border-top:2px dashed #cfe6b3; border-bottom:2px dashed #cfe6b3; padding:6px 8px; vertical-align:middle;}
.wss-sf-table td:first-child {display:flex; align-items:center; gap:10px; font-weight:700; font-size:18px; color:#1e3a6e; border-left:2px dashed #cfe6b3; border-radius:14px 0 0 14px;}
.wss-sf-table td:last-child {border-right:2px dashed #cfe6b3; border-radius:0 14px 14px 0;}
.wss-sf-table .wss-sf-pic {width:84px; height:84px;}
.wss-sf-table .wss-pill {font-size:17px; padding:3px 12px; margin:0 3px;}
.wss-sf-table em.ws-a {display:block; font-style:normal; font-size:12.5px; margin-top:6px;}
/* --- adjective agreement --- */
.wss-la {list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; flex:1 1 auto; justify-content:space-evenly;}
.wss-la-row {display:flex; align-items:center; gap:16px; border:2px dashed #cfe6b3; border-radius:16px; padding:8px 14px;}
.wss-la-pic {width:88px; height:88px; object-fit:contain; border-radius:10px; flex:0 0 auto;}
.wss-la-main {flex:1 1 auto; min-width:0;}
.wss-la-en {margin:0 0 4px; font-family:'PT Sans',sans-serif; font-size:15px; color:#7a6a4c; font-style:italic;}
.wss-la-phrase {margin:0; font-weight:600; font-size:27px; color:#1e3a6e;}
.wss-la-phrase .ws-blankline {min-width:150px; height:30px;}
.wss-la-tiles {flex:0 0 auto; justify-content:flex-end; gap:8px; flex-wrap:wrap; max-width:330px;}
.wss-la-tiles .ws-choice-word {font-size:20px; padding:5px 13px;}
.wss-la-base {font-family:'PT Sans',sans-serif; font-weight:700; font-size:20px; color:#5a3d0c; flex:0 0 auto;}
/* fit tweaks (levels 3-4 elapsed time carry an extra "lasts" line; the word-bank riddles have 6 rows) */
.wss-et-grid {gap:10px 20px;} .wss-et {padding:8px 12px 10px; gap:4px;}
.wss-rd-3 {gap:8px;} .wss-rd-3 .wss-rd-row {padding:8px 16px;} .wss-rd-3 .wss-rd-clues p {font-size:15.5px; margin-bottom:3px;}
.wss-la-phrase {white-space:nowrap; font-size:25px;} .wss-la-phrase .ws-blankline {min-width:120px;}
.wss-la-tiles {max-width:none; flex-wrap:nowrap; gap:6px;} .wss-la-tiles .ws-choice-word {font-size:17px; padding:4px 10px;}

/* ==========================================================================
   Reading comprehension (worksheet-reading.php, 2026-11-17)
   ========================================================================== */
.ws-body-comprehension {display:block;}
.wsr {font-family:'PT Sans',sans-serif; color:#2a1f0a;}
.wsr-passage {background:#fffaf0; border:2px solid #f1e6cf; border-radius:14px; padding:12px 16px; margin:0 0 10px; overflow:hidden;}
.wsr-passage p {margin:0 0 7px; text-indent:1.4em;}
.wsr-passage p:last-child {margin-bottom:0;}
.wsr-art {float:right; width:150px; height:auto; margin:0 0 6px 14px; border-radius:10px; filter:contrast(1.1);}
.wsr-qs {margin:0; padding:0 0 0 22px;}
.wsr-qs > li {margin:0 0 7px; padding-left:2px; font-weight:700;}
.wsr-skill {display:inline-block; font-size:10px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#2e7d32; background:#e7f4e1; border-radius:8px; padding:1px 7px; margin-right:4px; vertical-align:2px;}
.wsr-choices {display:flex; flex-wrap:wrap; gap:3px 18px; margin:4px 0 0; font-weight:400;}
.wsr-c {display:inline-flex; align-items:baseline; gap:6px;}
.wsr-c b {display:inline-flex; align-items:center; justify-content:center; width:20px; height:20px; border:1.5px solid #5a3d0c; border-radius:50%; font-size:12px; flex:0 0 auto;}
.wsr-hit {color:#1b6e20; font-weight:700;}
.wsr-hit b {background:#2e9e44; border-color:#2e9e44; color:#fff;}
.wsr-lines {display:block; margin-top:4px;}
.wsr-lines span {display:block; height:28px; border-bottom:1.5px solid #b9a77f;}
.wsr-sample {display:block; margin-top:6px; padding:6px 10px; background:#e7f4e1; border-radius:8px; color:#1b6e20; font-weight:400;}
/* level 1: big print, choices one per line */
.wsr-l1 .wsr-passage {font-size:18.5px; line-height:1.45;}
.wsr-l1 .wsr-art {width:165px;}
.wsr-l1 .wsr-qs {font-size:17px;}
.wsr-l1 .wsr-choices {gap:4px 26px;}
.wsr-l1 .wsr-lines span {height:34px;}
/* level 2 */
.wsr-l2 .wsr-passage {font-size:14.8px; line-height:1.4;}
.wsr-l2 .wsr-qs {font-size:14.5px;}
/* level 3: smaller print, more text */
.wsr-l3 .wsr-passage {font-size:13px; line-height:1.37; padding:9px 14px;}
.wsr-l3 .wsr-passage p {margin-bottom:5px;}
.wsr-l3 .wsr-art {width:120px;}
.wsr-l3 .wsr-qs {font-size:13px;}
.wsr-l3 .wsr-qs > li {margin-bottom:6px;}
.wsr-l3 .wsr-lines span {height:24px;}
