/* Shared teaching templates: approved workbench palette, authored science visuals.
   Scoped to presentations; no lesson, student workspace or scientific colour key. */
/* Persistent work board: smaller reference type, generous contrast and no hidden steps. */
#present .present-slide[data-slide-kind=workboard] {padding:12px 3%;text-align:left;}
#present .present-slide[data-slide-kind=workboard] > h2 {font-size:28px;margin:0 0 8px;max-width:none;}
#present .investigation-board .board-question {font-size:21px;font-weight:700;margin:0 0 12px;}
#present .board-columns {display:grid;grid-template-columns:1fr 1.12fr 1fr;gap:18px;align-items:start;}
#present .board-columns section {min-width:0;background:#fff;border:1px solid #cad7d7;border-radius:10px;padding:12px;}
#present .investigation-board :is(p,li,td,th,caption) {font-size:17px;line-height:1.25;}
#present .investigation-board h3 {font-size:20px;margin:0 0 10px;color:#11665e;}
#present .investigation-board p {margin:0 0 9px;}
#present .investigation-board ol {padding-left:22px;margin:0 0 10px;}
#present .investigation-board li {margin-bottom:8px;}
#present .investigation-board table {width:100%;border-collapse:collapse;table-layout:auto;}
#present .investigation-board :is(td,th) {padding:5px 4px;border:1px solid #cad7d7;overflow-wrap:anywhere;}
#present .investigation-board caption {text-align:left;margin-bottom:6px;}
@media(min-width:1500px) {#present .investigation-board :is(p,li,td,th,caption) {font-size:20px;}}
@media(max-width:750px) {#present .board-columns {grid-template-columns:1fr;} }
#present {--slide-ink:#172f40;--slide-teal:#11665e;--slide-line:#cad7d7;background:#f5f7f4;color:var(--slide-ink);}
#present .present-bar {background:#fff;border-color:var(--slide-line);font-size:14px;padding:8px 24px;min-height:52px;flex-wrap:nowrap;}
#present .present-bar > span:first-child {flex:1;min-width:0;line-height:1.35;}
#present .present-bar > span:nth-child(2):not(.present-move),#present .present-bar > .present-move + span {font-variant-numeric:tabular-nums;white-space:nowrap;}
#present .present-tools {position:relative;flex:none;}
#present .present-tools > summary {cursor:pointer;font-size:14px;border:1px solid #91aca7;border-radius:8px;padding:12px;background:#f5f7f4;color:#172f40;min-height:44px;box-sizing:border-box;}
#present .present-tools-menu {position:absolute;right:0;top:calc(100% + 8px);z-index:3;background:#fff;border:1px solid #91aca7;border-radius:12px;box-shadow:0 8px 30px #172f4030;padding:14px;display:flex;gap:10px;flex-direction:column;min-width:220px;}
#present .present-tools-menu :is(button,a) {min-height:44px;margin:0;font-size:16px;}
#present .present-slide {padding:22px 5%;color:var(--slide-ink);background:#f5f7f4;line-height:1.4;}
#present .present-slide > h2 {font-size:clamp(32px,3.2vw,48px);line-height:1.15;letter-spacing:-.02em;color:var(--slide-teal);margin:0 0 20px;max-width:34ch;}
#present .present-slide[data-slide-kind=demonstration] {background:#f2f6f7;}
#present .present-slide[data-slide-kind=investigation] {background:#fffdf8;}
#present .present-slide[data-slide-kind=evidence] {background:#fff;}
#present .present-slide[data-slide-kind=discussion] {background:#edf5f0;}
#present .present-big {font-size:clamp(28px,3.2vw,48px);line-height:1.22;max-width:32ch;}
#present .present-mid {font-size:clamp(23px,2.5vw,34px);}
#present .present-q {background:#fff;border-color:var(--slide-teal);}
#present .present-science-words > div {background:#fff;border:1px solid var(--slide-line);border-radius:12px;}
#present .present-science-words dt {color:var(--slide-teal);}
#present .evidence-discussion {padding:20px 24px;border:1px solid #b8d0c5;border-left:6px solid var(--slide-teal);border-radius:0 14px 14px 0;background:#fff;}
#present .evidence-discussion .present-big {margin:0 0 18px;max-width:none;}
#present .evidence-discussion > p:last-child {font-size:clamp(21px,2vw,29px);margin:0;}
#present .present-nav {background:#fff;border-color:var(--slide-line);padding:10px 24px;}
#present .present-nav .primary {background:#11665e;border-color:#11665e;color:#fff;}
#present .present-jump-label {color:#334f5b;}
#present :is(button,summary,select,a):focus-visible {outline:3px solid #a84d1d;outline-offset:3px;}
#present .present-teacher-notes {background:#fff;border-color:var(--slide-line);color:#172f40;}
#present .present-model-tools {font-size:18px;}
#present .present-recording-indicator {background:#fff;border:1px solid #b8d0c5;color:#11665e;}
/* Existing practical/source pages retain their pagination and readable sizes. */
#present .present-practical,#present .present-notebook {max-width:1100px;margin-inline:auto;}
@media(max-width:1000px) {
 #present .present-bar {padding-inline:16px;gap:8px;}
 #present .present-slide {padding:18px 4%;}
 #present .present-slide > h2 {font-size:34px;margin-bottom:16px;}
 #present .present-big {font-size:32px;}
 #present .present-nav {padding:8px 16px;gap:8px;}
}
@media(prefers-reduced-motion:reduce) {
 #present * {animation:none!important;transition:none!important;scroll-behavior:auto!important;}
}
#present .present-notebook .present-big {font-size:clamp(26px,2.6vw,38px);max-width:none;}
#present .present-learning-grid {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:36px;align-items:start;}
#present .present-learning-grid .present-mid {margin:0;padding:22px;background:#fff;border:1px solid #cad7d7;border-radius:14px;}
#present .present-learning-grid h3 {margin:0 0 16px;font-size:30px;}
#present .present-learning-grid .present-steps {font-size:clamp(23px,1.8vw,29px);line-height:1.4;margin:0;}
#present .present-slide[data-slide-kind=teaching] > .present-big {font-size:clamp(28px,3vw,42px);max-width:45ch;}
#present .present-current-task {font-size:clamp(27px,min(3vw,4.4vh),38px);line-height:1.3;max-width:none;margin:.5em 0;}
#present .present-slide[data-slide-kind=discussion] > .vocab-list {max-width:none;width:100%;grid-template-columns:repeat(3,minmax(0,1fr));}
#present .present-slide[data-slide-kind=discussion] > .vocab-list dd {font-size:clamp(20px,1.6vw,27px);line-height:1.4;margin:6px 0 0;}
#present .present-slide[data-slide-kind=discussion] > .vocab-list > div {background:#fff;border:1px solid #cad7d7;border-radius:12px;padding:16px;}
#present .ipad-handover ol {font-size:clamp(22px,1.9vw,29px);line-height:1.35;}
#present .handover-join {font-size:clamp(19px,1.5vw,24px);}
@media(max-width:850px) {
 #present .present-learning-grid {grid-template-columns:1fr;gap:18px;}
}
#present .ipad-handover {max-width:1150px;}
#present .handover-question {font-size:clamp(28px,2.5vw,38px);line-height:1.2;margin:14px 0;}
#present .handover-device {font-size:16px;padding:6px 12px;}
#present .ipad-handover ol {font-size:clamp(22px,1.8vw,28px);}
#present .present-current-task {font-size:clamp(27px,min(2.5vw,4vh),36px);}
#present .present-slide[data-slide-kind=investigation] > .present-q {font-size:clamp(22px,1.7vw,28px);margin:10px 0;padding:10px 16px;line-height:1.3;}
#present .present-slide[data-slide-kind=investigation] > .present-safety {font-size:clamp(21px,1.6vw,26px);}
#present .present-slide[data-slide-kind=discussion] > .vocab-list {margin-block:16px;}
#present .present-slide[data-slide-kind=discussion] > .present-mid {margin-block:14px;}
#present .present-slide[data-slide-kind=discussion] > .present-more {font-size:22px;}
#present .present-slide[data-slide-kind=discussion] > .vocab-list > div {padding:12px;}
#present .present-slide[data-slide-kind=discussion] > .vocab-list {margin-block:12px;}
#present .present-slide[data-slide-kind=discussion] > .present-mid {font-size:clamp(23px,2.3vw,32px);}


#present .board-observations .board-columns {grid-template-columns:1.7fr 1fr;}
#present .board-observations .board-columns section:nth-child(2) {display:none;}
@media(max-width:750px) {#present .board-observations .board-columns {grid-template-columns:1fr;}}

#present .board-clues {display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin:0 0 10px;}
#present .board-clues p {padding:8px;background:#edf5f0;border-left:3px solid #11665e;font-size:16px;line-height:1.2;}
#present .investigation-board table {font-size:16px;}
#present .investigation-board :is(td,th,caption) {font-size:16px;line-height:1.2;}
#present .investigation-board .board-question {line-height:1.2;}
@media(min-width:1500px) {#present .board-clues p,#present .investigation-board :is(td,th,caption) {font-size:19px;}}
@media(max-width:750px) {#present .board-clues {grid-template-columns:1fr 1fr;}}
#present .investigation-board :is(p,li) {font-size:16px;line-height:1.2;}
#present .investigation-board h3 {font-size:18px;line-height:1.15;margin:0 0 8px;}
#present .investigation-board p {margin:0 0 6px;}
#present .investigation-board li {margin:0 0 6px;}
#present .board-columns section {padding:10px;}
@media(min-width:1500px) {#present .investigation-board :is(p,li) {font-size:20px;} #present .investigation-board h3 {font-size:24px;}}

#present .investigation-board :is(td,th) {padding:3px 4px;}
#present .compact-first {max-width:1100px;font-size:clamp(24px,2.2vw,32px);line-height:1.35;}
#present .compact-example-prompt {font-size:clamp(19px,1.6vw,25px);line-height:1.3;margin:12px 0;}
#present .compact-example .science-slide-diagram {margin:0 auto;}
#present .compact-example .science-slide-diagram svg {max-height:37vh;}
#present .compact-example .model-with-photo .science-slide-diagram svg {max-height:30vh;}
#present .compact-discussion {max-width:1100px;font-size:clamp(22px,2vw,30px);line-height:1.35;}
#present .compact-science-idea {padding:16px;background:#fff;border-left:5px solid #11665e;}
#present .compact-start .present-more,#present .compact-discussion .present-more {font-size:20px;}

#present .compact-start .present-big {font-size:clamp(26px,2.4vw,36px);max-width:none;line-height:1.3;}
#present .present-slide[data-slide-kind=demonstration] > h2 {font-size:clamp(28px,2.6vw,40px);max-width:none;}

#present .compact-example .science-slide-diagram {width:100%;}
#present .compact-example .adaptation-detail text[font-size="18"] {font-size:22px;}
#present .compact-example .adaptation-detail text[font-size="14"] {font-size:16px;}

/* Notebook practical reference slides (Set up and record · Materials and method): projector-readable, no shrinking. */
.practical-ref :is(p,li,td,th){font-size:clamp(16px,1.45vw,21px);line-height:1.25}
.practical-ref .board-question{font-weight:700;margin:0 0 8px}
.practical-ref p{margin:0 0 6px}
.practical-ref h3{font-size:clamp(18px,1.6vw,23px);margin:0 0 6px;color:#11665e}
.practical-ref ul,.practical-ref ol{margin:0 0 10px;padding-left:24px}
.practical-ref li{margin-bottom:5px}
.practical-ref table{width:100%;border-collapse:collapse;table-layout:fixed;margin:4px 0 8px;background:#fff}
.practical-ref :is(th,td){border:1px solid #66796b;padding:4px 8px;text-align:left;vertical-align:top;overflow-wrap:anywhere}
.practical-ref tbody td{height:1.35em}
.practical-ref .practical-ref-next{font-style:italic;column-span:all;grid-column:1/-1;margin-top:4px}
.practical-ref-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(0,1fr);gap:22px;align-items:start}
.practical-ref-method{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:22px;align-items:start}
@media(max-width:900px){.practical-ref-grid,.practical-ref-method{grid-template-columns:1fr;gap:8px}}
.practical-ref-long tbody td{height:auto}.practical-ref-long :is(th,td){padding:2px 8px}
.practical-ref-flow{columns:2;column-gap:28px}.practical-ref-flow h3{break-after:avoid}.practical-ref-flow li{break-inside:avoid}
@media(max-width:900px){.practical-ref-flow{columns:1}}
/* Pilot single-slide materials and method: slightly tighter so a whole method stays on one slide. */
.practical-ref-method.practical-ref-single :is(p,li){font-size:clamp(15px,1.32vw,20px);line-height:1.22}
.practical-ref-method.practical-ref-single li{margin-bottom:3px}
.practical-ref-method.practical-ref-single h3{margin-bottom:4px}

/* Practical work stays in the presentation: method first, equipment and recording one tap away. */
.practical-work-controls{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 14px}
.practical-work-controls button{font-size:clamp(17px,1.45vw,21px);padding:7px 16px}
.practical-work-controls [aria-pressed=true]{background:#11665e;color:#fff;border-color:#11665e}
.practical-work-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:28px;align-items:start}
.practical-work-grid aside{border-left:3px solid #c6dcd6;padding-left:20px}
.practical-work [hidden]{display:none!important}
.practical-work .practical-work-destination{margin-bottom:6px}
.practical-work [data-practical-panel=recording] table{max-width:1100px}
.screen-work-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:8px}
.screen-work-actions p{margin:0}
.chem-method-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:26px;align-items:start}
.chem-combined :is(p,li){font-size:clamp(18px,1.4vw,22px);line-height:1.24}
.chem-combined li{margin-bottom:5px}
.chem-safety :is(p,li){font-size:clamp(21px,1.7vw,27px);line-height:1.35}
.chem-safety-columns{columns:2;column-gap:42px}.chem-safety li{break-inside:avoid;margin-bottom:18px}
@media(max-width:900px){.chem-method-grid{grid-template-columns:1fr;gap:10px}.chem-safety-columns{columns:1}}
@media(max-width:900px){.practical-work-grid{grid-template-columns:1fr;gap:8px}.practical-work-grid aside{border-left:0;padding-left:0}}

/* Patterns in the Periodic Table: whole table on the opening slide */
.ptable-slide { display:flex; flex-direction:column; align-items:center; gap:.3rem; }
.ptable-slide .ptable-question { font-size:clamp(1.3rem,2.4vw,2.2rem); font-weight:800; margin:0; text-align:center; }
.ptable-slide .ptable-link { margin:0; text-align:center; font-size:clamp(1rem,1.6vw,1.5rem); }
.slide-ptable { display:grid; grid-template-columns:1.6em repeat(18,minmax(0,1fr)); grid-template-rows:1.3em repeat(7,minmax(0,1fr)) .5em repeat(2,minmax(0,1fr)) auto; gap:2px; width:100%; max-width:1100px; height:min(56vh,560px); margin:0 auto; font-size:clamp(.6rem,1.15vw,1.25rem); }
.slide-ptable .pt-cell { display:flex; flex-direction:column; align-items:center; justify-content:center; border-radius:4px; font-weight:800; line-height:1; color:#17322c; }
.slide-ptable .pt-cell small { font-size:.62em; font-weight:500; }
.slide-ptable .pt-label { display:flex; align-items:center; justify-content:center; font-size:.8em; font-weight:700; opacity:.75; }
.slide-ptable .pt-series { display:flex; align-items:center; justify-content:center; font-size:.6em; border:1px dashed currentColor; border-radius:4px; opacity:.7; }
.slide-ptable .pt-key { font-size:.75em; align-self:center; white-space:nowrap; }
.slide-ptable .pt-key i { display:inline-block; width:.9em; height:.9em; border-radius:2px; vertical-align:-.1em; margin-left:.5em; }
#present .present-key-lines {list-style:none;padding:0;margin:0;display:grid;gap:8px;font-size:1.25em;line-height:1.15;}
#present .present-key-lines b {display:block;color:#11665e;}
#present .board-columns.board-single {grid-template-columns:minmax(0,880px);justify-content:center;}
#present .board-single :is(p,li) {font-size:21px;line-height:1.3;}
#present .board-single li {margin-bottom:6px;}
.ptable-warmup .slide-ptable { height:min(46vh,470px); }
/* Closing learning check: success criteria beside one evidence question (3–5 minutes). */
#present .present-slide[data-slide-kind=check] {background:#f4f1fa;}
#present .learning-check {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:28px;align-items:start;}
#present .learning-check section {min-width:0;background:#fff;border:1px solid var(--slide-line);border-radius:14px;padding:14px 20px;}
#present .learning-check h3 {margin:0 0 8px;font-size:1.13em;color:var(--slide-teal);}
#present .present-slide[data-slide-kind=check] > h2 {font-size:clamp(28px,2.6vw,40px);margin:0 0 12px;max-width:none;}
#present .learning-check {font-size:clamp(17px,1.45vw,23px);}
#present .learning-check :is(li,p) {font-size:1em;line-height:1.3;margin-block:0 6px;}
#present .learning-check .present-mid {font-size:1.22em;margin:0 0 10px;}
#present .learning-check ul,#present .learning-check ol {margin:0 0 10px;padding-left:1.2em;}
#present .learning-check .learning-check-how {color:#4a5b66;font-style:italic;}
@media(max-width:900px) {#present .learning-check {grid-template-columns:1fr;gap:16px;}}
/* The teacher move for the current slide (explain, model, ask, investigate, discuss, check). */
#present .present-move {flex:none;font-size:13px;font-weight:700;color:#11665e;background:#eef6f3;border:1px solid #b8d0c5;border-radius:999px;padding:4px 10px;white-space:nowrap;}
#present .present-menu-notes {max-width:420px;font-size:15px;line-height:1.35;border-top:1px solid var(--slide-line);padding-top:10px;}
#present .present-menu-notes p {margin:6px 0 0;}
@media(max-width:900px) {#present .present-move {display:none;}}
/* Practical discussion: the evidence question leads; the science stays folded until students explain. */
#present .present-slide[data-slide-kind=discussion] .practical-ref > .board-question {font-size:clamp(26px,2.5vw,38px);line-height:1.25;margin:0 0 14px;}
#present .present-slide[data-slide-kind=discussion] .practical-ref > p {font-size:clamp(20px,1.8vw,27px);}
.practical-ref table.projected-results td,.practical-ref table.projected-results th{padding:4px 8px;font-size:.82em;line-height:1.25}.practical-ref table.projected-results td{height:auto}.projected-results-note{font-size:.85em;margin:2px 0 8px}

/* "Our investigation" working slide: four short, bold steps students can refer to while they work. */
.first-next-then{list-style:none;margin:.2em 0 .9em;padding:0;display:grid;gap:.5em}
.first-next-then li{display:grid;grid-template-columns:5.4em 1fr;gap:.6em;align-items:baseline;font-size:clamp(22px,2.6vw,38px);line-height:1.25;font-weight:700;color:#173a2c}
.first-next-then li b{color:#1d6b5a;text-transform:uppercase;letter-spacing:.04em;font-size:.72em}
.first-next-then-talk{font-size:clamp(17px,1.6vw,24px);background:#eef5ef;border-left:6px solid #2f6b3a;border-radius:10px;padding:.5em .8em;margin:.4em 0}
.first-next-then-where{font-size:clamp(15px,1.3vw,20px);color:#4d5f52;margin:.3em 0 0}
/* Projected results table: empty rows keep a real writing height instead of collapsing. */
.practical-ref table.projected-results tbody td,.practical-ref table.projected-results tbody th{height:2.4em;vertical-align:top}
.practical-ref table.projected-results{width:100%;table-layout:fixed}
/* Low-risk practicals show safety as one line on the method slide. */
.method-safety{margin-top:.7em;padding:.45em .7em;border-left:5px solid #c0392b;background:#fff3f0;border-radius:8px}
/* Reflection questions (units-slide-wording.js): large enough to read from the back of the room. */
#present .present-slide ol.reflect-questions {font-size:clamp(24px,2.1vw,32px);line-height:1.4;margin:.3em 0 .7em;padding-left:1.5em;}
#present .present-slide ol.reflect-questions li {margin:.35em 0;font-size:inherit;line-height:inherit;}
/* Practical working slide: First/Next/Then on the left, the full method on the right. */
.first-next-then-slide.with-method{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:1.6em;align-items:start}
.first-next-then-slide.with-method .first-next-then li{font-size:clamp(18px,1.75vw,27px);grid-template-columns:4.6em 1fr}
.first-next-then-slide.with-method .first-next-then-talk{font-size:clamp(14px,1.25vw,19px)}
.fnt-method{background:#fff;border:1px solid #d7e3da;border-radius:12px;padding:.7em 1em .4em}
.fnt-method h3{margin:0 0 .3em}
.fnt-method ol{margin:0;padding-left:1.3em}
.practical-ref .fnt-method li{font-size:clamp(14px,1.25vw,19px);line-height:1.3;margin-bottom:.35em}
@media (max-width:820px){.first-next-then-slide.with-method{grid-template-columns:1fr}}
/* One-task working slide: what to copy or choose from is ordinary reading size, not step-heading size. */
.first-next-then .task-copy-list li{display:list-item;grid-template-columns:none;gap:0}
.first-next-then .task-copy-list,.first-next-then .task-copy-list li{font-size:clamp(16px,1.45vw,22px);font-weight:600;line-height:1.3;margin:.25em 0}
.first-next-then ol.task-copy-list{padding-left:1.6em}
.first-next-then table.task-copy-table{font-size:clamp(15px,1.35vw,21px);font-weight:600;margin-top:.35em}
.first-next-then table.task-copy-table :is(th,td){font-size:inherit;padding:.25em .5em}
.task-slide .board-question{margin-bottom:.3em}
#present .practical-ref .share-task{font-size:clamp(17px,1.5vw,22px);color:#4d5f52;margin:0 0 .4em}
/* Safety slide: the three rules that matter most, large; the rest are in the teacher notes. */
#present .present-slide .chem-safety ul.chem-safety-key{font-size:clamp(24px,2.3vw,34px);line-height:1.35;font-weight:700;margin:.2em 0 .6em;padding-left:1.2em}
#present .present-slide .chem-safety ul.chem-safety-key li{font-size:inherit;line-height:inherit;margin:.35em 0}
#present .practical-ref .chem-safety-more{font-size:clamp(14px,1.2vw,17px);color:#5a6b5e}

/* Evidence card (lesson-evidence.js): beside the working instructions, pop out to read together. */
.work-with-evidence{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:1.3em;align-items:start}
.work-with-evidence:not(:has(.compact)) .first-next-then li{font-size:clamp(18px,1.8vw,28px);grid-template-columns:4.8em 1fr}
.work-with-evidence:not(:has(.compact)) .first-next-then-slide.with-method{grid-template-columns:1fr;gap:.6em}
.work-with-evidence:not(:has(.compact)) .practical-ref>.board-question{font-size:clamp(20px,1.9vw,28px)}
.evidence-card{display:flex;flex-direction:column;background:#fffdf6;border:2px solid #e3d3a4;border-radius:16px;box-shadow:0 6px 18px #1733421a;max-height:min(66vh,560px);overflow:hidden;position:relative}
.evidence-card-head{display:grid;grid-template-columns:1fr auto;align-items:center;gap:2px 12px;padding:.6em .9em .5em;background:#fbf1d6;border-bottom:1px solid #ecdcae}
.evidence-card-kicker{grid-column:1;margin:0;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#8a5a0b}
.evidence-card-head h3{grid-column:1;margin:0;font-size:clamp(17px,1.5vw,23px);line-height:1.2;color:#3b2a06}
.evidence-pop{grid-column:2;grid-row:1/span 2;min-height:44px;padding:0 14px;border-radius:999px;border:2px solid #b7863a;background:#fff;color:#5a3a06;font:inherit;font-weight:800;font-size:15px;cursor:pointer;white-space:nowrap}
.evidence-pop:hover{background:#fff6e0}
.evidence-card-body{overflow:auto;padding:.7em 1em .9em;font-size:clamp(14px,1.2vw,18px);line-height:1.45;color:#22302a;-webkit-mask-image:linear-gradient(#000 calc(100% - 26px),transparent);mask-image:linear-gradient(#000 calc(100% - 26px),transparent);padding-bottom:1.6em}
.evidence-card-body:focus{outline:none}
.evidence-card-body:focus-visible{outline:3px solid #b7863a;outline-offset:-3px}
.evidence-card-body h3{font-size:1.05em;margin:.2em 0 .35em;color:#3b2a06}
.evidence-card-body p{margin:0 0 .55em;font-size:inherit;line-height:inherit}
.evidence-card-body .task-read{margin-bottom:.6em}
.evidence-card-body table{width:100%;border-collapse:collapse;font-size:.92em;margin:.2em 0 .7em;background:#fff}
.evidence-card-body caption{text-align:left;font-weight:800;padding:0 0 .3em;color:#3b2a06}
.evidence-card-body th,.evidence-card-body td{border:1px solid #e1d7bd;padding:.3em .45em;text-align:left;vertical-align:top}
.evidence-card-body thead th{background:#f7efd8}
.evidence-card-body .task-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(13em,1fr));gap:.55em;margin:.2em 0 .7em}
.evidence-card-body .task-card{background:#fff;border:1px solid #e6d9b4;border-radius:10px;padding:.5em .65em}
.evidence-card-body .task-card p{margin:.25em 0 0}
.evidence-card-body .task-picture svg,.evidence-card-body .task-picture img{max-width:100%;height:auto;max-height:42vh}
.evidence-card-foot{margin:0;padding:.35em 1em .5em;font-size:13px;color:#6b5a32;border-top:1px solid #f0e4c2;background:#fffaf0}
/* Popped out: the card fills the screen at reading size. */
.evidence-card.popped{position:fixed;inset:3.5vh 4vw;z-index:2000;max-height:none;border-width:3px;box-shadow:0 30px 80px #0007}
.evidence-card.popped .evidence-card-head h3{font-size:clamp(24px,2.4vw,36px)}
.evidence-card.popped .evidence-card-body{font-size:clamp(20px,1.9vw,30px);padding:1em 1.4em 2em;-webkit-mask-image:none;mask-image:none}
.evidence-card.popped .evidence-card-body .task-picture svg{max-height:60vh}
body.evidence-popped #present::after{content:"";position:fixed;inset:0;z-index:1999;background:#0f1d18b3}
@media (max-width:820px){.work-with-evidence{grid-template-columns:1fr}.evidence-card{max-height:none}}
@media print{.evidence-pop{display:none}}
/* Printed evidence card */
.evidence-print .task-read p{font-size:12.5pt;line-height:1.45}
.evidence-print table{width:100%;border-collapse:collapse;margin:8pt 0}
.evidence-print th,.evidence-print td{border:1px solid #999;padding:3pt 5pt;text-align:left;vertical-align:top;font-size:11pt}
.evidence-print .task-cards{display:grid;grid-template-columns:1fr 1fr;gap:6pt}
.evidence-print .task-card{border:1px solid #bbb;border-radius:6pt;padding:5pt 7pt}
/* Go further on the working slide and the Show your teacher slide. */
#present .work-further{margin:.6em 0 0;padding:.5em .8em;border-radius:12px;background:#eaf5ef;border-left:6px solid #1d6b5a;font-size:clamp(15px,1.35vw,21px);line-height:1.35}
#present .work-further p{margin:0;font-size:inherit}
#present .work-further ul{margin:.35em 0 0;padding-left:1.2em}
#present .work-further li{font-size:inherit;margin:.15em 0}
/* Beside the evidence card the copy-this table only needs a short writing row. */
.work-with-evidence .practical-ref table.projected-results tbody td,.work-with-evidence .practical-ref table.projected-results tbody th{height:1.55em}
/* Compact card (iPad practical slides): a one-line tab in the empty space beside the slide title. */
.work-with-evidence:has(.evidence-card.compact){display:block}
.evidence-card.compact:not(.popped){position:absolute;top:14px;right:5%;max-width:min(46%,520px);max-height:none;border-radius:999px;box-shadow:0 3px 10px #17334214}
.evidence-card.compact:not(.popped) .evidence-card-body,.evidence-card.compact:not(.popped) .evidence-card-foot,.evidence-card.compact:not(.popped) .evidence-card-kicker{display:none}
.evidence-card.compact:not(.popped) .evidence-card-head{display:flex;align-items:center;gap:10px;padding:.35em .45em .35em 1em;border-bottom:0;border-radius:999px}
.evidence-card.compact:not(.popped) .evidence-card-head h3{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.evidence-card.compact:not(.popped) .evidence-card-head h3::before{content:"Evidence: ";color:#8a5a0b}
.evidence-card.compact:not(.popped) .evidence-pop{min-height:40px;flex:none}
/* Beside the evidence card the copy-this table only needs a short writing row. */
.work-with-evidence .practical-ref table.projected-results tbody td,.work-with-evidence .practical-ref table.projected-results tbody th{height:1.55em}
.evidence-more{display:block;width:100%;margin:0;padding:.45em 1em;border:0;border-top:1px solid #ecdcae;background:#fbf1d6;color:#5a3a06;font:inherit;font-size:14px;font-weight:800;text-align:left;cursor:pointer}
.evidence-more:hover{background:#f7e7bd}
.evidence-card.popped .evidence-more{display:none}
