/* =====================================================================
 * 📁 /maths/numeration/nombres_entiers/placer_encadrer_intercaler/fiches/fiches.css
 * ===================================================================== */
.pei-fiches-panel { position: sticky; top: 1rem; }
.pei-fiches-preview { overflow-x: auto; padding: .5rem; background:#eef2f5; border-radius:.5rem; }
.pei-sheet { width:174mm; min-height:258mm; margin:0 auto; background:#fff; box-shadow:0 .25rem 1rem rgba(0,0,0,.12); padding:7mm 7mm 5mm; color:#263238; font-family:Arial,sans-serif; box-sizing:border-box; }
.pei-sheet-header { border-bottom:1px solid #cad4dd; padding-bottom:3mm; margin-bottom:3mm; }
.pei-sheet-title { font-size:18px; font-weight:700; }
.pei-sheet-code { float:right; color:#2e5f93; font-weight:700; }
.pei-sheet-meta { display:flex; justify-content:space-between; gap:10mm; font-size:10px; margin-bottom:3mm; }
.pei-correct-badge { color:#7656a5; font-weight:700; text-align:right; margin-top:1mm; }
.pei-ex { border:1px solid #d3dce5; border-radius:5px; padding:3mm 3.4mm; margin-bottom:2.5mm; box-sizing:border-box; overflow:hidden; }
.pei-ex h3 { color:#2e5f93; font-size:12.5px; margin:0 0 1.7mm; font-weight:700; }
.pei-line-block { margin-bottom:2.7mm; }
.pei-line-block:last-child { margin-bottom:0; }
.pei-targets { font-size:9.7px; margin-bottom:1mm; }
.pei-line-wrap { position:relative; height:18mm; margin:.6mm 6mm 0; }
.pei-line { position:absolute; left:0; right:0; top:6mm; border-top:2px solid #263238; height:0; }
.pei-tick { position:absolute; top:-2.5mm; width:1px; height:5mm; background:#263238; transform:translateX(-.5px); }
.pei-marker { position:absolute; top:-5.8mm; width:10mm; margin-left:-5mm; text-align:center; font-weight:700; color:#2e5f93; font-size:10px; }
.pei-marker-correct { color:#7656a5; }
.pei-line-label { position:absolute; top:9.5mm; font-size:8.5px; white-space:nowrap; }
.pei-line-label.start { left:0; }
.pei-line-label.end { right:0; text-align:right; }
.pei-line-step { position:absolute; left:35%; width:30%; top:9.5mm; text-align:center; font-size:8px; color:#71808e; white-space:nowrap; }
.pei-read-answers { display:flex; gap:16mm; font-size:9.7px; margin-top:.5mm; }
.pei-answer-line { display:inline-block; vertical-align:bottom; border-bottom:1px solid #8e9aa4; height:3.2mm; }
.pei-answer-line.short { width:26mm; }
.pei-answer-line.tiny { width:30mm; }
.pei-answer-line.medium { width:40mm; }
.pei-answer { color:#7656a5; font-weight:700; }
.pei-row { font-size:10px; line-height:1.35; margin-bottom:2mm; }
.pei-row:last-child { margin-bottom:0; }
.pei-unit { color:#71808e; font-size:8.5px; }
.pei-footer { display:flex; justify-content:space-between; border-top:1px solid #d3dce5; padding-top:1.5mm; margin-top:2mm; color:#71808e; font-size:8px; }
@media (max-width:991.98px) { .pei-fiches-panel { position:static; } }
