/* Short, optional concept interactions. One learner action; no score side effects. */
.mq-discovery{background:#fcfaf7;border:1px solid #d9cae6;border-radius:16px;padding:17px 15px 16px;margin:17px 0 4px;color:#342542;max-width:100%;overflow:hidden;font-family:system-ui,sans-serif;box-shadow:0 2px 4px #3e20570a}
.mq-discovery .mq-discovery-prompt{font-family:Georgia,serif;font-size:clamp(20px,2.7vw,24px);line-height:1.3;margin-bottom:11px;color:#31213e}
.mq-discovery .mq-discovery-narration{font-size:13px;line-height:1.55;color:#5b5264;margin:10px 0!important;min-height:38px}
.mq-discovery-action{display:block;width:100%;min-height:46px;background:#653896!important;border:1px solid #653896!important;color:white!important;border-radius:10px!important;font-size:14px!important;font-weight:750!important;padding:11px 13px!important;cursor:pointer}
.mq-discovery-action:hover{background:#512779!important}
.mq-discovery-action:focus-visible{outline:3px solid #378e7c;outline-offset:3px}
.mq-discovery-scene{min-height:95px;max-width:440px;margin:auto;position:relative;text-align:center}
.mq-movers-heading{font-size:11px;color:#715d84;margin-bottom:0;text-align:center}.mq-mover-stage{height:205px;position:relative;width:100%;overflow:hidden}
.mq-mover-piece{display:grid;place-items:center;position:absolute;top:0;left:0;border:1px solid #74499c;border-radius:6px;background:#b99bd9;color:#492275;font-size:12px;font-weight:800;transition:left .65s cubic-bezier(.22,1,.36,1),top .65s cubic-bezier(.22,1,.36,1);will-change:left,top}
.mq-mover-label{position:absolute;opacity:0;font-weight:800;font-size:12px;color:#593580;white-space:nowrap;transition:opacity .25s .4s}
.mq-revealed .mq-mover-label{opacity:1}
.mq-counters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;max-width:300px;margin:14px auto}.mq-counter{display:block;width:27px;height:27px;border-radius:50%;background:#b99bd9;border:2px solid #825aa9;margin:auto;transition:background .35s,transform .35s}.mq-revealed .mq-counter:nth-child(-n+8){background:#4ca89a;border-color:#31877b;transform:scale(1.08)}.mq-revealed .mq-counter:nth-child(n+9){opacity:.45}
.mq-hundred{width:min(216px,100%);aspect-ratio:1;margin:12px auto;display:grid;grid-template-columns:repeat(10,1fr);grid-template-rows:repeat(10,1fr);gap:2px}.mq-hundred i{border-radius:2px;border:1px solid #e1d5eb;background:#fff}.mq-hundred i.filled{background:#b9a0d7;border-color:#a889cb;transition:background .4s}.mq-revealed .mq-hundred i.filled{background:#4eaa99;border-color:#238573}
.mq-scene-result{color:#593a78;font-size:15px;font-weight:650;margin:10px auto 6px;line-height:1.5;opacity:0;transform:translateY(5px);transition:opacity .3s,transform .3s}.mq-revealed .mq-scene-result{opacity:1;transform:translateY(0)}
.mq-mini-fraction{display:inline-flex;vertical-align:middle;flex-direction:column;align-items:center;line-height:1.05;font-size:21px}.mq-mini-fraction span:first-child{border-bottom:2px solid currentColor;padding:0 5px 3px}.mq-mini-fraction span:last-child{padding:3px 5px 0}
.mq-meters{padding:12px 5px}.mq-meter-line{display:grid;grid-template-columns:52px minmax(0,1fr);gap:10px;align-items:center;margin:12px auto;max-width:370px}.mq-meter-name{font-size:14px;font-weight:800;color:#613a82}.mq-meter-track{height:29px;border:1px solid #c7b3d5;border-radius:8px;background:repeating-linear-gradient(to right,#fff 0,#fff calc(10% - 1px),#e5dce9 calc(10% - 1px),#e5dce9 10%);overflow:hidden}.mq-meter-fill{height:100%;width:0;background:#8f66b6;transition:width .7s}.mq-meter-fill.alt{background:#c8addd}.mq-revealed .mq-meter-fill{background:#4b9e90}.mq-revealed .mq-meter-fill.alt{background:#aa83c8}
.mq-checkpoint{display:flex;align-items:center;justify-content:center;gap:20px;min-height:95px;font-size:25px;color:#5f3689}.mq-check-answer{display:inline-flex;align-items:center;gap:5px;opacity:.2;filter:blur(3px);transition:opacity .3s,filter .3s}.mq-revealed .mq-check-answer{opacity:1;filter:none}
.mq-lengths{display:flex;gap:4px;justify-content:center;align-items:center;margin:15px 0}.mq-length{min-width:0;max-width:97px;flex:1;background:#d1bae7;color:#553381;border:2px solid #8a65a9;border-radius:5px;font-weight:700;font-size:15px;padding:17px 3px 13px}.mq-length span{display:block;opacity:0;font-size:12px;margin-top:4px;transition:opacity .3s}.mq-revealed .mq-length{background:#c2e2d9;border-color:#53a290;color:#205d51}.mq-revealed .mq-length span{opacity:1}
.mq-time-line{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:23px auto 11px;max-width:380px}.mq-time-segment{border-top:4px solid #baa0d2;padding-top:13px;color:#5b3a7b;font-size:13px;font-weight:800;position:relative}.mq-time-segment:before{content:'';position:absolute;left:0;top:-8px;width:12px;height:12px;border-radius:50%;background:#9c75be}.mq-time-segment span{display:block;font-size:10px;opacity:0;color:#337f70;margin-top:7px;transition:opacity .3s}.mq-revealed .mq-time-segment span{opacity:1}.mq-revealed .mq-time-segment{border-top-color:#53a698}
.mq-angle-svg{max-width:260px;width:100%;height:145px;display:block;margin:7px auto}.mq-angle-moving{transform-origin:65px 112px;transform:rotate(0);transition:transform .8s cubic-bezier(.2,.8,.2,1)}.mq-revealed .mq-angle-moving{transform:rotate(-90deg)}.mq-angle-corner,.mq-angle-label{opacity:0;transition:opacity .3s .5s}.mq-revealed .mq-angle-corner,.mq-revealed .mq-angle-label{opacity:1}
.mq-symmetry{display:block;width:100%;max-width:250px;margin:4px auto}.mq-symmetry-half{opacity:.3;transition:opacity .5s,fill .5s}.mq-revealed .mq-symmetry-half{opacity:1;fill:#57aa98}
.mq-sum-visual .mq-hundred{width:180px}.mq-sum-visual .mq-hundred i.filled:nth-child(-n+30){background:#b79bd4}.mq-sum-visual .mq-hundred i.filled:nth-child(n+31){background:#d8bee9}.mq-revealed .mq-sum-visual .mq-hundred i.filled{background:#53aa9a}.mq-sum-labels{display:flex;justify-content:space-around;font-size:11px;font-weight:750;color:#674b7c}
@media(prefers-reduced-motion:reduce){.mq-discovery *, .mq-discovery *:before,.mq-discovery *:after{transition:none!important;animation:none!important}}
.no-motion .mq-discovery *, .no-motion .mq-discovery *:before,.no-motion .mq-discovery *:after{transition:none!important;animation:none!important}
@media(max-width:440px){.mq-discovery{padding:15px 11px}.mq-discovery .mq-discovery-prompt{font-size:21px}.mq-time-segment{font-size:11px}.mq-time-segment span{font-size:9px}.mq-meters{padding:6px 0}}
/* Positively framed mastery feedback, integrated with the existing results view. */
.mq-mastery-summary{margin:18px 0 10px;padding:19px 20px;border:1px solid #d8c2e8;border-radius:16px;background:#f5eefb;color:#422957}
.mq-mastery-summary.achieved{background:#edf7f3;border-color:#afd5ca}
.mq-mastery-summary .mq-mastery-count{font-size:15px;font-weight:800;margin-bottom:7px;color:#52347a}
.mq-mastery-summary.achieved .mq-mastery-count{color:#236955}
.mq-mastery-summary p{font-size:15px;line-height:1.6;margin:6px 0 10px}
.mq-mastery-summary small{display:block;font-size:12px;color:#685b73;line-height:1.6}
.support-panel .mq-mastery-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.support-panel .mq-mastery-actions button{flex:1;min-width:180px}
.mq-mastery-progress{height:9px;background:#e6d9ef;border-radius:30px;overflow:hidden;margin:11px 0}.mq-mastery-progress span{display:block;height:100%;background:#764a9d;border-radius:30px;max-width:100%}

/* Quiet, visually clear result state: one next step; no punitive red or duplicate banners. */
.mq-mastered-panel{max-width:780px;margin:18px auto 26px}
.mq-mastered-panel .mq-mastery-summary{background:#f5eefb;border-color:#d6bde6;padding:22px 20px}
.mq-mastered-panel .mq-mastery-summary.achieved{background:#edf7f3;border-color:#b3dacf}
.mq-mastered-panel .mq-mastery-summary h2{font-family:Georgia,serif;font-size:clamp(25px,4vw,34px);line-height:1.2;font-weight:400;margin:13px 0 10px;color:#382644}
.mq-mastered-panel .mq-mastery-summary .mq-mastery-count{font-size:12px;letter-spacing:.04em;color:#60417c}
.mq-mastered-panel .mq-mastery-summary.achieved .mq-mastery-count{color:#276954}
.mq-mastered-panel .mq-mastery-progress{position:relative;height:10px;margin:15px 0 18px}
.mq-mastered-panel .mq-mastery-progress i{position:absolute;left:80%;height:100%;width:2px;top:0;background:#3e2c51;border-radius:2px}
.mq-mastered-panel .mq-mastery-actions{align-items:stretch}
.mq-mastered-panel .mq-mastery-note{font-size:12px;line-height:1.6;margin:14px 0}

.mq-movers-heading{font-size:13px!important;text-align:left!important;margin-bottom:10px!important;color:#5b416e}.quarter-legend-sample{vertical-align:middle}
