.q13-form,.q13-menu{display:grid;gap:.65rem;min-width:0}
.q13-form{padding:.7rem;background:#f5f2fc;border-radius:12px}
.q13-form label{display:grid;gap:.25rem;font-weight:650}
.q13-form :is(input,textarea){width:100%;min-width:0;padding:.5rem;border:1px solid #a9a2be;border-radius:7px;font:inherit;background:white;color:#18172e}
.q13-save{width:100%;margin-top:.45rem}
.q13-level-list{list-style:none;padding:0;line-height:1.7}
.q13-course{display:block!important;position:relative;width:88%;height:5px!important;background:#d6ccea;border-radius:10px;margin:20px auto 3px}
.q13-course>i{display:block;width:var(--place);height:100%;border-radius:inherit;background:#7646cf}
.q13-course .q13-runner{position:absolute;left:var(--place);bottom:0;line-height:1!important;font-size:22px!important;transform:translateX(-50%) scaleX(-1);transition:left .45s ease}
.q13-track{height:auto;min-height:7.4rem}
.q13-track>small{white-space:normal}
.q13-gloss{display:inline!important;padding:0!important;margin:0!important;min-height:0!important;width:auto!important;line-height:inherit!important;font:inherit!important;color:#4d2a90!important;background:transparent!important;border:0!important;border-bottom:1px dotted #7444b1!important;border-radius:0!important;text-align:inherit;cursor:pointer}
.q13-choice-note{font-size:.86em;margin:-2px 0 .25rem 1.8rem;overflow-wrap:anywhere}
.q13-choice-note small{color:#645777}
.q13-card,.q13-placement blockquote{background:#f8f7fc;border:1px solid #ded7ec;border-radius:10px;margin:.6rem 0;padding:.75rem;overflow-wrap:anywhere}
.q13-card p{margin:.35rem 0}
.q13-card-actions,.q13-bank-actions{display:flex;gap:.45rem;align-items:center;flex-wrap:wrap}
.q13-card-actions{margin-top:.5rem}
.q13-card-actions button,.q13-menu button{border:1px solid #c4bbda;background:white;color:#33265a;border-radius:8px;min-height:36px;padding:.4rem .7rem;font:inherit}
.q13-card-actions label{margin-right:auto}
.q13-placement .mq-dialog-body,.q13-bank .mq-dialog-body{display:block;overflow:auto;max-height:75dvh}
.q13-placement .mq-dialog-body>button,.q13-placement details,.q13-placement .q13-menu{margin:.5rem 0}
.q13-menu button{text-align:left;overflow-wrap:anywhere}
.q13-menu button[aria-pressed=true]{border-color:#6336bf;background:#efe9ff;color:#421a8a;box-shadow:inset 0 0 0 1px #6336bf}
.q13-phase{color:#493a72;font-weight:700}
.q13-range{font-size:1.45rem;font-weight:750;color:#48349a}
.q13-gloss:focus-visible,.q13-card:focus-visible{outline:2px solid #462597;outline-offset:2px}
@media(prefers-reduced-motion:reduce){.q13-runner{transition:none!important}}
@media(max-width:550px){.q13-placement .mq-dialog-body,.q13-bank .mq-dialog-body{max-height:72dvh}.q13-card-actions button{min-height:40px}.q13-track{min-height:0}}

.q13-target-number{min-width:0;width:100%;padding:.45rem .65rem;border-radius:9px;border:1px solid #c5bfd7;background:white;color:#161d3a;font:inherit}

.q13-use-goal{padding:.35rem .6rem;border:1px solid #ccc2e5;border-radius:7px;background:#faf7ff;color:#493078;font:inherit;font-size:.85rem;justify-self:end}

/* Exercises share a single reading size, including the answer editor and hints. */
[data-quiz-font] { --quiz-text:1rem; }
[data-quiz-font="small"] { --quiz-text:.875rem; }
[data-quiz-font="large"] { --quiz-text:1.25rem; }
[data-quiz-font="extra"] { --quiz-text:1.5rem; }
[data-quiz-font] :is(.v1-source-scroll,.v1-source-empty,.mq-question>strong,.v1-answer-list [data-v1-choice],.v1-answer-text textarea,.v1-tokens button,.v1-tokens>.v1-muted,.mq-hint-text) {
  font-size:var(--quiz-text); line-height:1.5; overflow-wrap:anywhere;
}
[data-quiz-font] .q13-choice-note {font-size:calc(var(--quiz-text) * .9)}
.v1-zone-head .mq-font-control { display:inline-flex; align-items:center; gap:4px; flex:none; color:#38405b; font-size:.75rem; white-space:nowrap; }
.mq-font-control select { font:inherit; min-height:30px; padding:2px 3px; color:#31265a; background:white; border:1px solid #c9c5dc; border-radius:6px; }
.v1-audio-script {margin:.45em 0}
.v1-audio-script summary {cursor:pointer; color:#4f4380;}
.v1-answer-list.mq-letter-grid {display:grid; grid-template-columns:repeat(auto-fit,minmax(52px,1fr)); gap:6px;}
.mq-letter-grid [data-v1-choice] {position:relative; justify-content:center; min-height:44px; text-align:center;}
.mq-letter-grid [data-v1-choice].chosen {box-shadow:inset 0 0 0 2px #6751c6; color:#442a84;}
.mq-letter-grid [data-v1-choice].chosen::after {content:''; position:absolute; right:5px; top:5px; border-radius:50%; width:6px; height:6px; background:#6751c6;}
.q13-track .q-goal-tick {white-space:nowrap;}
.q13-track .q12-ticks .q-goal-cup {font-size:max(14px,1.12em); vertical-align:-.04em; margin-inline-end:.13em;}

/* The app, website and device shortcuts all use the MANABIQUEST runner. */
body.v1-active .q-header .q-brand .mq-app-icon {
  width:clamp(32px,calc(47 * var(--u)),46px);
  height:auto; aspect-ratio:1; object-fit:contain; border-radius:50%; flex:none;
}
.mq-update-dialog {
  width:min(350px,calc(100% - 32px)); max-height:80dvh; overflow:auto;
  border:1px solid #d2cae3; border-radius:16px; padding:20px;
  background:#fff; color:#151c3d; box-shadow:0 12px 48px #141a3d35;
}
.mq-update-dialog::backdrop {background:#10163372}
.mq-update-dialog h2 {font-size:1.2rem; margin:0 0 .75rem}
.mq-update-dialog p {font-size:.95rem; line-height:1.55; margin:.75rem 0 1rem}
.mq-update-actions,.mq-update-banner {display:flex; align-items:center; flex-wrap:wrap; gap:8px}
.mq-update-actions button,.mq-update-banner button {min-height:40px;padding:.4rem .75rem}
.mq-update-banner {
  position:fixed; z-index:45; left:50%; transform:translateX(-50%);
  bottom:calc(max(50px,88 * var(--u)) + env(safe-area-inset-bottom) + 8px);
  width:max-content; max-width:calc(100% - 18px); padding:10px 12px;
  background:#fff; color:#151c3d; border:1px solid #cdc3e2; border-radius:12px;
  box-shadow:0 4px 22px #12183230; font-size:.85rem;
}
