/* Mise en page propre au contenu. Composants visuels : socle SI / PneuLab.
   Structure du parcours : didacticiel-mobilites.css. */
[hidden]{display:none!important}
.ec-question .answer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:12px}
.ec-question .answer{display:flex;align-items:center;gap:12px;text-align:left;overflow:hidden;min-height:80px;padding:14px}
.ec-option-letter{flex:0 0 27px;height:27px;display:grid;place-items:center;border-radius:50%;background:var(--paper);color:var(--muted)}
math{font-family:"Cambria Math","STIX Two Math",serif;font-size:1.22em;line-height:1.8}
.ec-question math{font-size:1.35em}
.ec-transform{display:grid;justify-items:center;gap:10px;margin:18px 0;padding:18px;border:1px solid var(--line);border-radius:12px;background:var(--paper)}
.ec-transform math{font-size:1.8em}
.ec-operation{color:var(--primary-color);font-weight:700;text-align:center}
.ec-missing{border:2px dashed var(--line);padding:12px 20px;border-radius:10px;color:var(--muted);text-align:center}
.ec-question-scene{width:100%;max-height:160px;margin:14px 0}
.ec-question-scene text{font-family:var(--font-family);font-size:15px;fill:var(--ink)}
.ec-givens{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;padding:16px;margin:16px 0;background:var(--paper);border-radius:10px}
.ec-givens span{padding:6px}
.ec-question input{width:150px;max-width:100%}
.ec-question .feedback{min-height:0}
.ec-question .feedback:empty{display:none}
.ec-question details{margin-top:12px}
.ec-conclusion .equations{font-family:inherit;white-space:normal}
.ec-lab input[type=range]{width:100%;padding:0}
.ec-lab svg{max-height:290px}
.ec-lab text{font-family:var(--font-family)}
.ec-readout{font-variant-numeric:tabular-nums;min-height:3.3em}
.ec-lab button{margin:4px}
.ec-note{color:var(--muted)}
#reset{margin-top:16px}
#lesson h2:focus{outline:none}
.ec-summary li{margin:12px 0}
.ec-lab{min-width:0;margin-inline:0}
.ec-completed{padding:12px 16px;margin:10px 0;border:1px solid var(--line);border-radius:10px;background:var(--panel-bg)}
.ec-completed summary,.ec-math-help summary,.ec-bonus summary{cursor:pointer;font-weight:700}
.ec-stage{font-weight:700;color:var(--muted);margin-top:0}
.ec-observe{color:var(--muted)}
.ec-formula-line{font-size:1.25rem;line-height:2;padding:12px;margin:12px 0;background:var(--paper);border-radius:10px;overflow-wrap:anywhere}
.ec-math-lines{padding-left:24px}.ec-math-lines li{margin:20px 0}.ec-math-lines p{margin-bottom:6px}
.ec-conclusion h3{font-size:1.1rem;font-weight:600;line-height:1.7}
.ec-final li{margin:12px 0}
@media(max-width:560px){.footer{flex-wrap:wrap}}
@media print{.ec-question[hidden],.ec-conclusion[hidden]{display:block!important}.ec-lab button,.ec-lab input{display:none}}
