/* IASSOL — CPHQ preparation platform (English edition): styles of mock-exam.html. Version 0.1 of 12/02/2026.
   Loaded after engine.css and site.css (their colors and classes are reused; neither file is modified). */
.m-barre{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 12px;font-size:.92rem}
.m-temps{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}
.k-btn.m-petit{min-height:36px;padding:6px 10px;font-size:.85rem}
.m-alerte{margin:6px 0;min-height:0;font-weight:700;color:var(--rouge)}
.m-alerte:empty{margin:0}
.m-enonce{font-size:1.05rem;line-height:1.45;margin:14px 0 8px;overflow-wrap:anywhere}
.m-num{color:var(--doux);font-weight:700}
.m-examen .k-choix{overflow-wrap:anywhere}
.m-nav{margin-top:8px}
.m-nav .k-btn{margin:4px 6px 4px 0}
#b-saut{font-size:1.15rem;min-width:52px}
.k-btn.m-danger{background:var(--rouge)}
.k-btn[aria-pressed=true].m-petit{background:var(--vert);color:#fff}
.m-grille{list-style:none;padding:0;margin:8px 0;display:grid;grid-template-columns:repeat(auto-fill,minmax(44px,1fr));gap:6px}
.m-case{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:1px solid var(--bord);border-radius:8px;background:var(--carte);color:var(--txt);font:inherit;font-size:.88rem;cursor:pointer;padding:0 4px}
.m-case.m-rep{background:var(--vertpale);border-color:var(--vert)}
.m-case.m-mark{box-shadow:0 0 0 2px var(--ambre) inset;background-image:linear-gradient(135deg,var(--ambre) 0 9px,transparent 9px)}
.m-case.m-cour{outline:3px solid var(--bleu);outline-offset:1px}
.m-case:focus-visible{outline:3px solid var(--bleu);outline-offset:2px}
.m-legende .m-case{min-width:28px;min-height:28px;cursor:default;margin:0 4px 0 10px;vertical-align:middle}
.m-legende .m-case:first-child{margin-left:0}
.m-liste{display:flex;flex-wrap:wrap;gap:6px}
.m-calc{border:1px solid var(--bord);border-radius:12px;padding:10px;margin:10px 0;max-width:300px;background:var(--fond)}
.m-ecran{display:block;width:100%;box-sizing:border-box;font:inherit;font-size:1.15rem;text-align:right;padding:8px;border-radius:8px;border:1px solid var(--bord);background:var(--carte);color:var(--txt);min-height:44px}
.m-res{min-height:1.3em;margin:4px 0;font-size:.88rem;color:var(--doux);text-align:right;overflow-wrap:anywhere}
.m-touches{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.m-touches button{min-height:44px;font:inherit;font-size:1.05rem;border:1px solid var(--bord);border-radius:8px;background:var(--carte);color:var(--txt);cursor:pointer}
.m-touches button.m-egal{grid-column:1/-1;background:var(--vert);color:#fff;border-color:var(--vert)}
.m-touches button:focus-visible,.m-ecran:focus-visible{outline:3px solid var(--bleu);outline-offset:2px}
.m-revue{padding-left:0;list-style:none}
.m-item{border-bottom:1px solid var(--bord);padding:10px 0}
.m-item .enonce{overflow-wrap:anywhere}
.m-opts{list-style:none;padding:0;margin:6px 0}
.m-opts li{border:1px solid var(--bord);border-radius:8px;padding:6px 10px;margin:4px 0;overflow-wrap:anywhere}
.m-opts li.bon{border-color:var(--vert);background:var(--vertpale)}
.m-opts li.faux{border-color:var(--rouge);background:var(--rougepale)}
.m-choix{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:0 16px}
@media (max-width:420px){.m-choix{grid-template-columns:1fr}.s-page{padding:10px}}
@media print{.m-nav,.m-calc,#m-grille{display:none}}
