/* Isolé : aucun style global sur les exercices historiques */
.mt-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:22px 0 26px}.mt-card{display:flex;flex-direction:column;gap:8px;padding:21px 23px;border:1px solid #d9dfe5;border-radius:9px;background:#fff;color:#22384b;text-decoration:none!important;box-sizing:border-box}.mt-card--progress{background:#f8f4ea;border-color:#e5d8ba}.mt-card strong{font-size:1.12rem;line-height:1.4}.mt-card span{font-size:1rem;line-height:1.55}.mt-card:hover,.mt-card:focus-visible{border-color:#7395b0;text-decoration:none!important}
.mt-root{margin:0 0 30px}.mt-root p{line-height:1.65}.mt-root [hidden]{display:none!important}.mt-controls{padding:20px 0;border-top:1px solid #e0e5e9;border-bottom:1px solid #e0e5e9;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.mt-controls label{display:flex;flex-direction:column;gap:6px;font-size:.95rem;font-weight:600;color:#314659}.mt-controls select{box-sizing:border-box;width:100%;min-height:42px;border:1px solid #cbd5dc;border-radius:5px;padding:7px;background:#fff;color:#273747;font:inherit}.mt-controls .mt-check{grid-column:1/-1;display:flex;flex-direction:row;align-items:center;font-weight:400}.mt-actions{grid-column:1/-1;display:flex;gap:12px;flex-wrap:wrap}.mt-root button{font:inherit;cursor:pointer;border:1px solid #23557c;border-radius:5px;background:#23557c;color:#fff;padding:11px 17px;box-shadow:none}.mt-root button.mt-secondary{background:#fff;color:#23557c}.mt-root button:disabled{opacity:.55;cursor:default}.mt-root button:focus-visible,.mt-card:focus-visible{outline:3px solid #80a8c8;outline-offset:2px}.mt-root #mt-alert{margin:12px 0;color:#8b351e}.mt-root #mt-play{margin:25px 0}.mt-progress-label{display:flex;justify-content:space-between;gap:12px;color:#284b68}.mt-progress{height:9px;background:#e8edf1;border-radius:9px;overflow:hidden;margin:10px 0 24px}.mt-progress>div{height:100%;background:#3978a4;width:0;transition:width .15s}.mt-question{font-size:1.1rem;font-weight:600;margin-bottom:14px;color:#263f53}.mt-question img{display:block;max-width:100%;max-height:230px;object-fit:contain;margin:12px auto;border:1px solid #e4e8ea;border-radius:4px}.mt-options{display:grid;gap:9px;margin:15px 0}.mt-options button{text-align:left;background:#fff;color:#253d50;border:1px solid #cbd6de}.mt-options button:hover:not(:disabled){background:#edf4f8}.mt-options button.mt-right{background:#e7f4eb;border-color:#87b49a}.mt-options button.mt-wrong{background:#fbeceb;border-color:#d9a5a0}.mt-feedback{padding:14px 16px;border:1px solid #d8e1e6;background:#f8fafb;border-radius:5px;margin:12px 0 16px;line-height:1.6}.mt-root #mt-summary,.mt-root #mt-statistics{margin:22px 0;padding:18px;border:1px solid #dbe2e7;border-radius:6px}.mt-stat-cards{display:flex;gap:15px;flex-wrap:wrap;margin:15px 0}.mt-stat-cards>div{flex:1;min-width:120px;padding:14px;background:#f4f7f9;text-align:center}.mt-stat-cards strong{display:block;font-size:1.4rem;color:#27587b}.mt-table-wrap{overflow-x:auto}.mt-root table{width:100%;border-collapse:collapse;font-size:.94rem}.mt-root th,.mt-root td{padding:10px 8px;border-bottom:1px solid #e4e9ed;text-align:center}.mt-root th{background:#f4f7f9;color:#2b475d}.mt-root tr:last-child td{border-bottom:0}@media(max-width:700px){.mt-nav{grid-template-columns:1fr}.mt-controls{grid-template-columns:1fr}.mt-card{padding:16px}.mt-actions{flex-direction:column}.mt-actions button{width:100%}}

/* V1.1 - Sélecteurs plus discrets, réponses en deux colonnes sur écran large. */
.mt-root .mt-controls select{font-size:15px;font-weight:400;line-height:1.4;}
.mt-root .mt-options{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;}
.mt-root .mt-options button{width:100%;height:100%;min-width:0;}
@media(max-width:600px){.mt-root .mt-options{grid-template-columns:1fr;}}

/* V1.2 - Statistiques épurées : aucun impact sur les autres disciplines. */
.mt-root #mt-statistics{padding:22px;border-color:#dbe4eb;border-radius:8px;}
.mt-root #mt-statistics h3{margin:0 0 18px;color:#243e53;font-size:1.18rem;}
.mt-root #mt-statistics .mt-stat-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 20px;}
.mt-root #mt-statistics .mt-stat-cards>div{min-width:0;padding:15px 10px;background:#f0f6fa;border:1px solid #e3edf3;border-radius:6px;color:#455a69;font-size:.93rem;line-height:1.55;}
.mt-root #mt-statistics .mt-stat-cards strong{font-size:1.5rem;line-height:1.3;color:#24597d;}
.mt-root #mt-statistics .mt-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;}
.mt-root #mt-statistics table{width:100%;min-width:490px;border:0;border-collapse:collapse;font-size:.93rem;}
.mt-root #mt-statistics th,.mt-root #mt-statistics td{border:0;border-bottom:1px solid #e2e9ee;padding:12px 10px;text-align:center;vertical-align:middle;}
.mt-root #mt-statistics th{background:#f1f6f9;color:#2a4960;font-weight:600;}
.mt-root #mt-statistics tbody tr:nth-child(even){background:#fafcfd;}
.mt-root #mt-statistics tbody tr:last-child td{border-bottom:0;}
.mt-root #mt-statistics th:first-child,.mt-root #mt-statistics td:first-child{text-align:left;}
.mt-root #mt-statistics .mt-stat-result{font-weight:600;color:#24597d;white-space:nowrap;}
@media(max-width:600px){.mt-root #mt-statistics{padding:15px 12px;}.mt-root #mt-statistics .mt-stat-cards{gap:7px;}.mt-root #mt-statistics .mt-stat-cards>div{padding:12px 5px;font-size:.79rem;}.mt-root #mt-statistics .mt-stat-cards strong{font-size:1.22rem;}}
