/* Otoolia — QCM en ligne (côté élève) */
.qe-intro .qe-steps { padding-left: 1.2em; line-height: 1.6; }
.qe-bad { padding: 10px 14px; border-radius: 10px; background: #fff4e5; color: #8a4b00; border: 1px solid #f3c27a; }
.qe { max-width: 760px; margin: 0 auto; }
body.qe-on #guide, body.qe-on .ot-related, body.qe-on .qe-intro { display: none !important; }
.qe-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 6px; }
.qe-head h1 { margin: 0; font-size: 1.6rem; flex: 1 1 auto; }
.qe-sub { width: 100%; margin: 0; color: var(--ot-text-soft); }
.qe-badge { padding: 3px 10px; border-radius: 999px; background: var(--ot-surface-2); border: 1px solid var(--ot-border); font-weight: 700; font-size: .9rem; }
.qe-instr { padding: 10px 14px; border-left: 4px solid var(--ot-brand); background: var(--ot-surface-2); border-radius: 6px; }
.qe-id { display: flex; flex-wrap: wrap; gap: 10px 16px; margin: 14px 0; }
.qe-id label { display: flex; flex-direction: column; gap: 4px; font-size: .9rem; font-weight: 600; flex: 1 1 220px; }
.qe-hint { color: var(--ot-text-soft); font-size: .92rem; }
.qe-part { font-size: 1.15rem; margin: 22px 0 6px; }
.qe-q { border: 1px solid var(--ot-border); border-radius: 12px; padding: 12px 14px 10px; margin: 0 0 12px; background: var(--ot-surface); }
.qe-q legend { padding: 0 4px; font-weight: 600; line-height: 1.45; }
.qe-q.is-ok { border-color: #16a34a; box-shadow: inset 4px 0 0 #16a34a; }
.qe-q.is-ko { border-color: #dc2626; box-shadow: inset 4px 0 0 #dc2626; }
.qe-n { color: var(--ot-brand); margin-right: 4px; }
.qe-pts, .qe-multi { font-weight: 400; color: var(--ot-text-soft); }
.qe-mark { font-weight: 800; margin-left: 6px; }
.is-ok .qe-mark { color: #16a34a; } .is-ko .qe-mark { color: #dc2626; }
.qe-a { display: flex; align-items: flex-start; gap: 10px; padding: 9px 10px; margin: 4px 0; border-radius: 10px; cursor: pointer; border: 1px solid transparent; }
.qe-a:hover { background: var(--ot-surface-2); }
.qe-a input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--ot-brand); }
.qe-a:has(input:checked) { border-color: var(--ot-brand); background: color-mix(in srgb, var(--ot-brand) 8%, transparent); }
.qe-l { font-weight: 700; color: var(--ot-text-soft); min-width: 1.2em; }
.qe-end { margin: 18px 0 40px; text-align: center; }
.qe-prog { color: var(--ot-text-soft); }
.qe-result { padding: 18px; border: 1px solid var(--ot-border); border-radius: 14px; background: var(--ot-surface); text-align: left; }
.qe-result h2 { margin-top: 0; }
.qe-score { font-size: 2.4rem; font-weight: 800; margin: 4px 0; color: var(--ot-brand); }
.qe-result textarea { width: 100%; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .85rem; word-break: break-all; }
.qe-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.qe-qr { margin-top: 8px; }
.qe-small { font-size: .85rem; color: var(--ot-text-soft); }
.qe-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #111827; color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 60; font-size: .92rem; }
