/* Follow the instructions: a picture (board or scene), then the numbered instructions. Nothing shrinks: two pictures = two pages. */
.fi-page{flex:1;display:flex;flex-direction:column;gap:3mm}
.fi-note{margin:0;font-size:12.5pt;line-height:1.4;text-align:center;color:#222}
.fi-accept{text-align:start;border:.3mm solid #999;border-radius:2mm;padding:1.5mm 3mm}
.fi-head{margin:0;font-size:14pt;font-weight:700;text-align:center}
.fi-pic{direction:ltr;display:flex;flex-direction:column;align-items:center;gap:1mm}
.fi-scene{display:block;width:100%;height:auto}
.fi-board.fi-s1{width:184mm}
.fi-board.fi-s4{width:126mm}
.fi-key .fi-board.fi-s4{width:100mm}
.fi-key .fi-board.fi-s1{width:150mm}
.fi-ic>*{fill:#fff;stroke:#000;stroke-width:.75;stroke-linejoin:round;stroke-linecap:round}
.fi-ic>.pp-n{fill:none}
.fi-ic>.pp-k{fill:#000;stroke:none}
.fi-fill>*:not(.pp-n):not(.pp-k){fill:#b5b5b5}
.fi-anchor>*{fill:#e8e8e8;stroke:#000;stroke-width:.8;stroke-linejoin:round;stroke-linecap:round}
.fi-anchor>.fi-open{fill:none;stroke-width:1.2}
.fi-cell{fill:none;stroke:#777;stroke-width:.35}
.fi-frame{fill:none;stroke:#777;stroke-width:.35}
.fi-ground{fill:none;stroke:#000;stroke-width:.7}
.fi-mark{fill:none;stroke:#000;stroke-width:1.3;stroke-linecap:round}
.fi-zone{fill:none;stroke:#444;stroke-width:.45;stroke-dasharray:1.6 1.2}
.fi-drawn>*{stroke-width:1.1}
.fi-lr{width:100%;display:flex;justify-content:space-between;font-size:12.5pt;font-weight:700}
.fi-board.fi-s4+.fi-lr{width:126mm}
.fi-key .fi-board.fi-s4+.fi-lr{width:100mm}
.fi-items{flex:1;list-style:none;margin:0;padding:0;display:flex;flex-direction:column;justify-content:space-evenly;gap:2mm;counter-reset:fi}
/* Child-facing text: 18 pt for one step, 16 pt for two steps, 14 pt or more for three steps. Arabic is never smaller. */
.fi-items li{counter-increment:fi;display:flex;align-items:flex-start;gap:3mm;font-size:18pt;line-height:1.4;break-inside:avoid}
.fi-items li::before{content:counter(fi) ".";font-weight:700;min-width:7mm}
[dir=rtl] .fi-items li::before{content:counter(fi,arabic-indic) "."}
[dir=rtl] .fi-items li{line-height:1.75}
.fi-st3 .fi-items li,.fi-st3 .fi-ex-text{font-size:16pt}
[dir=rtl] .fi-st3 .fi-items li,[dir=rtl] .fi-st3 .fi-ex-text{font-size:17pt}
.fi-st4 .fi-items li,.fi-st4 .fi-ex-text{font-size:14.5pt;line-height:1.35}
[dir=rtl] .fi-st4 .fi-items li,[dir=rtl] .fi-st4 .fi-ex-text{font-size:14.5pt;line-height:1.55}
.fi-st4 .fi-items{gap:1mm}
.fi-tick{flex:none;width:6mm;height:6mm;border:.35mm solid #000;border-radius:1mm;margin-top:1.2mm}
[dir=rtl] .fi-tick{margin-top:3mm}
.fi-text{flex:1}
.fi-anchor>.fi-thin{stroke-width:.8}
/* Worked example: finished, never scored. */
.fi-ex{display:flex;align-items:center;gap:4mm;border:.3mm dashed #666;border-radius:2mm;padding:1.5mm 3mm}
.fi-ex-text{flex:1;margin:0;font-size:18pt;line-height:1.4}
[dir=rtl] .fi-ex-text{line-height:1.75}
.fi-ex-pic{flex:none;display:flex}
.fi-exart{display:block;height:auto}
.fi-ex-mark{width:24mm}
.fi-ex-beside{width:52mm}
.fi-ex-row{width:54mm}
/* Key: adult text at 12.5 pt or more, with the points beside each instruction. */
.fi-key .fi-items li,[dir=rtl] .fi-key .fi-items li{font-size:12.5pt;line-height:1.45}
[dir=rtl] .fi-key .fi-items li{font-size:13.5pt;line-height:1.7}
.fi-key .fi-items{gap:1mm}
.fi-pts{flex:none;font-weight:700;border:.3mm solid #000;border-radius:1.5mm;padding:0 2mm;font-size:12.5pt;white-space:nowrap}
.fi-total{margin:0;font-size:14pt;font-weight:700;text-align:end}
.fi-disc{text-align:start;font-style:italic}
[dir=rtl] .fi-disc{font-style:normal}
.fi-page.fi-st4{gap:2mm}
[dir=rtl] .fi-st4.fi-key .fi-items li{font-size:13pt;line-height:1.6}
