/* MLT – Leçon 05 : taille des fichiers, trois missions interactives. */
body.ordi02 #fichiers .files-grid,
body.ordi02 #dossiers .files-grid{grid-template-columns:minmax(0,1fr)}
body.ordi02 #fichiers .concept-card.file,
body.ordi02 #dossiers .concept-card.folder{max-width:none}
body.ordi02 .file-sizes-section{background:linear-gradient(160deg,#f7f5ff,#f4fcff 60%,#f5fdf9)}
body.ordi02 .file-sizes-section .section-heading{max-width:980px}
body.ordi02 .file-sizes-section .section-heading strong{color:var(--deep)}
body.ordi02 .size-units{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
body.ordi02 .size-unit{background:#fff;border:1px solid #e6ddfa;border-radius:23px;padding:22px;box-shadow:0 10px 30px #30236e09}
body.ordi02 .size-unit>span{display:block;font-size:1.65rem;line-height:1.2}
body.ordi02 .size-unit>strong{display:block;color:#6536de;font-size:2.2rem;margin:13px 0 0}
body.ordi02 .size-unit h3{font-size:1rem;margin:0 0 6px}
body.ordi02 .size-unit p{font-size:.89rem;color:var(--soft-ink);line-height:1.5;margin:0}
body.ordi02 .size-rule{background:#fff;border-left:5px solid #5dcfb3;border-radius:15px;padding:19px 23px;margin-top:22px;color:#36365b;line-height:1.7}
body.ordi02 .size-challenges-head{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin:40px 0 16px}
body.ordi02 .size-challenges-head h3{font-size:clamp(1.3rem,2.5vw,1.75rem);margin:0}
body.ordi02 #size-score{border:1px solid #d8cbfc;background:#eae2ff;color:#5b2ed2;border-radius:100px;padding:9px 14px;font-size:.87rem;font-weight:900;margin:0}
body.ordi02 .size-challenges{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
body.ordi02 .size-challenge{background:#fff;border:1px solid #e5dcfa;border-radius:24px;padding:25px;box-shadow:0 11px 28px #291f630d;min-width:0}
body.ordi02 .size-challenge:last-child{grid-column:1/-1}
body.ordi02 .size-kicker{color:#6740c9;background:#f1ebff;border-radius:100px;padding:6px 11px;font-size:.72rem;font-weight:900;letter-spacing:.05em;display:inline-block}
body.ordi02 .size-challenge h4{font-size:clamp(1.16rem,2vw,1.4rem);margin:13px 0 8px;color:var(--ink)}
body.ordi02 .size-challenge>p:not(.size-feedback){line-height:1.62;color:var(--soft-ink);font-size:.94rem;margin:0 0 17px}
body.ordi02 .size-sort-row{display:flex;align-items:center;gap:10px;background:#f7f5ff;border:1px solid #e3dafd;border-radius:12px;padding:10px;margin:8px 0;min-width:0}
body.ordi02 .size-sort-row .size-filelabel{flex:1;min-width:0;overflow-wrap:anywhere;font-size:.87rem;font-weight:800}
body.ordi02 .size-sort-row .size-measure{color:#5128c5;background:#e9deff;border-radius:8px;padding:4px 8px;font-size:.81rem;font-weight:900;white-space:nowrap}
body.ordi02 .size-sort-row .size-move{width:34px;height:34px;background:#fff;border:1px solid #cbb9ff;color:#5c29d4;border-radius:9px;display:grid;place-items:center;padding:0;flex-shrink:0}
body.ordi02 .size-sort-row .size-move:disabled{opacity:.35;cursor:not-allowed}
body.ordi02 .size-actions{display:flex;gap:10px;margin-top:15px;flex-wrap:wrap}
body.ordi02 .size-btn,body.ordi02 .size-reset{border:0;border-radius:100px;background:#683be8;color:white;padding:11px 18px;font-weight:900;font-size:.88rem;cursor:pointer}
body.ordi02 .size-reset{background:#f0eaff;border:1px solid #d4c2ff;color:#5c30ce}
body.ordi02 .size-feedback{min-height:1.4em;margin:11px 0 0!important;color:#534e76;font-weight:800;line-height:1.55;font-size:.89rem}
body.ordi02 .size-feedback.good{color:#167a4f}
body.ordi02 .size-feedback.bad{color:#ad4257}
body.ordi02 .size-usb-files{display:grid;gap:8px}
body.ordi02 .size-usb-files label{display:flex;align-items:center;gap:8px;background:#f9f7ff;padding:9px 11px;border-radius:10px;border:1px solid #eee7ff;font-size:.82rem;cursor:pointer}
body.ordi02 .size-usb-files label span{flex:1;min-width:0;overflow-wrap:anywhere}
body.ordi02 .size-usb-files label strong{color:#5432ae;white-space:nowrap}
body.ordi02 .size-usb-files input{accent-color:#6532de;width:17px;height:17px;flex-shrink:0}
body.ordi02 .size-meter-top{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#4d4672;font-size:.84rem;margin:17px 0 7px}
body.ordi02 .size-meter{width:100%;height:18px;border-radius:100px;background:#e8e0f4;overflow:hidden;border:1px solid #d5cafa}
body.ordi02 .size-meter>span{display:block;height:100%;width:0;background:linear-gradient(90deg,#2cc593,#6c46e8);border-radius:100px;transition:width .25s,background .25s}
body.ordi02 .size-meter.overflow>span{background:#e35365}
body.ordi02 .size-explorer{border:1px solid #dfdded;background:#fbfbff;border-radius:18px;overflow:hidden}
body.ordi02 .size-explorer-title{background:#e9e1ff;color:#4d2caf;font-weight:900;padding:12px 17px;font-size:.87rem}
body.ordi02 .size-properties-files{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:16px}
body.ordi02 .size-properties-files button{border:1px solid #dfd5f8;background:#fff;text-align:left;border-radius:11px;padding:11px 12px;color:#332b69;font-size:.85rem;font-weight:850;overflow-wrap:anywhere}
body.ordi02 .size-properties-files button[aria-pressed="true"]{border-color:#663be5;background:#f1eaff;box-shadow:inset 0 0 0 1px #663be5}
body.ordi02 .size-properties-detail{border-top:1px solid #e7dff5;padding:14px 18px;color:#514e6a;font-size:.88rem;min-height:75px;line-height:1.55}
body.ordi02 .size-choices{border:0;padding:0;margin:18px 0 0;display:flex;flex-wrap:wrap;gap:10px}
body.ordi02 .size-choices legend{display:block;font-weight:900;margin-bottom:10px;font-size:.93rem}
body.ordi02 .size-choices label{background:#f5f1ff;border:1px solid #e4dafa;border-radius:10px;padding:9px 11px;cursor:pointer;font-size:.84rem}
body.ordi02 .size-choices input{accent-color:#6c42e7}
body.ordi02 .size-endnote{background:#fff8e0;border:1px solid #f5e2a2;border-radius:16px;padding:17px 21px;margin-top:20px;line-height:1.65;color:#67521c}
body.ordi02 .files-folders-section{background:#fff;padding-top:60px}
body.ordi02 .files-folders-section .concept-card{padding:29px}
@media(max-width:800px){body.ordi02 .size-challenges{grid-template-columns:1fr}body.ordi02 .size-challenge:last-child{grid-column:auto}body.ordi02 .size-units{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:530px){body.ordi02 .size-challenge{padding:18px}body.ordi02 .size-unit{padding:15px}body.ordi02 .size-unit>strong{font-size:1.7rem}body.ordi02 .size-sort-row{gap:5px;padding:8px 6px}body.ordi02 .size-sort-row .size-move{width:30px;height:30px}body.ordi02 .size-sort-row .size-filelabel{font-size:.78rem}body.ordi02 .size-properties-files{grid-template-columns:1fr}body.ordi02 .size-choices{flex-direction:column}}
@media(prefers-reduced-motion:reduce){body.ordi02 .size-meter>span{transition:none}}
