/* Styles limités au quiz mobile, sans modifier les autres activités. */
.mq{font-size:1rem;color:#182a39;max-width:740px;margin:auto;overflow-wrap:anywhere;line-height:1.55}
.mq *{box-sizing:border-box}.mq p{margin:12px 0}.mq h3{font-size:1.3rem;line-height:1.3;margin:0 0 16px}.mq h4{font-size:1.05rem;line-height:1.4;margin:18px 0 8px}
.mq-top{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-weight:700;color:#234e60}
.mq-help{font-size:.95rem;color:#4d6470}.mq-card{background:#fff;border:1px solid #c2d4dc;border-radius:16px;padding:20px;margin-top:14px}
.mq-situation{background:#edf5f8;border-left:4px solid #287386;padding:12px 15px;border-radius:6px}.mq-question{font-weight:700}
.mq button{font:inherit;cursor:pointer;min-height:48px;border-radius:10px;padding:12px 16px;white-space:normal;max-width:100%}
.mq button:focus-visible{outline:3px solid #9b4a05;outline-offset:3px}.mq [tabindex="-1"]{scroll-margin-top:20px}.mq button:disabled{cursor:default}
.mq-choice{width:100%;display:flex;gap:12px;align-items:center;text-align:left;background:#fff;color:#182a39;border:2px solid #bfced5;margin-top:12px;line-height:1.45}
.mq-letter{font-weight:750;min-width:24px}.mq-selected{background:#e9f4f7;border-color:#125568}.mq-correct{border-color:#24754b;background:#edf8f0}.mq-wrong{border-color:#a34b36;background:#fff1ed}
.mq-primary,.mq-secondary{width:100%;margin-top:16px;font-weight:700}.mq-primary{background:#125568;color:#fff;border:2px solid #125568}.mq-primary:disabled{background:#586e77;border-color:#586e77;color:#fff}.mq-primary[hidden]{display:none}.mq-secondary{background:#fff;color:#234a5c;border:1px solid #9eafb8}
.mq-feedback{background:#f8fbfc;border:1px solid #b9ced6;border-radius:14px;padding:18px;margin-top:20px}.mq-status{color:#125568}.mq-example{border-left:3px solid #b18028;padding-left:13px;margin:16px 0}.mq-memo{background:#e5f2ec;border-radius:8px;padding:12px;color:#22583a}
@media(max-width:480px){.mq{font-size:17px}.mq-card{padding:14px}.mq-choice{padding:12px}.mq-feedback{padding:13px}}

/* Matrice C5 : support validé, limité au moteur mobile. */
.mq .tool{margin:18px 0;padding:12px;border:2px solid #416478;border-radius:12px;background:#fff}.mq .tool h3{font-size:1rem;margin:4px 0 10px}.mq .tool p{font-size:.9rem;line-height:1.4}.mq .axis-key{display:grid;gap:8px;font-size:.86rem;line-height:1.4}.mq .axis-key>div{background:#eef4f7;padding:9px;border-radius:7px}.mq .risk-matrix{border-collapse:collapse;table-layout:fixed;width:100%;font-size:.75rem;margin:8px 0}.mq .risk-matrix th,.mq .risk-matrix td{border:2px solid white;text-align:center;padding:8px 2px;overflow-wrap:anywhere}.mq .risk-matrix th{background:#e8eff3;color:#182a39;font-weight:700}.mq .risk-matrix th:first-child{width:27%}.mq .risk-matrix td{font-weight:800;color:#172b32}.mq .risk-matrix .urgent{background:#f58b67}.mq .risk-matrix .planned{background:#a5dbd0}.mq .risk-matrix td.reveal{outline:3px solid #152d3c;outline-offset:-4px}.mq .legend{display:grid;gap:6px;font-size:.84rem;line-height:1.4}.mq .legend>div{border-radius:6px;padding:8px;color:#182a39}.mq .urgent-label{background:#f58b67}.mq .planned-label{background:#a5dbd0}.mq .flow{width:100%;border-collapse:collapse;font-size:.8rem;line-height:1.3}.mq .flow th,.mq .flow td{border:1px solid #b7c8d1;text-align:left;padding:6px}.mq .tool details{margin:8px 0}.mq .tool summary{font-weight:700;font-size:.88rem}.mq .tool .disclaimer{font-size:.76rem;line-height:1.35;color:#445e6a}.mq .axis-title{font-size:.9rem;font-weight:750;color:#12394a;text-align:center}.mq .guided{background:#fff0df;border:2px solid #b04a21;border-radius:8px;padding:10px;line-height:1.5}.mq .mini-note{font-size:.84rem;line-height:1.4}.mq .course-switch{display:flex;gap:8px;margin:14px 0}.mq .course-switch button{flex:1}.mq .course-switch .active{background:#125568;color:white}@media(max-width:360px){.mq .tool{padding:8px;margin-left:-6px;margin-right:-6px}.mq .risk-matrix{font-size:.72rem}.mq .risk-matrix th,.mq .risk-matrix td{padding:8px 1px}.mq .axis-key{font-size:.82rem}}

/* Repères PAD, uniquement dans le moteur mobile. */
.mq .pad-repere{border:1px solid #bbccd4;border-radius:10px;background:#f1f7f8;padding:10px 12px;margin:16px 0}.mq .pad-repere summary{font-size:.9rem;font-weight:700;cursor:pointer;min-height:44px;display:list-item;align-content:center}.mq .pad-repere summary:focus-visible{outline:3px solid #9b4a05;outline-offset:3px}.mq .pad-repere dl{font-size:.9rem;line-height:1.4}.mq .pad-repere dt{font-weight:750;margin-top:9px;color:#125568}.mq .pad-repere dd{margin:2px 0 0}

/* Repères AT, trajet, MP : uniquement moteur mobile. */
.mq .repere{background:#f5f8fb;border:1px solid #bdccd8;border-radius:10px;padding:10px 12px}.mq .repere summary{font-weight:700;font-size:.9rem;min-height:44px;align-content:center}.mq .rbox{border-left:5px solid;padding:10px;margin:10px 0;line-height:1.45;font-size:.9rem}.mq .at{border-color:#166d87;background:#e8f4f8}.mq .trajet{border-color:#8a5c04;background:#fff3d9}.mq .mp{border-color:#7444a6;background:#f4edfb}.mq .frise{list-style:none;padding:0;counter-reset:step}.mq .frise li{counter-increment:step;border-left:3px solid #37768a;padding:9px 10px;margin:8px 0;background:#eaf3f7;font-size:.88rem;line-height:1.4}.mq .frise li:before{content:counter(step) ' · ';font-weight:800}.mq .limite{font-size:.8rem;line-height:1.4;color:#49606d}
.mq .repere summary:focus-visible{outline:3px solid #9b4a05;outline-offset:3px}
