/* ==========================================================================
   Take the Floor · unit QR pages — worksheet + print layer
   /go/tf/tf-print.css · loaded AFTER ../../../assets/css/site.css
   The only page-specific file for /go/tf/. It adds no new visual design:
   it uses site.css tokens (--floor-plum, --rule, --ink, --radius …) and
   only defines what printable sheets need: cut lines, fold lines, writing
   lines, true-size cards (inches), page breaks, and print visibility.
   ========================================================================== */

/* Lets the site's existing .grownups strip (section 20) use the
   Take the Floor plum instead of the WordSketch plum. */
.tf-page { --kid-plum: var(--floor-plum); }
.tf-page .grownups { margin-top: 0; }

/* ---------- Sheet shell (screen) ---------- */
.tf-sheet {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.4rem 1.3rem; margin: 1.5rem 0;
}
.tf-sheet-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem;
  border-bottom: 2px solid var(--floor-plum); padding-bottom: .45rem; margin-bottom: 1rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--floor-plum);
}
.tf-sheet h3 { margin-top: 0; }
.tf-sheet h4 { margin: 1.3rem 0 .4rem; color: var(--floor-plum); }
.tf-sheet-foot { margin-top: 1.2rem; padding-top: .5rem; border-top: 1px solid var(--rule); font-size: .78rem; color: var(--ink-soft); }
.tf-sheet--teacher { border: 2px solid var(--navy-800); }
.tf-sheet--teacher .tf-sheet-head { color: var(--navy-800); border-bottom-color: var(--navy-800); }
.tf-directions { background: var(--floor-100); border: 1px solid #dcbfd2; border-radius: 8px; padding: .7rem .9rem; font-size: .95rem; margin-bottom: 1rem; }
.tf-directions > :last-child { margin-bottom: 0; }
.tf-namebar { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; font-size: .9rem; margin-bottom: 1rem; }
.tf-namebar span { flex: 1 1 12rem; border-bottom: 1px solid var(--ink); padding-bottom: .1rem; }

/* ---------- Writing lines & boxes ---------- */
.tf-lines { margin: .3rem 0 .6rem; }
.tf-line { display: block; height: 1.9rem; border-bottom: 1px solid #9a9286; }
.tf-box { border: 1.5px solid var(--ink); border-radius: 6px; padding: .55rem .7rem; break-inside: avoid; }
.tf-box-label { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--floor-plum); margin-bottom: .1rem; }
.tf-box-hint { display: block; font-size: .82rem; color: var(--ink-soft); }
.tf-check { list-style: none; padding: 0; }
.tf-check li { position: relative; padding-left: 1.7rem; margin-bottom: .45rem; }
.tf-check li::before { content: ""; position: absolute; left: 0; top: .28em; width: .95rem; height: .95rem; border: 1.5px solid var(--ink); border-radius: 2px; }

/* ---------- Tables to write in ---------- */
.tf-table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: .5rem 0 1rem; }
.tf-table th, .tf-table td { border: 1px solid #6b665c; padding: .45rem .55rem; text-align: left; vertical-align: top; }
.tf-table thead th { background: var(--floor-100); color: var(--navy-900); font-size: .82rem; letter-spacing: .04em; }
.tf-table td.tf-tall { height: 4.2rem; }
.tf-table td.tf-mid { height: 2.4rem; }
.tf-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- Cut & fold ---------- */
.tf-cut { border: 1.5px dashed #555; position: relative; }
.tf-cut-note { font-size: .8rem; color: var(--ink-soft); margin: 0 0 .5rem; }
.tf-cut-note::before { content: "\2702  "; }
.tf-cards { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 560px) { .tf-cards { grid-template-columns: 1fr 1fr; } }
.tf-card { border: 1.5px dashed #555; margin: -0.75px; padding: .9rem 1rem; min-height: 2.35in; display: flex; flex-direction: column; break-inside: avoid; background: #fff; }
.tf-card-kicker { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--floor-plum); }
.tf-card-main { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.25; color: var(--navy-900); margin: .45rem 0; }
.tf-card-foot { margin-top: auto; font-size: .72rem; color: var(--ink-soft); display: flex; justify-content: space-between; gap: .5rem; }

/* Pocket fold-strip: cut on the dashes, fold on the dots -> 3.5in x 2in card */
.tf-strip-row { display: flex; flex-direction: column; gap: .3in; align-items: flex-start; }
.tf-strip { display: flex; width: 7in; height: 2in; border: 1.5px dashed #555; background: #fff; flex: none; break-inside: avoid; }
.tf-pocket { width: 3.5in; height: 2in; padding: .11in .15in; font-size: 8.6pt; line-height: 1.3; overflow: hidden; color: #111; }
.tf-pocket + .tf-pocket { border-left: 1px dotted #333; }
.tf-pocket h5 { font-family: var(--font-display); font-size: 10.5pt; margin: 0 0 .04in; color: var(--floor-plum); letter-spacing: .02em; }
.tf-pocket ol, .tf-pocket ul { margin: 0; padding-left: 1.1em; }
.tf-pocket li { margin: 0 0 .02in; }
.tf-pocket p { margin: 0 0 .04in; }
.tf-pocket .tf-pocket-foot { font-size: 6.5pt; color: #555; margin-top: .03in; }
.tf-sym { list-style: none; padding: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: .02in .1in; }
.tf-sym li { display: flex; gap: .05in; align-items: baseline; }
.tf-sym b { display: inline-block; min-width: .2in; font-size: 10pt; text-align: center; color: var(--floor-plum); }

/* ---------- Passages for marking ---------- */
.tf-passage { font-size: 1.15rem; line-height: 2.7; max-width: 6.4in; margin: 0 0 1rem; }
.tf-passage p { margin: 0 0 .6rem; }
.tf-marks { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: .3rem 1rem; list-style: none; padding: 0; font-size: .9rem; }
.tf-marks b { display: inline-block; min-width: 2.2em; font-size: 1.05rem; color: var(--floor-plum); }

/* ---------- Strips to cut and reorder ---------- */
.tf-chunks { display: grid; gap: 0; }
.tf-chunk { border: 1.5px dashed #555; margin-top: -1.5px; padding: .6rem .8rem .6rem 3rem; position: relative; break-inside: avoid; background: #fff; }
.tf-chunk b { position: absolute; left: .8rem; top: .55rem; font-family: var(--font-display); font-size: 1.25rem; color: var(--floor-plum); }

/* ---------- Photo slots (U4) ---------- */
.tf-photos { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .tf-photos { grid-template-columns: 1fr 1fr; } }
.tf-photos figure { margin: 0; break-inside: avoid; }
.tf-photo-slot {
  aspect-ratio: 4 / 3; border: 2px dashed var(--gold-600); border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, #fbf0d9 0 14px, #f7e7c4 14px 28px);
  display: grid; place-items: center; text-align: center; padding: 1rem; color: #6b5200; font-size: .9rem;
}
.tf-photo-slot strong { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .3rem; }
.tf-photos figcaption { font-size: .92rem; margin-top: .5rem; }
.tf-photos figcaption .tf-look { display: block; color: var(--ink-soft); font-size: .86rem; margin-top: .25rem; }

/* ---------- Print advertisements (U5) ---------- */
.tf-ad { border: 3px solid #111; padding: 1.4rem 1.3rem; background: #fff; text-align: center; break-inside: avoid; max-width: 6.5in; margin: 0 auto 1rem; }
.tf-ad-fic { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #666; margin-bottom: .8rem; }
.tf-ad-head { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 5vw, 2.4rem); line-height: 1.05; margin: 0 0 .5rem; color: #111; }
.tf-ad-sub { font-weight: 700; font-size: 1.05rem; margin-bottom: .9rem; }
.tf-ad-body { text-align: left; font-size: .98rem; }
.tf-ad-quote { font-style: italic; border-left: 4px solid #111; padding-left: .8rem; text-align: left; margin: 1rem 0; }
.tf-ad-price { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; margin: .6rem 0 .2rem; }
.tf-ad-price s { font-size: 1rem; color: #666; font-weight: 500; margin-left: .4rem; }
.tf-ad-cta { display: inline-block; border: 2px solid #111; padding: .5rem 1rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin: .7rem 0; }
.tf-ad-fine { font-size: .7rem; color: #555; text-align: left; margin: .8rem 0 0; line-height: 1.4; }
.tf-ad--lamp { background: #111; color: #fff; border-color: #111; }
.tf-ad--lamp .tf-ad-head, .tf-ad--lamp .tf-ad-cta { color: #f2c230; border-color: #f2c230; }
.tf-ad--lamp .tf-ad-fic, .tf-ad--lamp .tf-ad-fine, .tf-ad--lamp .tf-ad-price s { color: #bbb; }
.tf-ad--harbor { border-style: double; border-width: 8px; }

/* ---------- Sketch the Speech map (U2) ---------- */
.tf-map { display: grid; gap: .5rem; }
.tf-map-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.tf-map-arrow { text-align: center; font-size: .8rem; font-weight: 700; color: var(--floor-plum); letter-spacing: .06em; text-transform: uppercase; }
.tf-map-arrow::before { content: "\2193  "; font-size: 1rem; }
.tf-map .tf-box { min-height: 3.2rem; }
.tf-map .tf-box--tall { min-height: 6.5rem; }
.tf-map .tf-box--point { min-height: 11rem; }

/* ---------- Half-letter panels (U8 covers, U9 program) ---------- */
.tf-half-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: .5rem; }
.tf-half { width: 5.5in; height: 8.5in; border: 1.5px dashed #555; background: #fff; padding: .45in .45in; display: flex; flex-direction: column; text-align: center; margin: 0 auto; overflow: hidden; color: #111; break-inside: avoid; }
.tf-half--left { text-align: left; }
.tf-half .tf-line { height: .34in; }
.tf-cover-series { font-size: 8.5pt; letter-spacing: .3em; text-transform: uppercase; font-weight: 700; }
.tf-cover-title { font-family: var(--font-display); font-weight: 800; line-height: .98; color: inherit; margin: 0; }
.tf-cover-fill { display: grid; gap: .1in; text-align: left; font-size: 9pt; margin-top: auto; }
.tf-cover-fill span { border-bottom: 1px solid currentColor; padding-top: .14in; }
/* cover 1 — classic */
.tf-cover--classic { border: 1.5px dashed #555; box-shadow: inset 0 0 0 .18in #fff, inset 0 0 0 calc(.18in + 2px) #111; padding: .6in; }
.tf-cover--classic .tf-cover-title { font-size: 40pt; margin: .9in 0 .15in; }
.tf-cover--classic .tf-rule { width: 1.6in; height: 0; border-top: 2px solid #111; margin: .16in auto; }
/* cover 2 — spotlight */
.tf-cover--spot { background: #fff; }
.tf-cover--spot .tf-spot { width: 3.6in; height: 3.6in; border-radius: 50%; border: 3px solid #111; margin: .25in auto .2in; display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, #fff 0 52%, #f3e6ef 53% 100%); }
.tf-cover--spot .tf-cover-title { font-size: 33pt; }
/* cover 3 — draw-your-own frame */
.tf-cover--frame .tf-frame { flex: 1; border: 2px solid #111; margin: .2in 0; display: grid; place-items: center; font-size: 8pt; color: #888; min-height: 3.6in; }
.tf-cover--frame .tf-cover-title { font-size: 26pt; }
.tf-prog-table { width: 100%; border-collapse: collapse; font-size: 8.6pt; text-align: left; }
.tf-prog-table th, .tf-prog-table td { border-bottom: 1px solid #777; padding: .05in .04in; height: .3in; vertical-align: bottom; }
.tf-prog-table th { font-size: 7.4pt; letter-spacing: .08em; text-transform: uppercase; height: auto; border-bottom: 1.5px solid #111; }
.tf-half h4 { font-family: var(--font-display); font-size: 13pt; margin: .1in 0 .06in; color: #111; }
.tf-half p, .tf-half li { font-size: 9pt; line-height: 1.4; }
.tf-half ul { padding-left: 1.1em; }

/* ---------- Video (U9) ---------- */
.tf-video-meta { font-size: .92rem; color: var(--ink-soft); margin-top: .7rem; }

/* ---------- Visibility helpers ---------- */
.tf-print-only { display: none; }

/* ==========================================================================
   PRINT
   ========================================================================== */
@page { size: letter portrait; margin: .5in; }
@page tfwide { size: letter landscape; margin: .4in; }

@media print {
  .tf-noprint, .page-head, .breadcrumb, .lesson-nav, .grownups, .site-footer { display: none !important; }
  .tf-print-only { display: block; }
  html, body { background: #fff !important; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .section, .section--alt, .section--tight { padding: 0 !important; background: #fff !important; border: 0 !important; }
  .wrap, .wrap--narrow { max-width: none; padding: 0; }
  .tf-sheet { break-before: page; border: 0; box-shadow: none; border-radius: 0; padding: 0; margin: 0; }
  .tf-sheet--first { break-before: auto; }
  .section > .wrap > .eyebrow, .section > .wrap > h2 { display: none !important; }
  .tf-sheet { font-size: 9.7pt; line-height: 1.4; }
  .tf-sheet-head { margin-bottom: .1in; }
  .tf-sheet-foot { margin-top: .12in; }
  .tf-line { height: .27in; }
  .tf-table th, .tf-table td { padding: .04in .07in; }
  .tf-table td.tf-tall { height: .5in; }
  .tf-table td.tf-mid { height: .3in; }
  .tf-box { padding: .06in .1in; }
  .tf-sheet h4 { margin: .1in 0 .03in; }
  .tf-sheet p { margin-bottom: .06in; }
  .tf-sheet--wide { page: tfwide; }
  .tf-sheet h3 { font-size: 15pt; }
  .tf-sheet h4 { font-size: 11.5pt; }
  .tf-directions { font-size: 9.5pt; }
  .tf-cards { grid-template-columns: 1fr 1fr; }
  .tf-card { min-height: 2.05in; padding: .12in .15in; }
  .tf-sheet--wide td[style*="height"] { height: .8in !important; }
  .tf-scroll, .tf-half-wrap { overflow: visible; }
  .tf-photos { grid-template-columns: 1fr 1fr; }
  .tf-photo-slot { aspect-ratio: auto; height: 2.3in; }
  .tf-passage { font-size: 12pt; line-height: 2.1; }
  .tf-marks { font-size: 9pt; }
  .tf-box.tf-log { break-inside: auto; }
  .tf-half { margin: 0 auto; }
  .tf-sheet:has(.tf-half) h3, .tf-sheet:has(.tf-half) .tf-cut-note, .tf-sheet:has(.tf-half) .tf-namebar { display: none; }
  .tf-sheet:has(.tf-half) .tf-sheet-foot { margin-top: .06in; }
  .tf-chunk { padding: .06in .12in .06in .45in; line-height: 1.35; }
  .tf-chunk b { top: .04in; left: .12in; }
  .tf-map .tf-box--point { min-height: 2.1in; }
  .tf-map .tf-box--tall { min-height: .8in; }
  .tf-map .tf-box { min-height: .5in; }
  .tf-check li { margin-bottom: 0; font-size: 9pt; line-height: 1.32; }
  .tf-check { margin-bottom: .04in; }
  .tf-table { font-size: 9pt; }
  .tf-table, .tf-chunk, .tf-box, .tf-ad, figure, tr { break-inside: avoid; }
  .video-frame { display: none !important; }
  a { color: #000; text-decoration: none; }
}
