/* Only the administrator preview is affected. Reuse the existing classroom palette. */
body.mp-pilot-preview article>.mova-learning-header,body.mp-pilot-preview form:has(#llms_mark_complete){display:none}
.mp-pilot{min-width:0;overflow-wrap:anywhere}
.mp-pilot-note{padding:12px 16px;border:1px solid var(--line);border-radius:12px;font-size:13px;color:var(--muted)}
.mp-pilot .mova-learning-header{margin-bottom:20px}
.mp-pilot-progress{margin-bottom:28px}
.mp-pilot-progress p{font-size:13px;margin-bottom:8px}
.mp-pilot-progress progress{display:block;width:100%;height:8px;border:0;border-radius:10px;overflow:hidden;accent-color:var(--green)}
.mp-pilot-progress progress::-webkit-progress-bar{background:#e3eadb}
.mp-pilot-progress progress::-webkit-progress-value{background:var(--green)}
.mp-pilot-step{min-height:210px}
.mp-pilot .mp-pilot-step h2{font-size:clamp(1.4rem,3vw,1.9rem);margin:0 0 20px;line-height:1.25;scroll-margin-top:30px}
.mp-pilot-scene,.mp-pilot-placeholder{padding:26px;border:1px solid var(--line);border-radius:20px;background:#eaf0dc}
.mp-pilot-scene>p:not(.subtle):not(.eyebrow){font-size:21px;line-height:1.55}
.mp-pilot-placeholder{background:white}
.mp-pilot-placeholder p:last-child,.mp-pilot-scene p:last-child{margin-bottom:0}
.mp-pilot .mp-vocab-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.mp-pilot .mp-com-card strong{font-size:22px}
.mp-pilot .mp-com-card .listen{min-height:44px;margin:10px 0}
.mp-pilot .mp-com-card .listen:disabled{cursor:default;opacity:.6}
.mp-pilot .mp-com-card summary{font-size:14px;min-height:44px;padding:10px 0}
.mp-pilot .mp-com-card details p{margin:8px 0 0;font-size:17px;line-height:1.5}
.mp-com-audio-status{display:block;font-size:12px}
.mp-com-audio-status:empty{display:none}
.mp-translation-hide,details[open] .mp-translation-show{display:none}
details[open] .mp-translation-hide{display:inline}
.mp-pilot-controls{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:28px;padding-top:20px;border-top:1px solid var(--line)}
.mp-pilot-controls button{min-height:48px}
.mp-pilot-controls button:disabled{opacity:.45;cursor:default}
@media(max-width:600px){.mp-pilot .mp-vocab-grid{grid-template-columns:1fr}.mp-pilot .mp-com-card{padding:20px}.mp-pilot-scene,.mp-pilot-placeholder{padding:20px}.mp-pilot-scene>p:not(.subtle):not(.eyebrow){font-size:19px}.mp-pilot-controls .button{padding:13px 20px}.mp-pilot-step{min-height:190px}}
.mp-exercises{background:white;border:1px solid var(--line);border-radius:20px;padding:26px}
.mp-exercises h3{font-size:22px;line-height:1.4;letter-spacing:-.02em;scroll-margin-top:45px}
.mp-exercise-notice{padding:12px 15px;background:#faf2df;border-radius:10px;font-size:13px}
.mp-exercise-stimulus{font-size:21px;line-height:1.5;padding:16px;background:#edf3e5;border-radius:12px}
.mp-exercise-answer{margin:18px 0}
.mp-exercise-answer fieldset{border:0;margin:0;padding:0;min-width:0}
.mp-exercise-answer legend{font-size:14px;font-weight:650;margin-bottom:12px}
.mp-exercise-answer label{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:12px;padding:14px;margin-bottom:10px;min-height:52px;cursor:pointer}
.mp-exercise-answer label:has(:checked){background:#edf3e5;border-color:var(--green)}
.mp-exercise-answer input{flex-shrink:0;accent-color:var(--green)}
.mp-exercises button{min-height:44px;white-space:normal}
.mp-exercises button:disabled{opacity:.45;cursor:default}
.mp-token-chosen,.mp-token-bank{display:flex;gap:9px;flex-wrap:wrap;padding:14px;border-radius:12px}
.mp-token-chosen{min-height:78px;border:1px dashed #7e9b73;background:#f2f6eb;margin-bottom:12px;align-items:center}
.mp-token-bank{border:1px solid var(--line)}
.mp-token-bank .button,.mp-token-chosen .button{padding:10px 16px;border:1px solid var(--line);background:white}
.mp-exercise-feedback:empty{display:none}
.mp-exercise-feedback{padding:16px;margin-top:20px;border-radius:12px;background:#faf2df}
.mp-exercise-feedback[data-correct=true]{background:#eaf0dc}
.mp-exercise-feedback p:last-child,.mp-exercise-feedback ul:last-child{margin-bottom:0}
.mp-exercise-nav{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap;margin:24px 0 14px;border-top:1px solid var(--line);padding-top:20px}
@media(max-width:600px){.mp-exercises{padding:18px}.mp-exercises h3{font-size:20px}.mp-exercise-nav{flex-direction:column}.mp-exercise-nav button{width:100%}.mp-token-chosen,.mp-token-bank{padding:10px;gap:7px}}

/* Stage 6 simulation: same card and button vocabulary as the lesson. */
.mp-simulation .mp-sim-options{display:grid;gap:12px;margin:20px 0}
.mp-simulation .mp-sim-options button{text-align:left;white-space:normal;overflow-wrap:anywhere;min-height:48px}
.mp-simulation .mp-sim-speech{font-size:1.2rem;font-weight:600}
.mp-simulation .mp-sim-score{font-weight:700}
.mp-simulation [data-sim-feedback]{padding:12px 0;overflow-wrap:anywhere}
.mp-simulation [data-sim-feedback][data-correct="false"]{color:#843800}
.mp-simulation [data-sim-feedback][data-correct="true"]{color:#176542}

.mp-final-test fieldset{border:0;padding:0;margin:20px 0;min-width:0}
.mp-final-test legend{font-weight:700;margin-bottom:16px}
.mp-final-option{display:flex;gap:12px;align-items:center;border:1px solid #d7e0d8;border-radius:16px;padding:16px;margin:12px 0;cursor:pointer}
.mp-final-option input{flex:0 0 auto;width:20px;height:20px}
.mp-final-option:has(input:checked){background:#e5efe4;border-color:#245d47}
.mp-final-nav{display:flex;flex-wrap:wrap;gap:12px}
.mp-final-nav button{white-space:normal;min-height:48px}
.mp-final-stimulus{font-size:1.2rem;font-weight:600}
.mp-dialogue-line{padding:16px 0;border-bottom:1px solid #d7e0d8}
.mp-pilot-dialogue{margin-bottom:32px}
[data-final-result] li{margin:16px 0;overflow-wrap:anywhere}

.mp-review-library{margin:20px 0;padding:16px;border:1px solid #d7e0d8;border-radius:16px}
.mp-com-reviews{margin:24px 0;padding:20px;border:1px solid #d7e0d8;border-radius:16px}
.mp-review-library .mp-com-reviews{padding:0;border:0}
.mp-review-card{padding:18px 0;border-bottom:1px solid #d7e0d8;overflow-wrap:anywhere}
.mp-review-card strong{display:block;font-size:1.1rem}
.mp-review-card button{margin:10px 8px 4px 0;white-space:normal;min-height:44px}

.mp-pilot-audio { display:flex; flex-wrap:wrap; align-items:center; gap:.6rem; margin:.6rem 0; }
.mp-audio-speed label { display:flex; flex-wrap:wrap; align-items:center; gap:.6rem; }
.mp-audio-speed select { width:auto; max-width:100%; padding:.5rem; }

/* Preserve complete scenes and pointing gestures at every screen width. */
.mp-pilot-image{margin:18px 0;max-width:100%}
.mp-pilot-image img,.mp-exercises img{display:block;width:100%;height:auto;max-height:520px;object-fit:contain;border-radius:14px}
.mp-pilot-image figcaption{margin-top:8px;font-size:14px}
.mp-com-card .mp-pilot-image img{max-height:260px}

/* Stage 11A: short practice, touch gestures with click and keyboard alternatives. */
.mp-pilot [hidden]{display:none!important}
.mp-pilot .mp-card-deck{display:block;max-width:660px;margin-inline:auto}
.mp-card-deck .mp-com-card{width:100%;min-height:210px}
.mp-practice-controls{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}
.mp-practice-controls button,.mp-picture-practice button{min-height:44px;white-space:normal;max-width:100%}
.mp-card-front{padding:12px 0}
.mp-recall-cue{font-size:1.4rem;font-weight:650}
.mp-self-record,.mp-picture-practice{border:1px solid var(--line);border-radius:16px;padding:18px;margin:24px 0}
.mp-self-record summary,.mp-picture-practice summary{cursor:pointer;font-weight:650;min-height:44px}
.mp-self-record audio{width:100%;max-width:440px}
.mp-picture-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0}
.mp-picture-tile{border:1px solid var(--line);border-radius:14px;padding:12px;min-width:0;background:#fffcf6}
.mp-picture-tile img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;border-radius:10px}
.mp-picture-tile strong{display:block;font-size:1.2rem;margin:10px 0}
.mp-picture-tile button{width:100%;padding:10px;font-size:14px}
.mp-picture-tile summary{font-size:14px}
.mp-blank-line{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:1.25rem;margin-bottom:18px}
.mp-answer-drop{border:2px dashed #698775;border-radius:14px;padding:16px;min-height:64px;min-width:160px;max-width:100%;background:#eef4eb;overflow-wrap:anywhere}
.mp-draggable{touch-action:none;cursor:grab!important;user-select:none}
.mp-draggable:active{cursor:grabbing!important}
.mp-drop-over{outline:3px solid #285d48;outline-offset:2px;background:#e0eddb!important}
.mp-drag-ghost{position:fixed;z-index:10000;transform:translate(-50%,-110%);pointer-events:none;background:#23513e;color:white;padding:12px 18px;border-radius:12px;box-shadow:0 5px 20px #0003;max-width:80vw;font-size:18px}
.mp-token-bank button[aria-pressed=true]{background:#dcebd7;border:2px solid #285d48}
.mp-picture-practice .mp-token-bank{margin-top:12px}
@media(max-width:400px){.mp-picture-grid{gap:8px}.mp-picture-tile{padding:8px}.mp-self-record,.mp-picture-practice{padding:12px}.mp-picture-tile button{font-size:13px}}
