/* =====================================================================
 * 📁 /maths/numeration/nombres_entiers/lire_ecrire_decomposer/fiches/fiches.css
 * ===================================================================== */

.ned-fiches-panel { position: sticky; top: 1rem; }
.ned-fiches-preview { overflow-x: auto; padding: .5rem; background: #eef2f5; border-radius: .5rem; }
.ned-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; }
.ned-sheet-header { border-bottom: 1px solid #cad4dd; padding-bottom: 3mm; margin-bottom: 3mm; }
.ned-sheet-title { font-size: 18px; font-weight: 700; margin: 0; }
.ned-sheet-code { color:#2e5f93; font-weight:700; }
.ned-sheet-meta { display:flex; justify-content:space-between; gap:10mm; font-size:10px; margin-bottom:3mm; }
.ned-correct-badge { color:#7656a5; font-weight:700; text-align:right; margin-top:1mm; }
.ned-ex { border:1px solid #d3dce5; border-radius:5px; padding:2.4mm 3.5mm; margin-bottom:2mm; box-sizing:border-box; overflow:hidden; }
.ned-ex:last-of-type { margin-bottom:0; }
.ned-ex h3 { color:#2e5f93; font-size:12.5px; margin:0 0 1.8mm; font-weight:700; }
.ned-grid-write { display:grid; grid-template-columns:1fr; gap:2mm; }
.ned-item { font-size:10px; line-height:1.25; }
.ned-item strong { font-weight:700; }
.ned-prompt-line { line-height:1.25; }
.ned-answer-line { display:block; border-bottom:1px solid #8e9aa4; height:4mm; margin-top:1mm; }
.ned-answer-line.ned-answer-line-short { width:42mm; }
.ned-answer { color:#7656a5; font-weight:700; margin-top:.7mm; line-height:1.2; }
.ned-number { white-space:nowrap; font-weight:700; color:#263238; }
.ned-grid-value { display:grid; grid-template-columns:1fr; gap:1.6mm; }
.ned-decomp-row { font-size:10px; line-height:1.25; margin-bottom:1.7mm; }
.ned-decomp-row:last-child { margin-bottom:0; }
.ned-decomp-number { display:inline-block; font-weight:700; white-space:nowrap; margin-right:3.5mm; }
.ned-inline-answer-line { display:inline-block; vertical-align:bottom; border-bottom:1px solid #8e9aa4; width:calc(100% - 46mm); min-width:70mm; height:3.2mm; margin-left:3mm; }
.ned-compose-row { font-size:10px; line-height:1.25; margin-bottom:1.8mm; }
.ned-compose-row:last-child { margin-bottom:0; }
.ned-compose-index { display:inline-block; min-width:7mm; font-weight:700; }
.ned-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) { .ned-fiches-panel { position: static; } }
