
/* Two-cup condensation comparison: editable multi-line observations without tiny text boxes. */
.rec-table-compare { min-width: 790px; table-layout: fixed; }
.rec-table-compare th:first-child, .rec-table-compare td:first-child { width: 92px; }
.rec-table-compare th:nth-child(2), .rec-table-compare th:nth-child(3) { width: 230px; }
.rec-table-compare td { vertical-align: top; }
.rec-table-compare textarea { display: block; box-sizing: border-box; width: 100%; min-width: 0; min-height: 72px; padding: 10px; resize: vertical; font: inherit; font-size: 16px; line-height: 1.4; background: #fff; border: 1px solid #b8c6b8; border-radius: 7px; }
.rec-table-compare textarea:focus-visible { outline: 3px solid #356e48; outline-offset: 1px; }
.rec-table-compare input { box-sizing: border-box; width: 100%; min-width: 0; }
@media print { .xs-table-compare td { height: 38pt; } }

/* Notebook is the flexible alternative to rigid scientific recording boxes. */
.science-notebook{margin:16px 0;padding:17px;background:#f5f9f4;border:1px solid #c7d9c8;border-radius:15px}
.science-notebook h2{margin:0 0 8px}
.science-notebook .rec-field textarea{min-height:160px;line-height:1.65;resize:vertical}
.science-notebook-guide{margin:12px 0;color:#304d37}
.science-notebook-guide>p{line-height:1.5;margin:0 0 9px}
.science-notebook-guide details{border:1px solid #c5d3be;border-radius:10px;padding:9px 12px;background:#fff}
.science-notebook-guide summary{font-weight:700;cursor:pointer}
.science-notebook-guide dl{margin:10px 0 0}
.science-notebook-guide dl>div{padding:8px 0;border-top:1px solid #edf1e8}
.science-notebook-guide dt{font-weight:800}
.science-notebook-guide dd{margin:2px 0 0}
.science-note-option{margin:12px 0}
.science-note-option>summary,.science-guided-optional>summary{cursor:pointer;font-weight:800;font-size:16px}
.science-note-option[open]>.science-notebook{margin-top:12px}
.science-guided-optional{margin:15px 0;border:1px solid #d2e0d4;border-radius:14px;padding:13px;background:#fff}
.science-guided-optional>summary{color:#295f3f}
.science-guided-optional>p{margin:9px 0}
.science-notebook p.science-note-status{font-size:13px;color:#3e6450;margin:9px 0 0}
@media(max-width:650px){.science-notebook{padding:12px}}
@media print{.science-notebook{border:0;padding:0;background:transparent}.science-notebook-guide details{display:none}}


/* Classroom preparation remains usable with one screen and exercise books. */
.lesson-launch { border: 2px solid #5a7748; border-radius: 16px; padding: 1.2rem; margin: 1.3rem 0; background: #faf8ee; }
.lesson-launch h3 { margin-top: 0; }
.launch-options { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin: .8rem 0; }
#teach-content .launch-options button[aria-pressed="true"] { background: #2f6b3a; color: white; }
.launch-style { font-size: 1.05rem; padding: .6rem .8rem; border-radius: 10px; background: #fff; border: 1px solid #d8d2b8; }
.launch-step-label { margin: 1rem 0 .4rem; }
.launch-modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .6rem; }
#teach-content .launch-modes button { display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; min-height: 84px; padding: .75rem .9rem; border: 2px solid #c9c3a8; border-radius: 12px; background: #fff; font-weight: 700; text-align: left; cursor: pointer; }
#teach-content .launch-modes button[aria-pressed="true"] { border-color: #2f6b3a; background: #2f6b3a; color: #fff; box-shadow: 0 0 0 3px #cfe3cb; }
#teach-content .launch-whole[aria-pressed="true"] { background: #2f6b3a; color: #fff; }
.launch-mode-icon { font-size: 1.5rem; line-height: 1; }
.launch-means { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .5rem .9rem; margin: .8rem 0; padding: .7rem .9rem; border-radius: 10px; background: #eef4ea; }
.launch-means div { margin: 0; }
.launch-means dt { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #42603a; }
.launch-means dd { margin: .1rem 0 0; }
.lesson-teacher-demo { padding: .6rem .8rem; border-left: 5px solid #b5651d; border-radius: 8px; background: #fbf0e3; }
#present .present-collect { margin: .4em 0; font-size: .85em; }
#present .present-collect span { display: inline-block; margin: .15em .9em .15em 0; white-space: nowrap; }
.present-recording-label { font-size: .7em; font-weight: 700; vertical-align: middle; }
.launch-sequence { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem 1.8rem; }
.lesson-activity-choice { display: flex; flex-direction: column; gap: .4rem; }
.lesson-activity-prompt { flex-basis: 100%; display: flex; align-items: start; gap: .7rem; }
.lesson-activity-prompt details { flex: 1; }
.lesson-activity-prompt p { margin: .4rem 0; }
.record-example { padding: .7rem; border-left: 4px solid #c79835; background: #fff6d9; }
.lesson-activity #areabar, .lesson-activity .subnav,
.lesson-activity .world-tabs, .lesson-activity .world-discovery,
.lesson-activity #lab-back, .lesson-activity #lab-next,
.lesson-activity [data-world-inv$=":"], .lesson-activity .lab-nav .lab-goal { display: none; }
.lesson-big-screen .lab-card, .lesson-big-screen .play-card { font-size: 1.15rem; }
.lesson-big-screen .lesson-activity-prompt { font-size: 1.05rem; }
.lesson-big-screen .lab-card button { min-height: 48px; }
.present-activity-options { font-size: 1rem; margin-top: 1rem; }
@media (max-width: 640px) {
  .launch-sequence { grid-template-columns: 1fr; }
  .lesson-activity-prompt { flex-direction: column; }
}
@media print { .launch-options, .launch-modes, .lesson-activity-prompt { display: none; } }

/* Projected notebook mode: visible questions, not tiny teacher-only dropdowns. */
.launch-notebook-tools{margin:1rem 0;padding:.85rem 1rem;border:1px solid #8daa83;border-radius:12px;background:#f0f7ed}
.launch-notebook-tools p{margin:.35rem 0 .65rem}
#teach-content .launch-notebook-tools button{font-weight:750;border:2px solid #477046;background:#fff}
#present .present-notebook{max-width:1100px;margin:0 auto;line-height:1.45;font-size:clamp(19px,2.1vw,29px)}
#present .present-notebook h3{margin:.3em 0;font-size:1.1em}
#present .present-notebook .present-big{font-size:clamp(25px,3.2vw,43px)}
#present .present-notebook .present-steps{margin:.6em 0}
#present .notebook-headings{padding:.55em .75em;background:#f0f6eb;border:2px solid #a0b797;border-radius:10px;font-weight:800}
#present .present-notebook-tip{font-size:.76em;border-left:4px solid #9a6933;padding:.4em .8em}
.notebook-question-sheet{max-width:190mm}
.notebook-question-sheet h2{margin:12pt 0 4pt;break-after:avoid}
.notebook-question-sheet ol{margin:5pt 0 10pt;padding-left:24pt}
.notebook-question-sheet li{margin-bottom:5pt;break-inside:avoid}
@media print{
  .notebook-question-sheet{font-size:10.5pt;line-height:1.35}
  .notebook-question-sheet h1{font-size:20pt}
  .notebook-question-sheet h2{font-size:13pt}
  .notebook-question-sheet p{margin:3pt 0 6pt}
  .notebook-question-sheet .print-table th, .notebook-question-sheet .print-table td { height: auto; padding: 4pt 5pt; }
  .notebook-question-sheet .print-steps{columns:1}
}

/* Read from the back of a classroom; facilitation notes are an optional reveal. */
.lesson-activity-prompt { flex-wrap: wrap; }
.lesson-activity-prompt .activity-question { flex-basis: 100%; font-size: 1.2em; }
#present .present-current-task { font-size: clamp(24px, min(4vw, 6vh), 48px); line-height: 1.35; max-width: 30em; }
#present .present-fit { font-size: clamp(18px, min(2.5vw, 3.8vh), 32px); line-height: 1.35; }
#present .present-fit .present-q { margin-top: 0; font-size: 1em; }
#present .present-fit .present-task-number { font-size: .8em; margin: .4em 0; }
#present .present-fit .present-safety, #present .present-fit details { font-size: .8em; margin: .5em .6em .5em 0; padding: .35em .7em; }
#present .present-fit details { display: inline-block; vertical-align: top; max-width: 100%; }
#present .present-fit details[open] { display: block; }
#present .present-method { display: grid; gap: .45em; margin: .4em 0; padding-left: 1.6em; font-size: 1em; }
#present .present-method li::marker { font-weight: 800; color: #2f6b3a; }
#present .present-task-number { font-size: .75em; font-weight: 700; color: #52634e; }
#present .present-teacher-notes { margin: 0 1rem .5rem; padding: .5rem .8rem; border: 1px solid #b7c8b2; border-radius: 8px; background: #f7faf3; font-size: 1rem; max-height: 28vh; overflow: auto; }
#present .present-teacher-notes summary { cursor: pointer; font-weight: 700; }
.lesson-big-screen .science-diagram { max-width: 850px; }
.lesson-big-screen .state-buttons button, .lesson-big-screen .iq-actions button { min-height: 48px; font-size: 1.1rem; }
.iq-evidence-picker { margin: 1rem 0; padding: 1rem; border: 2px solid #56744a; border-radius: 12px; background: #f5f9ef; }
.iq-evidence-picker label { display: block; margin: .6rem 0; }
.iq-evidence-picker textarea { display: block; width: 100%; min-height: 150px; font: inherit; line-height: 1.5; }
.iq-evidence-picker select { max-width: 100%; min-height: 44px; font: inherit; }
.iq-evidence-picker input[type="checkbox"] { width: 22px; height: 22px; vertical-align: middle; }
.evidence-rows label { padding: .4rem; }
.evidence-message { font-weight: 700; }
@media print { .present-teacher-notes, .iq-evidence-picker { display: none; } }

.lesson-evidence-action { display: none; }
.lesson-activity .lesson-evidence-action { display: inline-block; }
.lesson-activity-prompt [data-activity-browse] { background: transparent; color: #fff; border: 1px solid #c6d8c3; border-radius: 8px; padding: .5rem .8rem; min-height: 44px; }
.lesson-activity-prompt [data-activity-browse]:hover { background: #365f3c; }

/* Printable experiment sheets (experiment-sheet.js): classic A4 lab-sheet layout, ink-friendly. */
.xs-unit-print button { font-weight: 700; }
@media print {
  @page { size: A4; margin: 15mm; }
  body.print-mode, body.print-mode .print-sheet { background: #fff !important; }
  .xs-sheet { font-size: 10.5pt; line-height: 1.35; }
  .xs-sheet h1 { font-size: 22pt; margin: 0 0 4pt; }
  .xs-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 2.5pt solid #000; padding-bottom: 4pt; }
  .xs-brand { display: flex; align-items: center; gap: 5pt; font-weight: 700; font-size: 10pt; }
  .xs-plain { margin: 0; padding-left: 13pt; }
  .xs-plain li { margin: 1.5pt 0; }
  .xs-kind { font-weight: 800; font-size: 13pt; letter-spacing: .12em; text-transform: uppercase; }
  .xs-topic { margin: 5pt 0 0; font-size: 9pt; color: #333; }
  .xs-names { display: grid; grid-template-columns: 3fr 1.3fr 1fr; gap: 8pt; margin: 2pt 0 8pt; }
  .xs-names span { border-bottom: 1px solid #000; padding: 10pt 0 1pt; font-weight: 700; font-size: 9.5pt; }
  .xs-box { border: .75pt solid #000; border-radius: 0; padding: 5pt 7pt; margin: 0 0 6pt; break-inside: avoid; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
  .xs-box h2 { display: flex; align-items: center; gap: 6pt; margin: 0 0 4pt; font-size: 11.5pt; text-transform: uppercase; letter-spacing: .06em; }
  .xs-num { display: inline-grid; place-items: center; width: 15pt; height: 15pt; border-radius: 50%; background: #000; color: #fff; font-size: 8.5pt; letter-spacing: 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .xs-box h3 { margin: 3pt 0 2pt; font-size: 9.5pt; }
  .xs-box p { margin: 2pt 0; }
  .xs-aim { font-size: 11.5pt; }
  .xs-prompt { color: #222; font-size: 10.5pt; }
  .xs-starter { margin-top: 5pt !important; }
  .xs-lines span { display: block; height: 18pt; border-bottom: 1px solid #888; }
  .xs-cols { display: grid; grid-template-columns: 1.15fr 1fr; gap: 7pt; }
  .xs-cols .xs-box { margin-bottom: 7pt; }
  .xs-check { list-style: none; margin: 0; padding: 0; columns: 1; }
  .xs-check li { display: flex; gap: 5pt; align-items: baseline; margin: 2pt 0; }
  .xs-tick { flex: none; width: 8pt; height: 8pt; border: 1px solid #000; border-radius: 1.5pt; }
  .xs-qty { color: #444; font-size: 9pt; }
  .xs-note { font-style: italic; }
  .xs-warn { background: #f3f3f3; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .xs-warn h2::before { content: "⚠"; font-size: 12pt; }
  .xs-safety { margin: 0; padding-left: 13pt; }
  .xs-safety li { margin: 1.5pt 0; }
  .xs-method { margin: 0; padding-left: 16pt; }
  .xs-method li { margin: 2.5pt 0; padding-left: 2pt; }
  .xs-method li::marker { font-weight: 800; }
  .xs-break { break-before: page; }
  .xs-table { width: 100%; border-collapse: collapse; }
  .xs-table th, .xs-table td { border: 1px solid #000; padding: 3pt 5pt; text-align: left; vertical-align: top; font-size: 9.5pt; }
  .xs-table th { background: #e9e9e9; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .xs-table td { height: 21pt; }
  .xs-sheet .xs-table-compare td { height: 32pt; }
  .xs-vars td { height: 28pt; }
  .xs-draw { height: 54pt; border: 1px dashed #777; margin-top: 3pt; }
  .xs-sheet .xs-record-title { margin: 0 0 4pt; font-size: 14pt; }
  .xs-recording { line-height: 1.25; }
  .xs-recording > p { margin: 3pt 0; }
  .xs-recording .print-foot { margin: 5pt 0 0; }
  .xs-instructions > .xs-box:has(.xs-method), .xs-results-long { break-inside: auto; }
  .xs-instructions .xs-method li, .xs-instructions .xs-safety li { break-inside: avoid; }
  .xs-results:not(.xs-results-long) table { break-inside: avoid; }
  .xs-before { border: 1pt solid #000; padding: 6pt; break-inside: avoid; }
  .xs-reflection { grid-template-columns: 1fr 1fr; break-inside: avoid; }
  .xs-reflection .xs-draw { height: 66pt; }
  .xs-recording .xs-box h2 { font-size: 11pt; letter-spacing: 0; margin-bottom: 3pt; }
  .xs-recording .xs-box { padding: 4pt 7pt; margin-bottom: 5pt; }
}

/* Student lesson: what to record, the pattern to look for, and the prediction echoed back in Explain. */
.lesson-record-guide { margin-top: .2rem; }
.lesson-pattern { margin: .8rem 0; padding: .6rem .8rem; border-left: 5px solid #2f6b3a; border-radius: 8px; background: #eef4ea; }
.lesson-prediction-echo { margin: .4rem 0 .9rem; padding: .6rem .8rem; border-radius: 8px; background: #fff7e6; border: 1px solid #ecd9a8; }
.lesson-stage-lead { font-size: 1.1em; font-weight: 700; margin-bottom: .2rem; }

/* Touch targets: every tappable control is at least 44px tall (Apple's minimum for iPad). */
header .brand, header .support-button, header .level select,
.hub-doors button, .areabar button, .subnav button, .segmented button,
.year-chips .chip, .time-presets .chip, .program-toolbar .chip, .starter-btn,
main select, main input[type="search"], main input[type="number"] { min-height: 44px; }
.time-presets .chip, .program-toolbar .chip { padding-top: 8px; padding-bottom: 8px; }
.starter-btn { padding: 8px 14px; }
/* Small phones: the logo wraps onto two lines instead of running under the Reading help button. */
@media (max-width: 480px) {
  header .brand { min-width: 0; }
  header .brand-name { white-space: normal; font-size: 15px; line-height: 1.05; }
}
/* Student lessons: Back / Next stays on screen, so children never have to hunt for the next step. */
.student-lesson-footer { position: sticky; bottom: 0; z-index: 20; background: var(--card, #fffdf6); margin: 18px 0 0; padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 16px -10px rgba(40, 50, 30, .35); }
@media print { .student-lesson-footer { position: static; box-shadow: none; } }
.route-notice { margin: 12px auto; max-width: 960px; padding: 10px 14px; border-radius: 10px; background: #fff7e6; border: 1px solid #ecd9a8; }
/* Topic and lesson titles are the page's main heading (h1), styled as before. */
.unit-head h1.lesson-title-h, .lesson-head h1.lesson-title-h { font-size: 34px; line-height: 1.15; margin: 2px 0 6px; }
@media (max-width: 560px) { .unit-head h1.lesson-title-h, .lesson-head h1.lesson-title-h { font-size: 28px; } }
/* Teachers: pick up where you left off. */
.recent-lessons { margin: 4px 0 18px; }
.recent-lesson-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.recent-lesson { display: grid; gap: 2px; min-height: 64px; padding: 10px 14px; border: 1px solid var(--line, #d8d2b8); border-radius: 14px; background: #fff; font: inherit; text-align: left; color: inherit; cursor: pointer; }
.recent-lesson:hover, .recent-lesson:focus-visible { border-color: #2f6b3a; background: #f1f7ee; }
.recent-topic { font-size: 13px; color: var(--muted, #5b6656); }


/* The 19 supplied-evidence lessons use three short columns on iPads. */
.rec-table-compare.lesson-case-table { min-width: 0; width: 100%; table-layout: fixed; }
.lesson-case-table th:first-child, .lesson-case-table td:first-child { width: 24%; overflow-wrap: anywhere; }
.lesson-case-table th:nth-child(2), .lesson-case-table th:nth-child(3) { width: 38%; }
.lesson-case-table th[scope="row"] { text-align: left; vertical-align: top; font-weight: 600; background: #f2f6ef; }
.lesson-case-table textarea { min-height: 96px; }

#present .reviewed-case-model .science-slide-diagram svg { max-height: 42vh; }

.reviewed-case-lesson .rec-section h2 { scroll-margin-top: calc(var(--hdr-h, 80px) + 18px); }


/* Opt-in mystery/source cards keep evidence beside the same saved response fields. */
.lesson-response-cards { display:grid; gap:18px; margin:14px 0 22px; }
.lesson-response-card { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.2fr); gap:20px; padding:20px; border:1px solid var(--line,#d8d2b8); border-radius:16px; background:var(--panel,#fff); }
.lesson-response-card h3 { margin:0 0 12px; line-height:1.3; }
.lesson-response-card .eyebrow { margin:0 0 8px; font-size:13px; }
.lesson-card-evidence ul { padding-left:21px; margin:8px 0 14px; }
.lesson-card-evidence li { margin-bottom:8px; line-height:1.5; }
.lesson-card-answers { display:grid; gap:12px; align-content:start; min-width:0; }
.lesson-card-answers label { display:grid; gap:6px; font-weight:650; }
.lesson-card-answers textarea { width:100%; box-sizing:border-box; min-height:88px; padding:10px 12px; font:inherit; line-height:1.45; color:inherit; background:#fff; border:1px solid var(--line,#d8d2b8); border-radius:10px; resize:vertical; }
.lesson-card-answers textarea:focus-visible { outline:3px solid var(--green,#2f6b3a); outline-offset:2px; }
.lesson-card-tool button { min-height:44px; padding:10px 14px; }
.lesson-given-values { display:grid; gap:5px; margin:9px 0 0; font-weight:400; }
.lesson-given-values div { display:flex; flex-wrap:wrap; gap:6px; }
.lesson-given-values dt { color:var(--muted,#5b6656); }
.lesson-given-values dd { margin:0; font-weight:700; font-variant-numeric:tabular-nums; }
@media(max-width:650px) { .lesson-response-card { grid-template-columns:1fr; gap:12px; padding:16px; } }
@media print { .lesson-response-card { break-inside:avoid; border-radius:0; } }

.present-task-model { display:grid;grid-template-columns:1fr 1fr;gap:24px;max-width:1020px;margin:14px 0;padding:16px 20px;border:1px solid var(--line,#d8d2b8);border-radius:16px;background:#f2f6ef;font-size:clamp(20px,1.9vw,26px);line-height:1.35; }
.present-task-model h3 { font-size:inherit;margin:0 0 8px; }
.present-task-model p { margin:0 0 8px; }
.present-task-model ul { margin:0;padding-left:1.2em; }
.present-slide-guided .guided-compact-steps { display:flex;flex-wrap:wrap;gap:6px 28px;font-size:clamp(17px,1.5vw,21px);margin:8px 0; }

/* The labelled diagram carries the visual; its long caption stays in the plan. */
#present .present-slide-guided .reviewed-case-model figcaption { display:none; }

/* Keep the science and its labelled visual in one sightline on classroom screens. */
@media(min-width:1000px) {
 .present-slide-guided .guided-teaching-layout { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:28px;align-items:center;max-width:1600px;margin:12px 0; }
 #present .guided-teaching-layout .reviewed-case-model { width:100%;min-width:0; }
 .present-slide-guided .guided-teaching-layout .present-big { margin:0; }
}
/* Reserve room for the fixed presenter controls without reducing text size. */
#present .present-slide-guided { padding-block:16px; }
#present .present-task-model { margin-block:10px;padding-block:12px; }

/* Practical instruction pages: compact spacing, classroom-size text. */
#present .present-practical { font-size: clamp(20px, min(2.1vw, 3.2vh), 28px); line-height: 1.3; }
#present .present-practical h3 { font-size: 1.05em; margin: .4em 0 .25em; }
#present .present-practical p { margin: .4em 0; }
#present .present-practical .present-method, #present .present-practical .present-steps { margin: .35em 0; gap: .35em; }

.lesson-add-row{min-height:44px;margin:.65rem 0 1rem;padding:.65rem 1rem}
#present .present-notebook .test-results{font-size:clamp(18px,1.55vw,24px);line-height:1.3}
#present .present-notebook .test-results td,#present .present-notebook .test-results th{padding:.4em .5em}
#present .present-notebook p{margin:.55em 0}
@media print{.notebook-print-apply{break-inside:avoid}.notebook-question-sheet li{break-inside:avoid}}

/* Compact "Your lesson" bar on iPads and laptops: one slim row of lesson, activities and Back,
   then the question on one line with the notes and other activities as small links. The whole-class
   big-screen view keeps its larger sizes. */
body:not(.lesson-big-screen) .lesson-bar:not([hidden]) { padding: 6px 8px 6px 14px; gap: 6px 8px; }
body:not(.lesson-big-screen) .lesson-bar-title { font-size: 14px; }
body:not(.lesson-big-screen) .lesson-bar-tabs { flex: 1 1 auto; min-width: 0; }
body:not(.lesson-big-screen) .lesson-bar-tabs button { min-height: 32px; padding: 3px 11px; font-size: 14px; }
body:not(.lesson-big-screen) .lesson-bar .teach-return { font-size: 15px !important; padding: 5px 14px !important; min-height: 36px; }
body:not(.lesson-big-screen) .lesson-activity-prompt { flex-wrap: wrap; align-items: center; gap: 4px 10px; }
body:not(.lesson-big-screen) .lesson-activity-prompt .activity-question { flex: 1 1 24em; font-size: 15px; margin: 0; }
body:not(.lesson-big-screen) .lesson-activity-prompt details { flex: 0 0 auto; font-size: 14px; }
body:not(.lesson-big-screen) .lesson-activity-prompt details[open] { flex-basis: 100%; order: 3; }
body:not(.lesson-big-screen) .lesson-activity-prompt [data-activity-browse] { min-height: 32px; padding: 3px 10px; font-size: 14px; }
/* Opened from a lesson, the Play page's big heading repeats what the lesson bar already says. */
.lesson-activity #missions > .heading { display: none; }
/* Small copy of the lesson picture at the top of a theory Explain step, so students needn't go back. */
.lesson-explain-picture { max-width: 460px; margin: 6px 0 10px; }
.lesson-explain-picture figure { margin: 0; }
.lesson-explain-picture figcaption { font-size: 13px; }
.lesson-early-finish { margin: 14px 0; padding: 10px 14px; border-radius: 12px; background: #eef6ff; border: 2px dashed #8fb3d9; }
.lesson-early-finish p { margin: 0 0 8px; }
/* Mystery clues revealed one at a time */
.clue-reveal > p, .clue-next > p { margin: 6px 0; font-weight: 600; }
.clue-next summary { display: inline-block; margin: 4px 0; padding: 6px 12px; border-radius: 999px; border: 2px solid #d9c27a; background: #fff8e1; font-weight: 700; cursor: pointer; list-style: none; }
.clue-next summary::-webkit-details-marker { display: none; }
.clue-next[open] > summary { display: none; }
/* A3 poster helpers: word bank chips and tick-box checklist */
.poster-words span { display: inline-block; margin: 2px 4px 2px 0; padding: 2px 9px; border-radius: 999px; background: #eef6f0; border: 1px solid #c6dccb; font-size: .92em; }
.poster-check p { margin: 6px 0 0; }
.poster-check ul { list-style: none; padding-left: 0; margin: 4px 0 8px; }
.poster-check li { margin: 2px 0; }
.lesson-learned { margin: 18px 0 6px; padding: 12px 14px; border-radius: 12px; background: #eef6f0; border: 1px solid #c6dccb; }
.lesson-learned .rec-field { margin: 0; }
.hypothesis-example { margin: 8px 0 10px; padding: 10px 12px; border-radius: 10px; background: #fff8e6; border: 1px dashed #d9b75e; }
.exit-ideas-lead { margin: 6px 0 4px; }
.exit-ideas-prompts { margin: 0 0 10px; padding-left: 22px; }
.exit-ideas-prompts li { margin: 3px 0; }
.lesson-team-jobs { margin: 12px 0; padding: 10px 14px; border-radius: 12px; background: #eef6f0; border: 1px solid #c6dccb; }
.lesson-team-jobs h3 { margin: 0 0 6px; }
.lesson-team-jobs ul { margin: 0 0 6px; padding-left: 20px; }
.lesson-team-jobs p { margin: 0; font-size: .95em; }
.science-word { margin: 8px 0; padding: 8px 12px; border-left: 4px solid #11665e; background: #eef6f0; border-radius: 6px; }
/* Exercise-book decks: projected evidence students read while they work. */
#present .present-evidence{max-width:1150px;margin:0 auto;line-height:1.4;font-size:clamp(17px,1.65vw,24px)}
#present .present-evidence h3{margin:.2em 0 .3em;font-size:1.1em}
#present .present-evidence p{margin:.5em 0}
#present .present-evidence ul{margin:.3em 0 .6em}
#present .present-evidence .test-results{font-size:clamp(16px,1.4vw,21px);line-height:1.3}
#present .present-evidence .test-results td,#present .present-evidence .test-results th{padding:.35em .5em}
/* Design your own experiment: teacher brief form and student planning screens. */
.tc-design-own,.tc-project-entry{margin:1rem 0;border:2px solid #cfe0d8;border-radius:12px;padding:.6rem 1rem;background:#fbfdfc}
.tc-design-own>summary,.tc-project-entry>summary{font-weight:700;cursor:pointer;min-height:44px;display:flex;align-items:center}
.tc-design-form{display:grid;gap:.7rem;max-width:42rem}
.tc-design-form label{display:grid;gap:.25rem}
.tc-design-form label>span{font-weight:600}
.tc-design-form input,.tc-design-form textarea,.tc-design-form select{font:inherit;padding:.5rem .6rem;border:1px solid #b9c7c0;border-radius:8px}
.design-materials{border:1px solid #cfe0d8;border-radius:10px;padding:.6rem .8rem;display:grid;grid-template-columns:repeat(auto-fill,minmax(14rem,1fr));gap:.4rem .8rem}
.design-materials legend{font-weight:700;padding:0 .3rem}
.design-material{display:flex;gap:.5rem;align-items:center;min-height:44px}
.design-material input,.design-check input{width:1.4rem;height:1.4rem;flex:none}
.design-method{display:grid;gap:.4rem;padding-left:1.6rem}
.design-method input{width:100%;font:inherit;padding:.5rem .6rem;border:1px solid #b9c7c0;border-radius:8px;min-height:44px}
.design-check label{display:flex;gap:.6rem;align-items:center;min-height:44px}
/* On-screen lessons: the task first, in its own box, then information, steps and one table. */
.lesson-task{border:2px solid #2f7d6d;border-radius:12px;padding:.7em 1em;margin:.4em 0 1em;background:#f2f8f6}
.lesson-task .eyebrow{margin:0;font-size:.8em;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#2f6b5e}
.lesson-task .rec-q{margin:.2em 0 0;font-size:1.15em;font-weight:700}
.lesson-task .lesson-stage-focus{margin:.4em 0 0}
.lesson-step-note{font-size:.92em;color:#4b5a55;border-left:4px solid #9cc5b9;padding:.2em .7em}
/* Explore activity cards: a picture instead of a letter code (outside the chemistry lab). */
.lab-tile .lab-tile-code.lab-tile-icon,.lab-tile[data-wb-kind] .lab-tile-code.lab-tile-icon{font-size:2.4rem;line-height:1;background:transparent;box-shadow:none;border:0;padding:.1rem 0;color:inherit}
/* Research & sources lessons: what we know, detective questions, open cards with answers beside them. */
.research-info{border-left:5px solid #c9932e;background:#fff8ea;border-radius:10px;padding:.6rem 1rem;margin:.6rem 0 1rem}
.research-info h3{margin:.1rem 0 .3rem;font-size:1.05rem}
.research-info p{margin:.25rem 0}
.research-tools{border:2px dashed #8fb8ab;border-radius:12px;padding:.6rem 1rem;margin:.6rem 0 1rem;background:#f6fbf9}
.research-tools h3{margin:.1rem 0 .4rem;font-size:1.05rem}
.research-tools ul{list-style:none;margin:0;padding:0;display:grid;gap:.35rem}
.research-tools li{font-size:1.05rem}
.research-cards{display:grid;gap:1rem;margin-top:.6rem}
.research-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1rem;border:1px solid #d9d2bd;border-radius:14px;padding:1rem;background:#fff}
.research-card h3{margin:.1rem 0 .4rem;font-size:1.15rem}
.research-card ul{margin:.2rem 0 0;padding-left:1.1rem;display:grid;gap:.35rem}
.research-card .eyebrow{margin:0;font-size:.8rem;font-weight:700;color:#7a5a1e;text-transform:uppercase;letter-spacing:.04em}
@media (max-width:640px){.research-card{grid-template-columns:1fr}}
/* Tap-to-choose answers: big, clear buttons that start the student's sentence. */
.answer-choices{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin:.4rem 0 .5rem}
.answer-choices-lead{flex-basis:100%;margin:0 0 .1rem;font-weight:700}
.answer-choices button{min-height:44px;padding:.45rem .9rem;border:2px solid #9cc5b9;border-radius:999px;background:#fff;font:inherit;font-weight:700;color:#21443c;cursor:pointer}
.answer-choices button[aria-pressed="true"],.lesson-learning .answer-choices button[aria-pressed="true"]{background:#2f6b5e !important;border-color:#2f6b5e !important;color:#fff !important}
.answer-choices button[aria-pressed="true"]::before{content:"✓ "}
.answer-choices button:focus-visible{outline:3px solid #f2b705;outline-offset:2px}
/* Read-first lessons: the short reading and its table are one clear block to read before the steps. */
.lesson-read-first{border:1px solid #d9d2bd;border-left:6px solid #c98a1c;border-radius:12px;background:#fffaf0;padding:.8em 1.1em;margin:0 0 1em}
.lesson-read-first h3{margin:0 0 .4em;font-size:1.15em}
.lesson-read-first p{margin:0 0 .5em;font-size:1.08em;line-height:1.6;max-width:78ch}
.lesson-read-first p:last-child{margin-bottom:0}
.lesson-read-first table{margin:0;background:#fff}
.lesson-read-first caption{text-align:left;font-weight:700;padding-bottom:.3em}
.lesson-short-steps li{margin-bottom:.45em;line-height:1.5}
.lesson-investigate-read .teach-list.lesson-short-steps{columns:1;display:block}
/* Teaching slide with a drawing beside the points (space and science-history lessons). */
.intro-with-diagram{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:1.5rem;align-items:center}
.intro-with-diagram .intro-diagram figure{margin:0}
.intro-with-diagram .intro-diagram svg{display:block;width:100%;height:auto;max-height:46vh}
.intro-with-diagram .intro-diagram figcaption{font-size:.8em;margin-top:.3em}
@media (max-width:820px){.intro-with-diagram{grid-template-columns:1fr}.intro-with-diagram .intro-diagram svg{max-height:34vh}}
.lesson-read-first .lesson-read-title{font-weight:700;margin-bottom:.3em}
.lesson-read-first .source-sheet{margin:.5em 0 0}
.lesson-investigate-read .lesson-screen-location{font-size:.9em;color:#4d5f52;margin-top:.8em}

/* ---------- One-task lessons (lesson-task.js) ---------- */
.task-lesson .rec-section{padding-top:.4rem}
.task-head{border:2px solid #2f7d6d;border-radius:14px;background:#f2f8f6;padding:.8rem 1.1rem;margin:0 0 1rem}
.task-head .eyebrow{margin:0;font-size:.8em;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#2f6b5e}
.task-do{margin:.2rem 0 0;font-size:1.3em;line-height:1.4;font-weight:750;color:#1d3326}
.task-grid{display:grid;gap:1.1rem;align-items:start}
@media (min-width:900px){.task-grid{grid-template-columns:minmax(0,2fr) minmax(0,3fr)}.task-evidence{position:sticky;top:8px;max-height:calc(100vh - 24px);overflow:auto}}
.task-evidence > * + *{margin-top:.8rem}
.task-read{border-left:6px solid #c98a1c;background:#fffaf0;border-radius:10px;padding:.6rem .9rem}
.task-read h3{margin:0 0 .3rem;font-size:1em}
.task-read p{margin:0 0 .45rem;line-height:1.55;font-size:1.04em}
.task-read p:last-child{margin-bottom:0}
.task-table table{margin:0;background:#fff}
.task-table caption{text-align:left;font-weight:700;padding-bottom:.3rem}
.task-cards{display:grid;gap:.5rem}
.task-card{border:1px solid #c9d8cc;border-radius:10px;background:#fff;padding:.5rem .75rem}
.task-card p{margin:.15rem 0 0;line-height:1.45}
.task-tool{border:1px solid #b9cfbf;border-radius:12px;background:#eef5ef;padding:.7rem .9rem}
.task-tool p{margin:.4rem 0 0}
.task-picture figure{margin:0}
.task-picture svg{width:100%;height:auto}
.task-response{min-width:0}
.task-response .rec-field{margin-top:.8rem}
.task-choices{border:0;padding:0;margin:0;display:grid;gap:.5rem}
.task-choice{display:flex;gap:.7rem;align-items:flex-start;border:2px solid #c9d8cc;border-radius:12px;background:#fff;padding:.75rem .9rem;cursor:pointer;line-height:1.45;min-height:44px}
.task-choice input{width:22px;height:22px;flex:none;margin-top:.1rem;accent-color:#2f6b3a}
.task-choice:has(input:checked){border-color:#2f6b3a;background:#eef5ef}
.task-sort{display:grid;gap:.5rem}
.task-sort-row{border:1px solid #c9d8cc;border-radius:12px;background:#fff;padding:.5rem .8rem;margin:0}
.task-sort-row legend{font-weight:700;padding:0 .2rem}
.task-sort-options{display:flex;flex-wrap:wrap;gap:.4rem}
.task-sort-options .task-choice{padding:.45rem .7rem;border-width:1px}
.task-order{display:grid;gap:.5rem;padding-left:0;list-style:none}
.task-order label{display:flex;justify-content:space-between;align-items:center;gap:.8rem;border:1px solid #c9d8cc;border-radius:12px;background:#fff;padding:.5rem .8rem}
.task-order select{min-height:44px;font:inherit}
.task-answer-table textarea{width:100%;min-height:3.2em;font:inherit;resize:vertical}
.task-done{margin:1.1rem 0 .4rem;padding:.7rem .9rem;border-radius:10px;background:#fff6dc;border:1px solid #e6cf8f;font-size:1.05em}
.task-challenge{margin-top:1rem}
.task-legacy{margin-top:1rem;border:1px dashed #b5c4b8;border-radius:10px;padding:.5rem .8rem;background:#fafbf8}
.task-legacy dt{font-weight:700;margin-top:.5rem}
.task-legacy dd{margin:.1rem 0 0}
.task-teacher{border:2px solid #2f7d6d;border-radius:14px;background:#f2f8f6;padding:.9rem 1.1rem;margin:0 0 1.2rem}
.task-teacher h3{margin:0;font-size:.85em;text-transform:uppercase;letter-spacing:.05em;color:#2f6b5e}
.task-teacher dl{display:grid;gap:.45rem;margin:.7rem 0 0}
.task-teacher dt{font-weight:750}
.task-teacher dd{margin:0}
@media (min-width:700px){.task-teacher dl > div{display:grid;grid-template-columns:11rem 1fr;gap:1rem}}
.tc-task-do{font-weight:700}
.tc-drawing svg,.task-print svg.draw-picture{width:100%;max-width:640px;height:auto;border:1px solid #c9d8cc;border-radius:8px}
.task-print-box{height:9cm;border:1.5px solid #555;border-radius:6px;margin:.4cm 0}
.task-print-lines{height:4.5cm;background:repeating-linear-gradient(transparent 0 .95cm,#999 .95cm 1cm);margin:.3cm 0}
.task-print-lines.short{height:2.5cm}
/* Drawing pad */
.draw-pad{display:grid;gap:.5rem}
.draw-tools,.draw-labels{display:flex;flex-wrap:wrap;gap:.4rem .7rem;align-items:center}
.draw-group{display:inline-flex;gap:.3rem;flex-wrap:wrap}
.draw-pad button{min-height:44px;min-width:44px;padding:.35rem .7rem;border:1px solid #b5c4b8;border-radius:10px;background:#fff;font:inherit;cursor:pointer}
.draw-pad button[aria-pressed="true"]{background:#2f6b3a;color:#fff;border-color:#2f6b3a}
.draw-colour{background:var(--ink)!important;width:44px;padding:0!important}
.draw-colour[aria-pressed="true"]{outline:4px solid #f0c64c;outline-offset:2px}
.draw-labels input{min-height:44px;font:inherit;padding:.3rem .5rem;border:1px solid #b5c4b8;border-radius:10px;width:10rem}
.draw-hint{font-weight:700;color:#2f6b3a}
.draw-svg{display:block;width:100%;height:auto;border:2px solid #9db5a2;border-radius:12px;touch-action:none;cursor:crosshair;background:#fff}
.draw-pad[data-readonly] .draw-svg{cursor:default;touch-action:auto}
.draw-colour{width:40px!important;min-width:40px!important;border-radius:50%!important;height:40px;min-height:40px!important}
.draw-labels > span:first-child{font-weight:700}
@media (min-width:900px){.task-draw .task-grid{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}}
.draw-pad button{min-height:40px;padding:.25rem .6rem}

/* For the table and picture cards (print-table-copies.js). Large type for a group's table; dashed cut lines. */
@media print {
  .table-copy { font-size: 13pt; line-height: 1.4; }
  .table-copy h1 { font-size: 22pt; margin: 0 0 3pt; }
  .table-copy .print-q { font-size: 14pt; margin: 0 0 8pt; }
  .tc-science { break-inside: avoid; border: 1.2pt solid #333; border-radius: 6pt; padding: 6pt 9pt; margin: 0 0 8pt; }
  .tc-science h2 { font-size: 15pt; margin: 0 0 4pt; }
  .tc-science-body { display: grid; grid-template-columns: 1fr 62mm; gap: 8pt; align-items: start; }
  .tc-science-body p { margin: 0 0 4pt; }
  .tc-science figure { margin: 0; }
  .tc-science figure img, .tc-science figure svg { width: 100%; max-height: 48mm; object-fit: contain; display: block; }
  .tc-science figcaption { font-size: 7pt; color: #555; margin-top: 2pt; }
  .tc-talk { font-style: italic; }
  .tc-read { break-inside: avoid; margin: 0 0 8pt; }
  .tc-read h2 { font-size: 15pt; margin: 0 0 4pt; }
  .tc-table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 0 0 8pt; font-size: 12pt; border-top: 2px solid #000; border-left: 2px solid #000; }
  .tc-table caption { text-align: left; font-weight: 700; padding-bottom: 3pt; }
  .tc-table th, .tc-table td { border-right: 2px solid #000; border-bottom: 2px solid #000; padding: 3pt 5pt; text-align: left; }
  .tc-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0 0 6pt; }
  .tc-card { break-inside: avoid; border: 1.2pt dashed #555; padding: 8pt 10pt; min-height: 30mm; }
  .tc-card b { display: block; font-size: 14pt; margin-bottom: 3pt; }
  .tc-card p { margin: 0 0 3pt; }
  .tc-card-item { min-height: 20mm; display: flex; align-items: center; }
  .tc-note { font-size: 9pt; color: #444; }
  .print-cards h1 { font-size: 18pt; margin: 0 0 3pt; }
  .print-cards > p { font-size: 10pt; margin: 0 0 6pt; }
  .pc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
  .pc-card { break-inside: avoid; border: 1.2pt dashed #555; height: 52mm; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3pt; padding: 4pt; text-align: center; position: relative; }
  .pc-card b { font-size: 14pt; line-height: 1.15; }
  .pc-card small { position: absolute; top: 3pt; left: 5pt; font-size: 8pt; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #333; }
  .pc-symbol { font-size: 46pt; line-height: 1; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
  .pc-drawing { width: 34mm; height: 27mm; }
  .pc-draw { font-size: 7pt; color: #777; border-top: .6pt dotted #999; width: 80%; padding-top: 1pt; }
  .pc-arrow { height: 26mm; }
  .pc-arrow b { font-size: 16pt; }
  .pc-mat { display: grid; grid-template-columns: repeat(3, 1fr); border: 1.5pt solid #000; height: 235mm; }
  .pc-mat > div + div { border-left: 1.5pt solid #000; }
  .pc-mat h2 { text-align: center; font-size: 18pt; margin: 0; padding: 6pt; border-bottom: 1.5pt solid #000; }
}
@media print {
  .pc-reading-grid { display: grid; grid-template-columns: 1fr 1fr; }
  .pc-reading { border: 1.2pt dashed #555; padding: 8mm 6mm; height: 110mm; break-inside: avoid; font-family: Arial, sans-serif; }
  .pc-reading p { margin: 0 0 4mm; font-weight: 700; line-height: 1.1; }
  .pc-reading span { display: inline-block; width: 8mm; font-size: 9pt; font-weight: 400; color: #555; vertical-align: middle; }
}
/* Go further (lessonTaskFurther): a visible extension with room to answer, after the main task. */
.task-further{margin:1.1rem 0 .4rem;padding:.9rem 1.1rem 1rem;border:2px solid #b9d7c7;border-radius:16px;background:linear-gradient(#f1faf5,#e8f4ee)}
.task-further-kicker{margin:0 0 .2rem;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#1d6b5a}
.task-further-kicker::before{content:"🚀 "}
.task-further-q{margin:0 0 .6rem;font-size:1.08rem;font-weight:700;line-height:1.4;color:#173a2c}
.task-further-more{margin-top:.6rem;padding-top:.5rem;border-top:1px dashed #b9d7c7}
.task-further-more p{margin:0 0 .2rem}
.task-further-more ul{margin:0;padding-left:1.2rem}
.task-further-more li{margin:.2rem 0;line-height:1.4}
.task-print-further{margin-top:10pt;padding:6pt 8pt;border:1px solid #999;border-radius:6pt}
.task-print-more{font-size:10.5pt}
@media print { .pc-note { font-size: 9.5pt; line-height: 1.2; color: #222; max-width: 92%; } }

/* What each group needs at its table (table-resources.js). Sizes in mm so cut-out cards fit their mat. */
.table-resources{margin:.6rem 0 .9rem;padding:.7rem 1rem;border:2px solid #b9d7c7;border-radius:14px;background:#f3faf6}
.table-resources h4{margin:0 0 .35rem;font-size:1rem}
.table-resources ul{list-style:none;margin:0;padding:0;display:grid;gap:.4rem}
.table-resources li{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem .7rem}
.table-resources .table-resource-btn{font-weight:700;min-height:44px;padding:.45rem .9rem;border:2px solid #2f6b3a;border-radius:10px;background:#fff;color:#1d4f2b;cursor:pointer}
.table-resources .table-resource-btn::before{content:"🖨 "}
.table-resources .table-resource-btn:hover{background:#e6f2ea}
.table-resources .teach-note{margin:.45rem 0 0}
/* Not print-only: the sheets are measured on screen (off-page) before printing, to fit one A4 page. */
  .tr-sheet { font-size: 12.5pt; line-height: 1.38; }
  .tr-sheet h1 { font-size: 1.6em; margin: 2pt 0 4pt; }
  .tr-sheet h2 { font-size: 1.12em; margin: 8pt 0 3pt; }
  .tr-use { font-size: 1.04em; margin: 0 0 4pt; }
  .tr-how { margin: 0 0 5pt; }
  .tr-foot, .tr-small { font-size: .8em; color: #333; margin: 4pt 0 0; }
  .tr-evidence { margin-top: 6pt; }
  .tr-evidence p { margin: 0 0 4pt; font-size: 1em; line-height: 1.38; }
  .tr-evidence .task-read h3, .tr-evidence h3 { font-size: 1.12em; margin: 6pt 0 3pt; }
  .tr-evidence .task-cards, .tr-choices .task-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 4pt 0; }
  .tr-evidence .task-card, .tr-choices .task-card { border: 1.2pt dashed #555; padding: 6pt 8pt; break-inside: avoid; }
  .tr-evidence .task-card b { display: block; font-size: 1.04em; }
  .tr-evidence svg, .tr-evidence img { max-width: 100%; max-height: 80mm; height: auto; }
  .tr-table { width: 100%; border-collapse: separate; border-spacing: 0; border-top: 2px solid #000; border-left: 2px solid #000; margin: 4pt 0 6pt; font-size: .96em; }
  .tr-table caption { text-align: left; font-weight: 700; padding-bottom: 3pt; font-size: 1em; }
  .tr-table th, .tr-table td { border-right: 2px solid #000; border-bottom: 2px solid #000; padding: 3pt 5pt; text-align: left; vertical-align: top; }
  .tr-table th { background: #e9efe9; }
  .tr-rule td { height: 9mm; }
  .tr-cards { display: flex; flex-wrap: wrap; margin: 3pt 0 4pt; }
  .tr-card { box-sizing: border-box; border: 1.2pt dashed #555; margin: 0 -1.2pt -1.2pt 0; padding: 2mm; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1mm; overflow: hidden; break-inside: avoid; }
  .tr-card b { font-size: 12pt; line-height: 1.15; }
  .tr-card-text { align-items: flex-start; text-align: left; }
  .tr-card-text b { font-size: 11.5pt; font-weight: 600; }
  .tr-card small { position: absolute; top: 1.5mm; left: 2mm; font-size: 7.5pt; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
  .tr-card .pc-symbol { font-size: 30pt; line-height: 1; }
  .tr-card .pc-drawing { width: 26mm; height: 20mm; }
  .tr-card .pc-note { font-size: 8.5pt; line-height: 1.2; }
  .tr-card .tr-arrow { font-size: 15pt; }
  .tr-mat { display: grid; border: 2px solid #000; }
  .tr-mat > div + div { border-left: 2px solid #000; }
  .tr-mat h2 { text-align: center; font-size: 16pt; margin: 0; padding: 3mm; border-bottom: 2px solid #000; }
  .tr-strip { list-style: none; margin: 4pt 0; padding: 0; border: 2px solid #000; }
  .tr-strip li + li { border-top: 2px solid #000; }
  .tr-strip li { box-sizing: border-box; position: relative; }
  .tr-strip span { position: absolute; top: 1mm; left: 2mm; font-size: 9pt; font-weight: 700; color: #444; }
  .tr-cycle { break-inside: avoid; margin: 0 0 4mm; }
  .tr-cycle h2 { margin: 2mm 0 1.5mm; }
  .tr-cycle-row { display: flex; align-items: center; }
  .tr-slot { box-sizing: border-box; border: 2px solid #000; position: relative; }
  .tr-slot span { position: absolute; top: 1mm; left: 2mm; font-size: 9pt; font-weight: 700; color: #555; }
  .tr-step { width: 6.6mm; text-align: center; font-size: 14pt; }
  .tr-back { font-size: 10pt; margin: 1mm 0 0; color: #333; }
  .tr-two { display: grid; grid-template-columns: 1fr 1fr; gap: 6mm; }
  .tr-method ul, .tr-method ol { margin: 0; padding-left: 6mm; }
  .tr-method li { margin: 0 0 1.5pt; }
  .tr-safe { border: 2px solid #b00; border-radius: 4pt; padding: 0 4mm 2mm; align-self: start; }
  .tr-copy .tr-rule td { height: 7mm; }
