/* Anima Mundi — For teachers (engine/teach.js): photo-led page, lesson plans, worksheets, classroom mode. */
.tc-modal .th-box { width: min(1180px, 100%); }
.tc-modal .th-body { padding: 0 clamp(14px, 3vw, 34px) 36px; font-family: 'Manrope', sans-serif; }
.tc-modal button:focus-visible, .tc-modal a:focus-visible, .cl-wrap button:focus-visible { outline: 2px solid var(--gold-bright, #e7c877); outline-offset: 2px; }
.tc-himg, .tc-limg, .tc-cimg, .cl-bg { position: relative; display: block; overflow: hidden; background: radial-gradient(120% 100% at 20% 10%, rgba(201,162,75,.25), rgba(14,19,34,.95) 62%), #0e1322; }
.tc-himg img, .tc-limg img, .tc-cimg img, .cl-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s; }
.tc-loaded img { opacity: 1; }
.tc-credit { position: absolute; right: 10px; bottom: 8px; z-index: 2; font-size: 10.5px; color: rgba(255,255,255,.72); text-shadow: 0 1px 3px #000; }
.tc-credit a { color: inherit; }

/* hero */
.tc-hero { position: relative; margin: 14px 0 0; border-radius: 18px; overflow: hidden; min-height: 400px; display: flex; align-items: flex-end; }
.tc-himg { position: absolute; inset: 0; }
.tc-himg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,8,14,0) 0%, rgba(6,8,14,.35) 40%, rgba(6,8,14,.92) 100%); }
.tc-htext { position: relative; z-index: 1; padding: clamp(20px, 4vw, 44px) clamp(20px, 4vw, 44px) clamp(34px, 5vw, 50px); max-width: 760px; }
.tc-hk { margin: 0 0 10px; font: 700 11px/1 'Manrope', sans-serif; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-bright, #e7c877); }
.tc-ht { margin: 0; font: 500 clamp(28px, 4.6vw, 48px)/1.08 'Fraunces', Georgia, serif; color: #f6f1e4; outline: none; text-wrap: balance; }
.tc-hs { margin: 14px 0 0; font: 400 clamp(15px, 1.7vw, 17px)/1.6 'Manrope', sans-serif; color: #dcd6c6; max-width: 620px; }
.tc-hbtns, .tc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tc-big { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--gold, #c9a24b); background: var(--gold, #c9a24b); color: #15110a; font: 700 14px 'Manrope', sans-serif; text-decoration: none; cursor: pointer; }
.tc-big:hover { background: var(--gold-bright, #e7c877); }
.tc-ghost { background: rgba(10,13,23,.55); color: var(--gold-bright, #e7c877); }
.tc-ghost:hover { background: rgba(201,162,75,.16); }
.tc-feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 16px 0 6px; }
.tc-feats div { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line, #26304a); background: rgba(255,255,255,.02); }
.tc-feats b { display: flex; align-items: center; gap: 8px; font: 600 15px 'Fraunces', Georgia, serif; color: var(--ink-text, #e9e4d6); }
.tc-feats b svg { color: var(--gold-bright, #e7c877); } .tc-feats span { font-size: 13px; line-height: 1.5; color: var(--ink-dim, #9aa3b8); }

/* sections and cards */
.tc-sec { margin-top: 30px; }
.tc-sec h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 500 24px/1.2 'Fraunces', Georgia, serif; color: #f4efe2; }
.tc-sec h3 svg { color: var(--gold-bright, #e7c877); }
.tc-sech { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.tc-ages { display: flex; flex-wrap: wrap; gap: 6px; }
.tc-ages button { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line, #26304a); background: none; color: var(--ink-dim, #9aa3b8); font: 600 12.5px 'Manrope', sans-serif; cursor: pointer; }
.tc-ages button[aria-pressed=true] { background: var(--gold, #c9a24b); border-color: var(--gold, #c9a24b); color: #15110a; }
.tc-count { margin: 4px 0 12px; font-size: 13px; color: var(--ink-dim, #9aa3b8); }
.tc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.tc-card { display: flex; flex-direction: column; padding: 0; text-align: left; border: 1px solid var(--line, #26304a); border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.02); color: inherit; cursor: pointer; transition: border-color .2s, transform .25s; }
.tc-card:hover, .tc-card:focus-visible { border-color: rgba(201,162,75,.6); transform: translateY(-2px); }
.tc-cimg { aspect-ratio: 16 / 9; }
.tc-age { position: absolute; left: 10px; top: 10px; z-index: 1; padding: 4px 10px; border-radius: 999px; background: rgba(8,10,18,.82); color: var(--gold-bright, #e7c877); font: 700 11.5px 'Manrope', sans-serif; letter-spacing: .02em; }
.tc-ctext { display: flex; flex-direction: column; gap: 6px; padding: 13px 15px 15px; }
.tc-meta { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--gold, #c9a24b); }
.tc-card b { font: 500 19px/1.25 'Fraunces', Georgia, serif; color: var(--ink-text, #e9e4d6); }
.tc-card em { font-style: normal; font-size: 13px; line-height: 1.5; color: var(--ink-dim, #9aa3b8); }
.tc-has { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }
.tc-has i { font-style: normal; font-size: 10.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; border: 1px solid rgba(201,162,75,.35); color: #d9c48d; }
.tc-p { margin: 0 0 12px; color: var(--ink-dim, #9aa3b8); font-size: 14px; line-height: 1.55; max-width: 720px; }
.tc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tc-chips button { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line, #26304a); background: rgba(255,255,255,.02); color: var(--ink-text, #e9e4d6); font: 500 13px 'Manrope', sans-serif; cursor: pointer; }
.tc-chips button:hover { border-color: rgba(201,162,75,.6); }
.tc-chips i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, #c9a24b); }
.tc-chips i.tc-pathdot { background: none; border: 2px solid var(--gold, #c9a24b); width: 9px; height: 9px; }
.tc-fair { padding: 20px; border-radius: 16px; border: 1px solid rgba(201,162,75,.3); background: rgba(201,162,75,.04); }
.tc-fairg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tc-fairg p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--ink-dim, #b3bacb); } .tc-fairg b { color: var(--ink-text, #e9e4d6); }
.tc-quizrow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* lesson page */
.tc-crumb { padding: 14px 0 0; }
.tc-crumb button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line, #26304a); background: none; color: var(--ink-dim, #9aa3b8); font: 600 12.5px 'Manrope', sans-serif; cursor: pointer; }
.tc-lhero { position: relative; margin-top: 12px; min-height: 300px; border-radius: 16px; overflow: hidden; display: flex; align-items: flex-end; }
.tc-limg { position: absolute; inset: 0; } .tc-limg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,8,14,0) 20%, rgba(6,8,14,.9) 100%); }
.tc-ltext { position: relative; z-index: 1; padding: clamp(18px, 3.5vw, 36px); }
.tc-lt { margin: 0; font: 500 clamp(28px, 4.4vw, 44px)/1.1 'Fraunces', Georgia, serif; color: #f6f1e4; outline: none; }
.tc-lmeta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 0; font-size: 13.5px; color: #dcd6c6; } .tc-lmeta span { display: inline-flex; align-items: center; gap: 5px; }
.tc-actions .tc-ghost { background: none; }
.tc-lgrid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; margin-top: 20px; align-items: start; }
.tc-box { margin: 0 0 16px; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line, #26304a); background: rgba(255,255,255,.02); }
.tc-box h3 { margin: 0 0 12px; font: 600 11.5px/1.2 'Manrope', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--gold, #c9a24b); }
.tc-goals, .tc-need { margin: 0; padding: 0; list-style: none; }
.tc-goals li { display: flex; gap: 10px; margin: 0 0 9px; font-size: 15px; line-height: 1.5; } .tc-goals svg { flex: none; margin-top: 3px; color: #9fe0a8; }
.tc-need li { margin: 0 0 6px; padding-left: 14px; position: relative; font-size: 13.5px; line-height: 1.5; color: var(--ink-dim, #b3bacb); } .tc-need li::before { content: ''; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold, #c9a24b); }
.tc-tl { display: flex; gap: 3px; height: 54px; border-radius: 10px; overflow: hidden; }
.tc-tl span { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 0 8px; color: #15110a; }
.tc-tl b { font: 700 12px 'Manrope', sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .tc-tl em { font-style: normal; font-size: 11.5px; opacity: .8; }
.tc-tl0 { background: #e7c877; } .tc-tl1 { background: #c9a24b; } .tc-tl2 { background: #d8b66a; } .tc-tl3 { background: #b38d3c; }
.tc-steps { margin: 0; padding: 0; list-style: none; }
.tc-step { display: flex; gap: 14px; padding: 0 0 16px; position: relative; }
.tc-step:not(:last-child)::before { content: ''; position: absolute; left: 15px; top: 34px; bottom: 4px; width: 1px; background: var(--line, #26304a); }
.tc-sn { flex: none; width: 31px; height: 31px; border-radius: 50%; border: 1px solid var(--gold, #c9a24b); display: flex; align-items: center; justify-content: center; font: 600 14px 'Fraunces', Georgia, serif; color: var(--gold-bright, #e7c877); }
.tc-sb { flex: 1; min-width: 0; } .tc-sh { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.tc-sh b { font: 600 16px 'Fraunces', Georgia, serif; } .tc-sh span { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--gold, #c9a24b); }
.tc-sb p { margin: 5px 0 0; font-size: 14.5px; line-height: 1.6; color: #d4d8e2; }
.tc-opens { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; } .tc-opens-all { align-items: center; } .tc-opens-all > span { font-size: 12.5px; color: var(--ink-dim, #9aa3b8); }
.tc-open { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(201,162,75,.45); background: rgba(201,162,75,.07); color: var(--gold-bright, #e7c877); font: 600 12.5px 'Manrope', sans-serif; cursor: pointer; }
.tc-open:hover { background: rgba(201,162,75,.18); }
.tc-qs { margin: 0; padding-left: 1.3em; } .tc-qs li { margin: 0 0 8px; font: 400 16px/1.5 'Fraunces', Georgia, serif; }
.tc-views { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line, #26304a); }
.tc-views h4 { margin: 0 0 10px; font: 600 13px 'Manrope', sans-serif; color: var(--ink-text, #e9e4d6); }
.tc-vg { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.tc-vg div { padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.03); border-left: 3px solid var(--gold, #c9a24b); }
.tc-vg b { font-size: 13px; color: var(--gold-bright, #e7c877); } .tc-vg p { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: #c9cfdc; }
.tc-vnote { margin: 10px 0 0; font-size: 12.5px; color: var(--ink-dim, #9aa3b8); font-style: italic; }
.tc-side .tc-box { padding: 16px; }
.tc-jcard { display: flex; flex-direction: column; gap: 5px; width: 100%; margin: 0 0 8px; padding: 14px 16px; text-align: left; border: 1px solid color-mix(in srgb, var(--c, #c9a24b) 50%, transparent); border-left: 4px solid var(--c, #c9a24b); border-radius: 12px; background: rgba(255,255,255,.03); color: inherit; cursor: pointer; }
.tc-jcard span { display: flex; align-items: center; gap: 5px; font: 700 10.5px 'Manrope', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--gold, #c9a24b); }
.tc-jcard b { font: 500 17px/1.25 'Fraunces', Georgia, serif; } .tc-jcard em { font-style: normal; font-size: 12.5px; line-height: 1.45; color: var(--ink-dim, #9aa3b8); }
.tc-ecard { margin-top: 14px; } .tc-wide { width: 100%; justify-content: center; display: inline-flex; gap: 6px; margin-bottom: 8px; }
.tc-tip p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--ink-dim, #b3bacb); }
.tc-wsprev { max-height: 420px; overflow: auto; margin-bottom: 12px; border-radius: 8px; }
.tc-wsprev .ws { background: #fbf8f0; color: #1a1a1a; padding: 22px 26px; border-radius: 8px; font-size: 12.5px; }

/* worksheet and lesson plan (screen preview and print share these) */
.ws { font: 12pt/1.45 Georgia, 'Times New Roman', serif; color: #111; }
.ws-top { display: flex; justify-content: space-between; font: 600 8.5pt Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #6b5a2c; border-bottom: 2px solid #b38d3c; padding-bottom: 4px; }
.ws-t { margin: 10px 0 8px; font: 600 20pt/1.15 Georgia, serif; color: #111; }
.ws-sub { margin: 0 0 8px; font: 10pt Arial, sans-serif; color: #555; }
.ws-name { display: flex; gap: 18px; margin: 6px 0 12px; font: 10pt Arial, sans-serif; }
.ws-name span { flex: 1; display: flex; gap: 6px; } .ws-name span:first-child { flex: 2; } .ws-name i { flex: 1; border-bottom: 1px solid #333; }
.ws-goal { padding: 8px 10px; border: 1px solid #c9b57e; background: #faf5e6; border-radius: 4px; font-size: 10.5pt; }
.ws-words { margin: 10px 0; } .ws-words b { font: 700 9pt Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #6b5a2c; }
.ws-words dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 4px 14px; margin: 4px 0 0; font-size: 10pt; } .ws-words dt { display: inline; font-weight: 700; } .ws-words dt::after { content: ': '; } .ws-words dd { display: inline; margin: 0; }
.ws-tasks { margin: 12px 0 0; padding-left: 1.4em; } .ws-tasks > li { margin: 0 0 14px; break-inside: avoid; }
.ws-q { margin: 0 0 6px; font-weight: 700; }
.ws-ln { height: 1.9em; border-bottom: 1px solid #888; }
.ws-tab { width: 100%; border-collapse: collapse; font: 10pt Arial, sans-serif; } .ws-tab th, .ws-tab td { border: 1px solid #777; padding: 5px 6px; text-align: left; vertical-align: top; } .ws-tab thead th { background: #f1ead6; } .ws-tab td { height: 2.6em; } .ws-tab tbody th { width: 28%; font-weight: 600; background: #faf7ee; }
.ws-draw { position: relative; height: 7cm; border: 1px solid #777; border-radius: 4px; } .ws-stars { position: absolute; inset: 0; width: 100%; height: 100%; fill: #222; }
.ws-scale { display: flex; align-items: center; gap: 10px; margin: 8px 0; font: 9.5pt Arial, sans-serif; } .ws-scale div { flex: 1; display: flex; justify-content: space-between; border-bottom: 2px solid #333; height: 12px; } .ws-scale i { width: 2px; height: 12px; background: #333; }
.ws-fair { margin-top: 10px; padding: 8px 10px; border: 1px dashed #999; border-radius: 4px; font-size: 10.5pt; }
.ws-foot { margin-top: 16px; font: 8.5pt Arial, sans-serif; color: #666; }
.ws-plan h2 { margin: 14px 0 6px; font: 700 10pt Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #6b5a2c; } .ws-plan li { margin: 0 0 5px; } .ws-steps li { margin-bottom: 8px; }
.ws-quiz > li { margin: 0 0 10px; break-inside: avoid; } .ws-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; font-size: 11pt; } .ws-key { break-before: page; }
#tcPrint { display: none; }

/* ---------- classroom mode: projector-friendly ---------- */
html.cl-on, html.cl-on body { overflow: hidden; }
.cl-wrap { --cl-z: 1; position: fixed; inset: 0; z-index: 4000; display: flex; flex-direction: column; background: #05070d; color: #f6f1e4; font-family: 'Manrope', sans-serif; }
.cl-wrap[hidden] { display: none; }
.cl-top { display: flex; align-items: center; gap: 14px; padding: 12px clamp(14px, 3vw, 32px); border-bottom: 1px solid rgba(201,162,75,.25); }
.cl-name { flex: 1; min-width: 0; font: 600 15px 'Manrope', sans-serif; color: var(--gold-bright, #e7c877); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-count { font: 700 15px 'Manrope', sans-serif; color: #cfc8b6; }
.cl-tbtns { display: flex; gap: 6px; }
.cl-tbtns button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: none; color: #f6f1e4; font: 700 14px 'Manrope', sans-serif; cursor: pointer; }
.cl-stage { flex: 1; min-height: 0; overflow-y: auto; display: flex; }
.cl-slide { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; padding: clamp(20px, 5vw, 70px); }
.cl-bg { position: absolute; inset: 0; background: #05070d; } .cl-bg img { opacity: 0; } .cl-bg.tc-loaded img { opacity: .38; }
.cl-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(80% 80% at 50% 50%, rgba(5,7,13,.35), rgba(5,7,13,.92)); }
.cl-in { position: relative; z-index: 1; width: min(1200px, 100%); font-size: calc(clamp(18px, 2.2vw, 30px) * var(--cl-z)); }
.cl-k { margin: 0 0 .8em; font: 700 .62em/1.2 'Manrope', sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-bright, #e7c877); }
.cl-year { margin: 0 0 .2em; font: 500 1.4em/1 'Fraunces', Georgia, serif; color: var(--gold, #c9a24b); }
.cl-h { margin: 0 0 .5em; font: 500 2.1em/1.1 'Fraunces', Georgia, serif; color: #fffaf0; outline: none; text-wrap: balance; }
.cl-qh { font-size: 2.3em; line-height: 1.18; }
.cl-x { margin: 0; font-size: 1.12em; line-height: 1.55; color: #ece6d6; max-width: 46em; }
.cl-sub { margin: .4em 0 .3em; color: #cfc8b6; }
.cl-goals { margin: 0; padding-left: 1.1em; font-size: 1.05em; line-height: 1.5; } .cl-goals li { margin: 0 0 .35em; }
.cl-opens { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.1em; }
.cl-open { font-size: .62em !important; padding: .55em 1.1em !important; min-height: 44px; }
.cl-timer { display: flex; align-items: center; gap: 18px; margin-top: 1.2em; }
.cl-time { font: 600 1.8em/1 'Fraunces', Georgia, serif; font-variant-numeric: tabular-nums; color: var(--gold-bright, #e7c877); min-width: 3.2em; }
.cl-timer button { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--gold, #c9a24b); background: none; color: var(--gold-bright, #e7c877); font: 700 .6em 'Manrope', sans-serif; cursor: pointer; }
.cl-done .cl-time { color: #ff9b7a; }
.cl-views { display: grid; grid-template-columns: repeat(auto-fit, minmax(16em, 1fr)); gap: .8em; font-size: .78em; }
.cl-views div { padding: .8em 1em; border-left: 4px solid var(--gold, #c9a24b); background: rgba(255,255,255,.04); border-radius: 8px; }
.cl-views b { color: var(--gold-bright, #e7c877); } .cl-views p { margin: .3em 0 0; line-height: 1.45; color: #ece6d6; }
.cl-rule { margin: 1em 0 0; font-size: .7em; font-style: italic; color: #cfc8b6; }
.cl-bar { display: flex; align-items: center; gap: 14px; padding: 12px clamp(14px, 3vw, 32px) max(12px, env(safe-area-inset-bottom)); border-top: 1px solid rgba(201,162,75,.25); }
.cl-nav { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 24px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: none; color: #f6f1e4; font: 700 18px 'Manrope', sans-serif; cursor: pointer; }
.cl-next { background: var(--gold, #c9a24b); border-color: var(--gold, #c9a24b); color: #15110a; }
.cl-nav:disabled { opacity: .35; cursor: default; }
.cl-dots { flex: 1; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; } .cl-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.2); } .cl-dots i.done { background: rgba(201,162,75,.55); } .cl-dots i.on { background: var(--gold-bright, #e7c877); transform: scale(1.35); }
.cl-back { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3900; display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--gold, #c9a24b); background: #0a0d17; color: var(--gold-bright, #e7c877); font: 700 15px 'Manrope', sans-serif; box-shadow: 0 10px 30px rgba(0,0,0,.6); cursor: pointer; }
.cl-back[hidden] { display: none; }

@media (max-width: 900px) { .tc-feats { grid-template-columns: 1fr 1fr; } .tc-lgrid { grid-template-columns: 1fr; } .tc-fairg { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .tc-hero { min-height: 460px; } .tc-feats { grid-template-columns: 1fr; } .tc-grid { grid-template-columns: 1fr; }
  .cl-top { flex-wrap: wrap; } .cl-name { flex-basis: 100%; order: -1; } .cl-tbtns button { min-height: 36px; padding: 4px 10px; font-size: 13px; }
  .cl-nav { min-height: 48px; padding: 0 16px; font-size: 16px; } .cl-nav span { display: none; } .cl-dots { display: none; } .cl-bar { justify-content: space-between; }
  .cl-in { font-size: calc(17px * var(--cl-z)); } .cl-h { font-size: 1.75em; }
}
@media (prefers-reduced-motion: reduce) { .tc-card, .tc-cimg img, .tc-himg img, .tc-limg img { transition: none; } .tc-card:hover { transform: none; } }
html[data-theme=light] .tc-sec h3 { color: #16130e; } html[data-theme=light] .tc-sb p, html[data-theme=light] .tc-vg p { color: #333a46; }
html.hc .tc-card em, html.hc .tc-feats span, html.hc .tc-fairg p { color: var(--ink-text) !important; }

/* ---------- print: only the worksheet, lesson plan or quiz ---------- */
@media print {
  html.tc-print, html.tc-print body { height: auto !important; overflow: visible !important; background: #fff !important; }
  html.tc-print body > *:not(#tcPrint) { display: none !important; }
  html.tc-print #tcPrint { display: block !important; }
  html.tc-print .ws { font-size: 11.5pt; }
  @page { margin: 14mm 14mm; }
}
