/* Maths Practice Studio 6.73.0 */
#mps-app{
  --navy:#17315f;--blue:#245fbd;--blue2:#3f7dde;--sky:#edf5ff;--ink:#172033;
  --muted:#667085;--line:#dbe5f2;--card:#ffffff;--green:#198754;--amber:#b77900;
  --red:#b42318;--soft-red:#fff1f0;--soft-green:#edf9f2;--soft-amber:#fff8e8;
  font-family:Arial,Helvetica,sans-serif;color:var(--ink);
  background:linear-gradient(180deg,#edf6ff 0%,#f8fbff 48%,#edf3fa 100%);
  padding:20px 12px 56px;min-height:100vh;box-sizing:border-box
}
#mps-app *{box-sizing:border-box}
#mps-app .mps-shell{max-width:1180px;margin:0 auto}
#mps-app .mps-hero{
  position:relative;overflow:hidden;border-radius:28px;padding:30px;
  background:linear-gradient(135deg,#17315f 0%,#245fbd 58%,#10254a 100%);
  color:#fff;box-shadow:0 20px 48px rgba(29,78,150,.24)
}
#mps-app .mps-hero:before,#mps-app .mps-hero:after{
  content:"";position:absolute;border-radius:50%;background:rgba(255,255,255,.08)
}
#mps-app .mps-hero:before{width:240px;height:240px;right:-88px;top:-110px}
#mps-app .mps-hero:after{width:130px;height:130px;right:130px;bottom:-75px}
#mps-app .mps-kicker{font-size:12px;letter-spacing:1.7px;text-transform:uppercase;font-weight:800;color:#dbeafe;margin:0 0 10px}
#mps-app h1{font-size:clamp(31px,5vw,50px);line-height:1.06;margin:0 0 12px;font-weight:900}
#mps-app .mps-hero h1{color:#ffd84d;text-shadow:0 2px 10px rgba(0,0,0,.22)}
#mps-app .mps-hero p{max-width:780px;font-size:17px;line-height:1.65;margin:0;color:#eef6ff}
#mps-app .mps-badges{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}
#mps-app .mps-badge{padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.22);font-size:13px;font-weight:700}
#mps-app .mps-layout{display:grid;grid-template-columns:330px 1fr;gap:20px;margin-top:20px}
#mps-app .mps-panel,#mps-app .mps-card{background:var(--card);border:1px solid #e2eaf4;border-radius:22px;box-shadow:0 10px 30px rgba(32,62,105,.09)}
#mps-app .mps-panel{padding:18px;align-self:start;position:sticky;top:18px}
#mps-app .mps-panel h2{font-size:21px;margin:0 0 14px}
#mps-app .mps-field{margin:0 0 14px}
#mps-app label{display:block;font-weight:800;margin-bottom:7px;font-size:14px}
#mps-app input[type="text"],#mps-app input[type="number"],#mps-app select{
  width:100%;border:1px solid #cfd9e8;border-radius:12px;padding:12px 13px;
  background:#fff;color:var(--ink);font-size:16px;outline:none
}
#mps-app input:focus,#mps-app select:focus{border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.15)}
#mps-app .mps-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#mps-app .mps-check{display:flex;align-items:center;gap:9px;font-weight:700;font-size:14px;margin:9px 0}
#mps-app .mps-check input{width:18px;height:18px}
#mps-app .mps-btn{appearance:none;border:0;border-radius:13px;padding:12px 15px;font-weight:800;font-size:15px;cursor:pointer;transition:.2s transform,.2s box-shadow,.2s opacity}
#mps-app .mps-btn:hover{transform:translateY(-1px)}
#mps-app .mps-btn:disabled{opacity:.55;cursor:not-allowed;transform:none}
#mps-app .mps-primary{background:linear-gradient(135deg,#245fbd,#17315f);color:#fff;box-shadow:0 8px 18px rgba(35,86,168,.24)}
#mps-app .mps-secondary{background:#edf4ff;color:#173b7a;border:1px solid #cfe0fb}
#mps-app .mps-danger{background:#fff2f1;color:#9f2d26;border:1px solid #f3c7c4}
#mps-app .mps-full{width:100%}
#mps-app .mps-actions{display:grid;gap:9px;margin-top:12px}
#mps-app .mps-progress-wrap{background:#dbe7f4;height:12px;border-radius:999px;overflow:hidden;margin:14px 0 8px}
#mps-app .mps-progress{height:100%;width:0;background:linear-gradient(90deg,#22c55e,#16a34a);transition:width .3s}
#mps-app .mps-mini{font-size:13px;color:var(--muted);line-height:1.5}
#mps-app .mps-main{display:grid;gap:18px}
#mps-app .mps-status{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
#mps-app .mps-stat{background:#fff;border:1px solid #e1e8f2;border-radius:16px;padding:14px;text-align:center;box-shadow:0 6px 18px rgba(32,62,105,.06)}
#mps-app .mps-stat strong{display:block;font-size:21px;color:var(--navy)}
#mps-app .mps-stat span{font-size:12px;color:var(--muted);font-weight:700}
#mps-app .mps-stat.timer-ok{background:var(--soft-green);border-color:#b9e2c8}
#mps-app .mps-stat.timer-warning{background:var(--soft-amber);border-color:#efd991}
#mps-app .mps-stat.timer-danger{background:var(--soft-red);border-color:#efb7b2}
#mps-app .mps-empty{text-align:center;padding:46px 24px}
#mps-app .mps-empty h2{font-size:28px;margin:0 0 10px}
#mps-app .mps-empty p{color:var(--muted);line-height:1.65;max-width:650px;margin:0 auto 20px}
#mps-app .mps-question{overflow:hidden}
#mps-app .mps-qhead{display:flex;justify-content:space-between;gap:16px;padding:20px 22px;border-bottom:1px solid var(--line);align-items:center}
#mps-app .mps-qtitle{font-size:23px;font-weight:900}
#mps-app .mps-qmark{font-size:16px;font-weight:900;color:var(--red);white-space:nowrap}
#mps-app .mps-qbody{padding:24px 22px}
#mps-app .mps-prompt{font-size:21px;line-height:1.55;font-weight:800;margin:0 0 18px}
#mps-app .mps-answer-row{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end}
#mps-app .mps-answer-row .mps-btn{min-height:48px}
#mps-app .mps-feedback{margin-top:18px;display:none}
#mps-app .mps-feedback.show{display:block}
#mps-app .mps-answer-boxes{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:18px}
#mps-app .mps-answer-box{border-radius:13px;padding:15px;border:1px solid #e6ebf2;background:#f7f9fc;font-size:17px;line-height:1.5}
#mps-app .mps-answer-box.correct{background:var(--soft-green);border-color:#ccebdc}
#mps-app .mps-answer-box.incorrect{background:var(--soft-red);border-color:#efc2be}
#mps-app .mps-answer-box strong{display:block;margin-bottom:5px}
#mps-app .mps-solution-title{font-size:18px;color:#174b7a;font-weight:900;margin:0 0 10px}
#mps-app .mps-steps{margin:0;padding-left:25px}
#mps-app .mps-steps li{margin:0 0 9px;line-height:1.55;font-size:16px}
#mps-app .mps-mistake{border-left:5px solid #d34b42;background:#fff1ef;border-radius:8px;padding:13px 15px;margin-top:14px;font-size:15px}
#mps-app .mps-note{border-left:5px solid #2f70c0;background:#eef6ff;border-radius:8px;padding:13px 15px;margin-top:14px;font-size:15px}
#mps-app .mps-nav{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}
#mps-app .mps-dots{display:flex;gap:7px;flex-wrap:wrap;justify-content:center}
#mps-app .mps-dot{width:34px;height:34px;border-radius:9px;border:1px solid #d5dfec;background:#fff;font-weight:800;cursor:pointer}
#mps-app .mps-dot.active{background:#17315f;color:#fff;border-color:#17315f}
#mps-app .mps-dot.done{background:#e8f7ef;border-color:#9fdbba;color:#17643c}
#mps-app .mps-dot.flagged{box-shadow:inset 0 0 0 3px #f4b942}
#mps-app .mps-visual{margin:18px 0;padding:16px;border-radius:16px;background:#f7fbff;border:1px solid #dce9f7;min-height:230px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}
#mps-app .mps-cube-scene{width:230px;height:220px;perspective:760px;touch-action:none}
#mps-app .mps-cuboid{position:relative;width:120px;height:90px;transform-style:preserve-3d;transform:rotateX(-20deg) rotateY(35deg);margin:65px auto;transition:transform .05s linear}
#mps-app .mps-face{position:absolute;border:2px solid rgba(23,59,122,.7);background:rgba(66,133,244,.28);display:flex;align-items:center;justify-content:center;color:#10284f;font-weight:900;backface-visibility:visible}
#mps-app .front,.back{width:120px;height:90px}
#mps-app .front{transform:translateZ(40px)}
#mps-app .back{transform:rotateY(180deg) translateZ(40px)}
#mps-app .right,.left{width:80px;height:90px;left:20px}
#mps-app .right{transform:rotateY(90deg) translateZ(60px)}
#mps-app .left{transform:rotateY(-90deg) translateZ(60px)}
#mps-app .top,.bottom{width:120px;height:80px;top:5px}
#mps-app .top{transform:rotateX(90deg) translateZ(45px)}
#mps-app .bottom{transform:rotateX(-90deg) translateZ(45px)}
#mps-app .mps-dim{position:absolute;background:#fff;border:1px solid #cfd9e8;border-radius:999px;padding:5px 8px;font-size:12px;font-weight:800;box-shadow:0 3px 9px rgba(0,0,0,.08)}
#mps-app .mps-dim.l{bottom:12px;left:50%;transform:translateX(-50%)}
#mps-app .mps-dim.w{right:8px;top:50%;transform:translateY(-50%)}
#mps-app .mps-dim.h{left:8px;top:50%;transform:translateY(-50%)}
#mps-app .mps-visual-controls{position:absolute;right:10px;bottom:10px;display:flex;gap:6px}
#mps-app .mps-iconbtn{border:1px solid #cbd8e8;background:#fff;border-radius:9px;padding:7px 9px;font-weight:800;cursor:pointer}
#mps-app .mps-report{display:none;padding:22px}
#mps-app .mps-report.show{display:block}
#mps-app .mps-report-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:16px 0}
#mps-app .mps-report-card{border:1px solid #dce5f1;border-radius:15px;padding:15px;background:#f9fbfe}
#mps-app .mps-report-card strong{font-size:25px}
#mps-app .mps-topic-row{display:grid;grid-template-columns:1fr auto;gap:10px;padding:10px 0;border-bottom:1px solid #e5ebf3}
#mps-app .mps-student-summary{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;background:#f7faff;border:1px solid #dce6f2;border-radius:16px;padding:15px;margin:12px 0 18px}
#mps-app .mps-summary-item span{display:block;color:var(--muted);font-size:12px;font-weight:700;margin-bottom:4px}
#mps-app .mps-hidden{display:none!important}
@media(max-width:900px){
  #mps-app .mps-layout{grid-template-columns:1fr}
  #mps-app .mps-panel{position:static}
  #mps-app .mps-status{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:600px){
  #mps-app{padding:10px 8px 40px}
  #mps-app .mps-hero{padding:24px 18px;border-radius:20px}
  #mps-app .mps-two{grid-template-columns:1fr}
  #mps-app .mps-qhead{padding:16px}
  #mps-app .mps-qbody{padding:18px 16px}
  #mps-app .mps-qtitle{font-size:19px}
  #mps-app .mps-prompt{font-size:18px}
  #mps-app .mps-answer-row{grid-template-columns:1fr}
  #mps-app .mps-answer-boxes{grid-template-columns:1fr}
  #mps-app .mps-report-grid{grid-template-columns:1fr 1fr}
  #mps-app .mps-student-summary{grid-template-columns:1fr}
}

#mps-app .mps-test-panel{display:none;margin-top:18px;padding:18px;border:1px solid #d7e3f2;border-radius:18px;background:#f7fbff}
#mps-app .mps-test-panel.show{display:block}
#mps-app .mps-test-summary{font-weight:900;font-size:18px;margin-bottom:10px}
#mps-app .mps-test-pass{color:#17643c}
#mps-app .mps-test-fail{color:#a1261d}
#mps-app .mps-test-table{width:100%;border-collapse:collapse;font-size:13px}
#mps-app .mps-test-table th,#mps-app .mps-test-table td{padding:8px;border:1px solid #d8e2ef;text-align:left}

@media print{
  #mps-app .mps-hero,#mps-app .mps-panel,#mps-app .mps-nav,#mps-app .mps-answer-row,#mps-app .mps-status,#mps-app .mps-platform-footer,#mps-app .mps-report .mps-actions{display:none!important}
  #mps-app{background:#fff;padding:0}
  #mps-app .mps-layout{display:block}
  #mps-app .mps-card{box-shadow:none;border:1px solid #aaa}
}

#mps-app .mps-question-review{border:1px solid #dce5f1;border-radius:16px;margin:14px 0;overflow:hidden;background:#fff}
#mps-app .mps-question-review-head{display:flex;justify-content:space-between;gap:12px;padding:13px 15px;background:#f5f8fc;border-bottom:1px solid #dce5f1;font-weight:900}
#mps-app .mps-question-review-body{padding:15px}
#mps-app .mps-question-review-body p{margin:0 0 10px;line-height:1.55}
#mps-app .mps-review-answer{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px 0}
#mps-app .mps-review-box{padding:11px;border:1px solid #dde5ef;border-radius:11px;background:#f8fafc}
#mps-app .mps-review-box.good{background:#edf9f2;border-color:#c5e7d3}
#mps-app .mps-review-box.bad{background:#fff1f0;border-color:#efc4c0}
#mps-app .mps-review-steps{margin:8px 0 0;padding-left:23px}
#mps-app .mps-review-steps li{margin:0 0 7px;line-height:1.5}
@media(max-width:600px){#mps-app .mps-review-answer{grid-template-columns:1fr}}
@media print{
  @page{size:auto;margin:12mm}
  body{background:#fff!important}
  #mps-app .mps-report{display:block!important}
  #mps-app .mps-question-review{break-inside:avoid;page-break-inside:avoid}
  #mps-app .mps-question-review-head{background:#eee!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  #mps-app .mps-report-card,#mps-app .mps-student-summary,#mps-app .mps-review-box{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

.mps-hero .mps-hero-note{margin-top:12px;font-size:13px;line-height:1.55;color:#dbeafe;max-width:900px}

#mps-app .mps-visual-svg{min-height:240px;padding:12px}
#mps-app .mps-visual-svg svg{display:block;width:100%;max-width:520px;height:auto;max-height:260px}
#mps-app .mps-svg-shape{fill:#e9f2ff;stroke:#173b7a;stroke-width:5}
#mps-app .mps-svg-solid>*{fill:#e9f2ff;fill-opacity:.72;stroke:#173b7a;stroke-width:4;stroke-linejoin:round}
#mps-app .mps-svg-guide{fill:none;stroke:#b9cbe3;stroke-width:3}
#mps-app .mps-svg-arrow{fill:none;stroke:#173b7a;stroke-width:8;stroke-linecap:round}
#mps-app .mps-svg-label,#mps-app .mps-svg-key{font:700 18px system-ui,sans-serif;fill:#17243c}
#mps-app .mps-svg-scale{font:600 13px system-ui,sans-serif;fill:#42526b}
#mps-app .mps-svg-pattern{font:700 42px system-ui,sans-serif;fill:#173b7a}
#mps-app .mps-svg-tally{font:800 35px ui-monospace,monospace;letter-spacing:8px;fill:#173b7a}
#mps-app .mps-svg-icon{font:700 30px system-ui,sans-serif;fill:#173b7a}
#mps-app .mps-svg-axis,#mps-app .mps-svg-table{fill:none;stroke:#52657f;stroke-width:3}
#mps-app .mps-svg-bar{stroke-width:3;paint-order:stroke fill;print-color-adjust:exact;-webkit-print-color-adjust:exact}
#mps-app .mps-svg-bar-red{fill:#dc2626}
#mps-app .mps-svg-bar-blue{fill:#2563eb}
#mps-app .mps-svg-bar-green{fill:#16a34a}

@media print{
  #mps-app .mps-svg-bar{print-color-adjust:exact;-webkit-print-color-adjust:exact}
}

/* v3.3.0: clearer responsive data tables */
.mps-svg-table-row{fill:#f7faff;stroke:none}
.mps-svg-table-label{font-size:15px;letter-spacing:-.15px}
@media (max-width:480px){
  .mps-svg-table-label{font-size:14px}
}

/* v3.16.0: distinguish entered-but-unchecked questions from untouched questions. */
#mps-app .mps-dot.attempted{background:#fff3cd;border-color:#e2b94f;color:#6b4c00;box-shadow:inset 0 0 0 1px rgba(226,185,79,.25)}
#mps-app .mps-dot.active{background:#17315f;color:#fff;border-color:#17315f;box-shadow:none}

#mps-app .mps-save-help{margin:2px 2px 0;padding:8px 10px;border-radius:10px;background:#f7f9fc;color:#475569}


/* v3.22.1: multi-activity manager, button guide, and stability reliability fixes. */
#mps-app .mps-saved-manager{margin-top:10px;padding:12px;border:1px solid #d8e3f0;border-radius:14px;background:#fff}
#mps-app .mps-saved-manager h3{margin:0 0 9px;font-size:16px}
#mps-app .mps-saved-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 0;border-top:1px solid #e5ebf3}
#mps-app .mps-saved-item:first-child{border-top:0;padding-top:0}
#mps-app .mps-saved-item strong,#mps-app .mps-saved-item span,#mps-app .mps-saved-item em{display:block}
#mps-app .mps-saved-item span{font-size:12px;color:#56657a;margin-top:3px}
#mps-app .mps-saved-item em{font-size:11px;color:#9a3412;margin-top:3px}
#mps-app .mps-saved-item-actions{display:flex;gap:6px}
#mps-app .mps-saved-item-actions button{min-height:44px;border:1px solid #b9c9dc;border-radius:9px;padding:10px 12px;background:#eef4fb;color:#173b7a;font-weight:800;cursor:pointer}
#mps-app .mps-saved-item-actions .mps-saved-delete{background:#fff1f0;color:#9f241c;border-color:#efc6c2}
#mps-app .mps-saved-item-actions button:disabled{opacity:.45;cursor:not-allowed}
#mps-app .mps-button-guide{margin-top:22px}
#mps-app .mps-button-guide h2{margin-top:0}
#mps-app .mps-button-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#mps-app .mps-button-guide-grid article{padding:16px;border:1px solid #dce5f1;border-radius:14px;background:#f8fbff}
#mps-app .mps-button-guide-grid h3{margin-top:0;color:#173b7a}
#mps-app .mps-button-guide-grid p,#mps-app .mps-button-guide-grid li{line-height:1.6}
@media(max-width:700px){#mps-app .mps-button-guide-grid{grid-template-columns:1fr}#mps-app .mps-saved-item{grid-template-columns:1fr}#mps-app .mps-saved-item-actions{justify-content:flex-start}}
@media print{#mps-app .mps-button-guide{display:none!important}}

#mps-app .mps-svg-grid{fill:none;stroke:#d7e1ee;stroke-width:1}
#mps-app .mps-svg-number{font:600 14px system-ui,sans-serif;fill:#26364d}
#mps-app .mps-svg-value{font:800 14px system-ui,sans-serif;fill:#17243c}
#mps-app .mps-svg-caption{font:700 14px system-ui,sans-serif;fill:#42526b}
#mps-app details.mps-button-guide>summary{cursor:pointer;font-size:clamp(22px,3vw,32px);font-weight:750;color:#17243c;list-style-position:outside;padding:2px 0}
#mps-app details.mps-button-guide[open]>summary{margin-bottom:18px}
#mps-app details.mps-button-guide>summary:focus-visible{outline:3px solid #facc15;outline-offset:5px;border-radius:4px}

.mps-saved-item em.mps-saved-complete{color:#18723b;font-weight:700}.mps-saved-item em.mps-saved-progress{color:#8a5a00;font-weight:700}

/* v3.31.0: marked-question workflow, distinct navigator states and report diagnostics. */
#mps-app{
  --mps-not-visited:#ffffff;
  --mps-current:#17315f;
  --mps-visited:#dbeafe;
  --mps-answered:#fbbf24;
  --mps-marked:#f97316;
  --mps-correct:#198754;
  --mps-incorrect:#b42318;
}
#mps-app .mps-question-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px;padding:12px;border:1px solid #e1e8f2;border-radius:14px;background:#f8fbff}
#mps-app .mps-review-toggle{background:#fff7ed;color:#9a3412;border:1px solid #fdba74}
#mps-app .mps-review-toggle[aria-pressed="true"]{background:var(--mps-marked);border-color:#c2410c;color:#fff;box-shadow:0 7px 16px rgba(194,65,12,.22)}
#mps-app .mps-review-message{font-size:13px;line-height:1.45;color:#475569;flex:1;min-width:210px}
#mps-app .mps-nav{align-items:center}
#mps-app .mps-nav-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}
#mps-app .mps-dot{position:relative;display:inline-grid;place-items:center;width:38px;height:38px;border-radius:10px;border:2px solid #cbd5e1;background:var(--mps-not-visited);color:#172033;font-weight:900;line-height:1;box-shadow:none;transition:transform .15s,box-shadow .15s,background .15s,border-color .15s}
#mps-app .mps-dot:hover{transform:translateY(-1px)}
#mps-app .mps-dot.status-not-visited{background:var(--mps-not-visited);border-color:#cbd5e1;color:#172033}
#mps-app .mps-dot.status-current{background:var(--mps-current);border-color:var(--mps-current);color:#fff;box-shadow:0 0 0 3px rgba(23,49,95,.16)}
#mps-app .mps-dot.status-visited{background:var(--mps-visited);border-color:#93c5fd;color:#17315f}
#mps-app .mps-dot.status-answered{background:var(--mps-answered);border-color:#b77900;color:#3b2b00}
#mps-app .mps-dot.status-marked{background:var(--mps-marked);border-color:#c2410c;color:#fff}
#mps-app .mps-dot.status-correct{background:var(--mps-correct);border-color:#12643f;color:#fff;padding-right:12px}
#mps-app .mps-dot.status-incorrect{background:var(--mps-incorrect);border-color:#7f1d1d;color:#fff;padding-right:12px}
#mps-app .mps-dot.status-correct:after,#mps-app .mps-dot.status-incorrect:after{position:absolute;right:3px;bottom:2px;font-size:11px;font-weight:1000;line-height:1}
#mps-app .mps-dot.status-correct:after{content:"✓"}
#mps-app .mps-dot.status-incorrect:after{content:"✗"}
#mps-app .mps-dot.is-marked-current{outline:3px solid var(--mps-marked);outline-offset:2px}
#mps-app .mps-dot.is-marked-current:before{content:"";position:absolute;right:-3px;top:-3px;width:10px;height:10px;border-radius:50%;background:var(--mps-marked);border:2px solid #fff}
#mps-app .mps-status-key{display:flex;gap:8px 14px;flex-wrap:wrap;align-items:center;padding:12px 14px;border:1px solid #dbe5f2;border-radius:15px;background:#fff;box-shadow:0 5px 16px rgba(32,62,105,.05)}
#mps-app .mps-status-key span{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:750;color:#475569}
#mps-app .mps-status-key i{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:6px;border:2px solid #cbd5e1;font-style:normal;font-size:11px;font-weight:900}
#mps-app .mps-status-key i.not-visited{background:var(--mps-not-visited)}
#mps-app .mps-status-key i.current{background:var(--mps-current);border-color:var(--mps-current)}
#mps-app .mps-status-key i.visited{background:var(--mps-visited);border-color:#93c5fd}
#mps-app .mps-status-key i.answered{background:var(--mps-answered);border-color:#b77900}
#mps-app .mps-status-key i.marked{background:var(--mps-marked);border-color:#c2410c}
#mps-app .mps-status-key i.correct{background:var(--mps-correct);border-color:#12643f;color:#fff}
#mps-app .mps-status-key i.incorrect{background:var(--mps-incorrect);border-color:#7f1d1d;color:#fff}
#mps-app .mps-dialog-backdrop{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:18px;background:rgba(15,23,42,.64);backdrop-filter:blur(3px)}
#mps-app .mps-dialog-backdrop[hidden]{display:none!important}
#mps-app .mps-dialog{width:min(520px,100%);padding:24px;border-radius:20px;background:#fff;border:1px solid #dbe5f2;box-shadow:0 28px 70px rgba(15,23,42,.34)}
#mps-app .mps-dialog h2{margin:0 0 10px;font-size:25px;color:#7c2d12}
#mps-app .mps-dialog p{margin:0 0 20px;line-height:1.6;font-size:17px}
#mps-app .mps-dialog-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#mps-app .mps-dialog-actions #mps-submit-review{grid-column:1/-1}
#mps-app .mps-question-summary{margin:12px 0 20px}
#mps-app .mps-question-summary-legend{display:flex;gap:8px 14px;flex-wrap:wrap;margin-bottom:12px;font-size:13px;font-weight:800;color:#475569}
#mps-app .mps-question-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}
#mps-app .mps-question-summary-item{padding:12px;border:1px solid #dbe5f2;border-radius:13px;background:#f8fafc;line-height:1.45}
#mps-app .mps-question-summary-item strong{display:block;margin-bottom:3px}
#mps-app .mps-question-summary-item.correct{background:#edf9f2;border-color:#b7dfc7}
#mps-app .mps-question-summary-item.incorrect{background:#fff1f0;border-color:#efb7b2}
#mps-app .mps-question-summary-item.unanswered{background:#f8fafc;border-color:#cbd5e1}
#mps-app .mps-question-summary-item.marked{box-shadow:inset 5px 0 0 var(--mps-marked)}
#mps-app .mps-review-mark{display:inline-block;margin-left:8px;padding:3px 7px;border-radius:999px;background:#ffedd5;color:#9a3412;border:1px solid #fdba74;font-size:11px;font-weight:900;vertical-align:middle}
#mps-app .mps-review-box.unanswered{background:#f8fafc;border-color:#cbd5e1;color:#475569}
#mps-app .mps-teacher-support{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
#mps-app .mps-teacher-support>div{padding:13px;border-radius:12px;background:#f8fafc;border:1px solid #dbe5f2;line-height:1.5}
#mps-app .mps-teacher-support strong,#mps-app .mps-teacher-support span{display:block}
#mps-app .mps-teacher-support strong{margin-bottom:5px;color:#173b7a}
#mps-app .mps-teacher-support span{font-size:14px;color:#334155}
#mps-app .mps-report-support{margin:12px 0 0;padding:12px;border-radius:11px;background:#f7fbff;border:1px solid #d7e6f6}
#mps-app .mps-report-support p{margin:0 0 7px!important}
#mps-app .mps-report-support p:last-child{margin-bottom:0!important}
@media(max-width:760px){
  #mps-app .mps-nav{display:grid;grid-template-columns:1fr;justify-items:stretch}
  #mps-app .mps-dots{order:-1}
  #mps-app .mps-nav-actions{justify-content:stretch}
  #mps-app .mps-nav-actions .mps-btn,#mps-app .mps-nav>.mps-btn{flex:1}
  #mps-app .mps-teacher-support{grid-template-columns:1fr}
}
@media(max-width:520px){
  #mps-app .mps-dialog-actions{grid-template-columns:1fr}
  #mps-app .mps-dialog-actions #mps-submit-review{grid-column:auto}
  #mps-app .mps-nav-actions{display:grid;grid-template-columns:1fr}
}
@media print{
  #mps-app .mps-status-key,#mps-app .mps-dialog-backdrop,#mps-app .mps-question-tools{display:none!important}
  #mps-app .mps-question-summary-item,#mps-app .mps-review-mark,#mps-app .mps-report-support{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

/* v3.31.0: printable fraction-bar SVGs use both colour and a diagonal pattern. */
#mps-app .mps-svg-fraction-cell{stroke:#173b7a;stroke-width:2;shape-rendering:crispEdges}
#mps-app .mps-svg-fraction-filled{fill:url(#mps-fraction-pattern)}
#mps-app .mps-svg-fraction-empty{fill:#f8fbff}
#mps-app .mps-svg-fraction-label{font:800 18px system-ui,sans-serif;fill:#17243c}
@media print{
  #mps-app .mps-svg-fraction-filled,#mps-app .mps-svg-fraction-empty{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}


/* v3.32.0: Year 6 decimal learning visuals and clearer question context. */
#mps-app .mps-qmeta{margin-top:4px;font-size:12px;font-weight:750;letter-spacing:.02em;color:#64748b}
#mps-app .mps-svg-decimal-table{fill:#f8fbff;stroke:#173b7a;stroke-width:2}
#mps-app .mps-svg-decimal-grid{fill:none;stroke:#94a3b8;stroke-width:1.5}
#mps-app .mps-svg-decimal-highlight{fill:#fef3c7;stroke:#d97706;stroke-width:2}
#mps-app .mps-svg-decimal-heading{font:750 14px system-ui,sans-serif;fill:#334155}
#mps-app .mps-svg-decimal-digit{font:900 34px system-ui,sans-serif;fill:#17315f}
#mps-app .mps-svg-decimal-point{fill:#b42318}
#mps-app .mps-svg-decimal-axis,#mps-app .mps-svg-decimal-tick{fill:none;stroke:#173b7a;stroke-width:3;stroke-linecap:round}
#mps-app .mps-svg-decimal-node{fill:#facc15;stroke:#173b7a;stroke-width:2}
#mps-app .mps-svg-decimal-label{font:800 15px system-ui,sans-serif;fill:#17243c}
@media(max-width:520px){#mps-app .mps-qmeta{font-size:11px}#mps-app .mps-visual-svg svg{min-width:0;width:100%;height:auto}#mps-app .mps-visual-svg{overflow:visible}}
@media print{#mps-app .mps-svg-decimal-highlight,#mps-app .mps-svg-decimal-node{-webkit-print-color-adjust:exact;print-color-adjust:exact}}


/* v3.33.0: Year 6 percentage bars use equal 5% blocks, colour and pattern. */
#mps-app .mps-svg-percentage-cell{stroke:#173b7a;stroke-width:1.5;shape-rendering:crispEdges}
#mps-app .mps-svg-percentage-filled{fill:url(#mps-percentage-pattern)}
#mps-app .mps-svg-percentage-empty{fill:#f8fbff}
#mps-app .mps-svg-percentage-label{font:800 16px system-ui,sans-serif;fill:#17243c}
@media print{
  #mps-app .mps-svg-percentage-filled,#mps-app .mps-svg-percentage-empty{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}


/* v3.34.0: Year 6 algebra balance scales and function machines. */
#mps-app .mps-svg-algebra-beam,#mps-app .mps-svg-algebra-rope{fill:none;stroke:#17315f;stroke-width:7;stroke-linecap:round}
#mps-app .mps-svg-algebra-stand{fill:#cbd5e1;stroke:#17315f;stroke-width:3}
#mps-app .mps-svg-algebra-pan{fill:#eef6ff;stroke:#245fbd;stroke-width:3}
#mps-app .mps-svg-algebra-unknown{fill:#fef3c7;stroke:#b77900;stroke-width:3}
#mps-app .mps-svg-algebra-known{fill:#dbeafe;stroke:#245fbd;stroke-width:3}
#mps-app .mps-svg-algebra-total{fill:#dcfce7;stroke:#198754;stroke-width:3}
#mps-app .mps-svg-algebra-token{font:900 23px system-ui,sans-serif;fill:#17243c}
#mps-app .mps-svg-algebra-heading{font:900 20px system-ui,sans-serif;fill:#17315f}
#mps-app .mps-svg-algebra-equation{font:850 23px system-ui,sans-serif;fill:#17243c}
#mps-app .mps-svg-function-operation{fill:#dbeafe;stroke:#245fbd;stroke-width:3}
#mps-app .mps-svg-function-value{fill:#fff7ed;stroke:#f97316;stroke-width:3}
#mps-app .mps-svg-function-arrow{fill:none;stroke:#17315f;stroke-width:4;stroke-linecap:round}
#mps-app .mps-svg-function-text{font:900 21px system-ui,sans-serif;fill:#17315f}
#mps-app .mps-svg-function-number{font:900 27px system-ui,sans-serif;fill:#17243c}
#mps-app .mps-svg-function-label{font:800 15px system-ui,sans-serif;fill:#475569}
@media print{
  #mps-app .mps-svg-algebra-unknown,#mps-app .mps-svg-algebra-known,#mps-app .mps-svg-algebra-total,#mps-app .mps-svg-function-operation,#mps-app .mps-svg-function-value{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}


/* v3.35.0: Year 6 four-quadrant coordinate grids and transformations. */
#mps-app .mps-svg-coordinate-grid{fill:none;stroke:#dbe5f2;stroke-width:1;shape-rendering:crispEdges}
#mps-app .mps-svg-coordinate-grid.major{stroke:#b7c8df;stroke-width:1.5}
#mps-app .mps-svg-coordinate-axis{fill:none;stroke:#17315f;stroke-width:2.8;stroke-linecap:round}
#mps-app .mps-svg-coordinate-arrowhead{fill:#17315f}
#mps-app .mps-svg-coordinate-number{font:700 10px system-ui,sans-serif;fill:#52647d}
#mps-app .mps-svg-coordinate-label{font:900 15px system-ui,sans-serif;fill:#17315f}
#mps-app .mps-svg-coordinate-point{fill:#facc15;stroke:#17315f;stroke-width:2.5}
#mps-app .mps-svg-coordinate-point.image{fill:#86efac;stroke:#166534}
#mps-app .mps-svg-coordinate-point-label{font:900 12px system-ui,sans-serif;fill:#17243c;paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round}
#mps-app .mps-svg-coordinate-move{fill:none;stroke:#f97316;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}
#mps-app .mps-svg-coordinate-move.dashed{stroke-dasharray:7 6;stroke:#7c3aed}
#mps-app .mps-svg-coordinate-reflection{fill:none;stroke:#7c3aed;stroke-width:3;stroke-dasharray:8 6}
#mps-app .mps-svg-coordinate-shape{fill:rgba(37,95,189,.14);stroke:#245fbd;stroke-width:3;stroke-linejoin:round}
#mps-app .mps-svg-coordinate-shape.image{fill:rgba(22,163,74,.15);stroke:#16803e}
@media print{
  #mps-app .mps-svg-coordinate-point,#mps-app .mps-svg-coordinate-shape,#mps-app .mps-svg-coordinate-shape.image{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

/* v3.36.0: responsive Year 6 area, perimeter, volume and capacity diagrams. */
#mps-app .mps-svg-mensuration{display:block;width:min(100%,620px);height:auto;margin:0 auto;overflow:visible}
#mps-app .mps-svg-mensuration-face{stroke:#17315f;stroke-width:3;stroke-linejoin:round}
#mps-app .mps-svg-mensuration-height{fill:none;stroke:#7c3aed;stroke-width:3;stroke-dasharray:8 6}
#mps-app .mps-svg-mensuration-right{fill:none;stroke:#7c3aed;stroke-width:2.5}
#mps-app .mps-svg-mensuration-label{font:800 15px system-ui,sans-serif;fill:#17243c;paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round}
#mps-app .mps-svg-mensuration-heading{font:900 17px system-ui,sans-serif;fill:#17315f}
#mps-app .mps-svg-mensuration-cut{fill:#fff;stroke:#b42318;stroke-width:2.5;stroke-dasharray:7 5}
#mps-app .mps-svg-mensuration-cut-label{font:750 12px system-ui,sans-serif;fill:#9f241c}
#mps-app .mps-svg-mensuration-front{fill:#dbeafe;stroke:#17315f;stroke-width:3}
#mps-app .mps-svg-mensuration-top{fill:#eff6ff;stroke:#17315f;stroke-width:3;stroke-linejoin:round}
#mps-app .mps-svg-mensuration-side{fill:#bfdbfe;stroke:#17315f;stroke-width:3;stroke-linejoin:round}
#mps-app .mps-svg-mensuration-secondary .mps-svg-mensuration-front{fill:#dcfce7;stroke:#166534}
#mps-app .mps-svg-mensuration-secondary .mps-svg-mensuration-top{fill:#f0fdf4;stroke:#166534}
#mps-app .mps-svg-mensuration-secondary .mps-svg-mensuration-side{fill:#bbf7d0;stroke:#166534}
#mps-app .mps-svg-mensuration-cube{fill:#dbeafe;stroke:#245fbd;stroke-width:1.5;shape-rendering:crispEdges}
@media(max-width:520px){
  #mps-app .mps-svg-mensuration-label{font-size:13px}
  #mps-app .mps-svg-mensuration-heading{font-size:15px}
}
@media print{
  #mps-app .mps-svg-mensuration-face,#mps-app .mps-svg-mensuration-front,#mps-app .mps-svg-mensuration-top,#mps-app .mps-svg-mensuration-side,#mps-app .mps-svg-mensuration-cube{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}


/* v3.37.0: balanced saved-activity guide and Year 6 geometry diagrams. */
#mps-app .mps-button-guide-grid{grid-auto-rows:1fr;align-items:stretch}
#mps-app .mps-button-guide-grid article{height:100%;box-sizing:border-box;overflow-wrap:anywhere}
#mps-app .mps-button-guide-grid article>p:last-child{margin-bottom:0}
#mps-app .mps-svg-geometry-line{fill:none;stroke:#17315f;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
#mps-app .mps-svg-geometry-arc{fill:none;stroke:#d97706;stroke-width:4;stroke-linecap:round}
#mps-app .mps-svg-geometry-arc.unknown{stroke:#b42318;stroke-dasharray:7 5}
#mps-app .mps-svg-geometry-shape{fill:#eef6ff;stroke:#17315f;stroke-width:4;stroke-linejoin:round}
#mps-app .mps-svg-geometry-shape.regular{fill:#f0fdf4;stroke:#166534}
#mps-app .mps-svg-geometry-point{fill:#facc15;stroke:#17315f;stroke-width:2}
#mps-app .mps-svg-geometry-value{font:800 17px system-ui,sans-serif;fill:#17315f}
#mps-app .mps-svg-geometry-unknown{font:900 24px system-ui,sans-serif;fill:#b42318}
#mps-app .mps-svg-geometry-label{font:750 14px system-ui,sans-serif;fill:#334155}
#mps-app .mps-svg-geometry-tick,#mps-app .mps-svg-geometry-right,#mps-app .mps-svg-geometry-parallel{fill:none;stroke:#b42318;stroke-width:4;stroke-linecap:round}
#mps-app .mps-svg-geometry-highlight{fill:none;stroke:#d97706;stroke-width:6;stroke-linecap:round}
#mps-app .mps-svg-geometry-soft{fill:none;stroke:#64748b;stroke-width:2.5;stroke-dasharray:7 5}
#mps-app .mps-svg-geometry-net{fill:#eef6ff;stroke:#17315f;stroke-width:3}
#mps-app .mps-svg-geometry-symmetry{fill:none;stroke:#b42318;stroke-width:3;stroke-dasharray:8 6}
@media(max-width:700px){
  #mps-app .mps-button-guide-grid{grid-auto-rows:auto}
  #mps-app .mps-button-guide-grid article{height:auto;padding:15px}
  #mps-app details.mps-button-guide>summary{font-size:clamp(21px,6vw,28px);line-height:1.15}
}
@media print{
  #mps-app .mps-svg-geometry-shape,#mps-app .mps-svg-geometry-net,#mps-app .mps-svg-geometry-point{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

/* v3.38.0: Year 6 statistics charts and fully responsive learning diagrams. */
#mps-app .mps-svg-statistics{display:block;width:min(100%,680px);height:auto;margin:0 auto;overflow:visible}
#mps-app .mps-svg-stat-heading{font:900 19px system-ui,sans-serif;fill:#17315f}
#mps-app .mps-svg-stat-card{fill:#eef6ff;stroke:#245fbd;stroke-width:2.5}
#mps-app .mps-svg-stat-card.highlight{fill:#fef3c7;stroke:#d97706;stroke-width:3.5}
#mps-app .mps-svg-stat-number{font:900 22px system-ui,sans-serif;fill:#17243c}
#mps-app .mps-svg-stat-table-bg{fill:#fff;stroke:#17315f;stroke-width:2.5}
#mps-app .mps-svg-stat-table-head{fill:#dbeafe;stroke:#17315f;stroke-width:1.5}
#mps-app .mps-svg-stat-table-cell{fill:#fff;stroke:#94a3b8;stroke-width:1.2}
#mps-app .mps-svg-stat-table-cell.alternate{fill:#f8fbff}
#mps-app .mps-svg-stat-table-text{font:750 14px system-ui,sans-serif;fill:#26364d}
#mps-app .mps-svg-stat-table-text.heading{font-weight:900;fill:#17315f}
#mps-app .mps-svg-stat-axis{fill:none;stroke:#17315f;stroke-width:3.2;stroke-linecap:round}
#mps-app .mps-svg-stat-grid{fill:none;stroke:#d7e1ee;stroke-width:1.2}
#mps-app .mps-svg-stat-scale{font:700 13px system-ui,sans-serif;fill:#475569}
#mps-app .mps-svg-stat-line{fill:none;stroke:#2563eb;stroke-width:4;stroke-linejoin:round;stroke-linecap:round}
#mps-app .mps-svg-stat-point{fill:none;stroke:#b42318;stroke-width:3;stroke-linecap:round}
#mps-app .mps-svg-stat-value{font:900 14px system-ui,sans-serif;fill:#17243c;paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round}
#mps-app .mps-svg-stat-category{font:800 13px system-ui,sans-serif;fill:#334155}
#mps-app .mps-svg-stat-bar{stroke:#17315f;stroke-width:2;shape-rendering:crispEdges}
#mps-app .mps-svg-stat-bar-value{font:900 12px system-ui,sans-serif;fill:#fff;paint-order:stroke;stroke:#17243c;stroke-width:2px;stroke-linejoin:round}
#mps-app .mps-svg-stat-legend{font:800 14px system-ui,sans-serif;fill:#334155}
#mps-app .mps-svg-stat-legend-swatch{stroke:#17315f;stroke-width:1.5}
#mps-app .mps-svg-stat-sector{stroke:#fff;stroke-width:3;stroke-linejoin:round}
#mps-app .mps-svg-stat-sector-label{font:900 12px system-ui,sans-serif;fill:#fff;paint-order:stroke;stroke:#17243c;stroke-width:2.5px;stroke-linejoin:round}
@media(max-width:520px){
  #mps-app .mps-visual-svg{overflow:visible}
  #mps-app .mps-visual-svg svg{min-width:0;width:100%;max-width:100%;height:auto}
  #mps-app .mps-svg-stat-table-text{font-size:13px}
  #mps-app .mps-svg-stat-category,#mps-app .mps-svg-stat-legend{font-size:12px}
}
@media print{
  #mps-app .mps-svg-stat-card,#mps-app .mps-svg-stat-table-head,#mps-app .mps-svg-stat-table-cell,#mps-app .mps-svg-stat-bar,#mps-app .mps-svg-stat-sector,#mps-app .mps-svg-stat-legend-swatch{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}


/* v3.39.0: fitted SVG table labels and Year 7 Number visuals */
#mps-app .mps-svg-table-heading{font-weight:900;letter-spacing:0}
#mps-app .mps-svg-table-label{paint-order:stroke;stroke:#fff;stroke-width:2px;stroke-linejoin:round}
#mps-app .mps-svg-year7-number{display:block;width:min(100%,680px);height:auto;margin:0 auto;overflow:visible}
#mps-app .mps-svg-y7-axis{fill:none;stroke:#17315f;stroke-width:3.5;stroke-linecap:round}
#mps-app .mps-svg-y7-arrowhead{fill:#17315f}
#mps-app .mps-svg-y7-tick{stroke:#52647d;stroke-width:1.5}
#mps-app .mps-svg-y7-tick.major{stroke:#17315f;stroke-width:2.4}
#mps-app .mps-svg-y7-scale{font:750 12px system-ui,sans-serif;fill:#475569}
#mps-app .mps-svg-y7-move{fill:none;stroke:#f97316;stroke-width:4;stroke-linecap:round}
#mps-app .mps-svg-y7-point{fill:#facc15;stroke:#17315f;stroke-width:2.5}
#mps-app .mps-svg-y7-point.image{fill:#86efac;stroke:#166534}
#mps-app .mps-svg-y7-point-label{font:850 12px system-ui,sans-serif;fill:#17243c;paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round}
#mps-app .mps-svg-y7-card{fill:#eef6ff;stroke:#245fbd;stroke-width:2.5}
#mps-app .mps-svg-y7-card.highlight{fill:#dcfce7;stroke:#16803e;stroke-width:3}
#mps-app .mps-svg-y7-card-heading{font:850 13px system-ui,sans-serif;fill:#475569}
#mps-app .mps-svg-y7-card-value{font:900 18px system-ui,sans-serif;fill:#17315f}
@media(max-width:520px){
  #mps-app .mps-svg-table-label{stroke-width:1.5px}
  #mps-app .mps-svg-year7-number{width:100%;max-width:100%}
  #mps-app .mps-svg-y7-point-label{font-size:11px}
}
@media print{
  #mps-app .mps-svg-y7-card,#mps-app .mps-svg-y7-card.highlight,#mps-app .mps-svg-y7-point,#mps-app .mps-svg-y7-point.image{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}


/* v3.40.0: question-level progress is positioned directly below the active question. */
#mps-app .mps-question-progress{padding:15px 18px;border:1px solid #cfe0ef;border-radius:17px;background:linear-gradient(180deg,#ffffff,#f5fbf7);box-shadow:0 7px 20px rgba(32,62,105,.07)}
#mps-app .mps-question-progress-head,#mps-app .mps-question-progress-details{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
#mps-app .mps-question-progress-head strong{font-size:16px;color:#17315f}
#mps-app .mps-question-progress-head span,#mps-app .mps-question-progress-details{font-size:13px;color:#526176;font-weight:700}
#mps-app .mps-question-progress .mps-progress-wrap{margin:10px 0 8px;height:14px;border:1px solid #cbd9e8;background:#e7eef6}
#mps-app .mps-question-progress .mps-progress{background:linear-gradient(90deg,#22c55e,#15803d);box-shadow:inset 0 1px 0 rgba(255,255,255,.35)}
@media(max-width:520px){
  #mps-app .mps-question-progress{padding:14px}
  #mps-app .mps-question-progress-head,#mps-app .mps-question-progress-details{align-items:flex-start}
}
@media print{#mps-app .mps-question-progress{display:none!important}}

/* v3.40.0: responsive Year 7 Algebra diagrams. */
#mps-app .mps-svg-year7-algebra{display:block;width:100%;height:auto;max-width:680px;margin:12px auto 18px}
#mps-app .mps-svg-y7a-card{fill:#f8fbff;stroke:#9eb7d2;stroke-width:2}
#mps-app .mps-svg-y7a-card.operation{fill:#eef6ff;stroke:#2f70c0}
#mps-app .mps-svg-y7a-card.highlight{fill:#edf9f2;stroke:#198754}
#mps-app .mps-svg-y7a-heading{font:800 16px system-ui,sans-serif;fill:#42526b}
#mps-app .mps-svg-y7a-value{font:900 22px system-ui,sans-serif;fill:#17243c}
#mps-app .mps-svg-y7a-caption{font:800 16px system-ui,sans-serif;fill:#334155}
#mps-app .mps-svg-y7a-arrow{fill:none;stroke:#245fbd;stroke-width:4}
#mps-app .mps-svg-y7a-arrowhead{fill:#245fbd}
#mps-app .mps-svg-y7a-balance{fill:none;stroke:#17315f;stroke-width:5;stroke-linecap:round;stroke-linejoin:round}
#mps-app .mps-svg-y7a-pan{fill:#eef6ff;stroke:#2f70c0;stroke-width:3;stroke-linejoin:round}
#mps-app .mps-svg-y7a-axis{stroke:#334155;stroke-width:3}
#mps-app .mps-svg-y7a-tick{stroke:#64748b;stroke-width:2}
#mps-app .mps-svg-y7a-scale{font:700 13px system-ui,sans-serif;fill:#475569}
#mps-app .mps-svg-y7a-solution{stroke:#f97316;stroke-width:6;stroke-linecap:round}
#mps-app .mps-svg-y7a-boundary{stroke:#c2410c;stroke-width:4}
#mps-app .mps-svg-y7a-boundary.open{fill:#fff}
#mps-app .mps-svg-y7a-boundary.closed{fill:#f97316}
@media print{
  #mps-app .mps-svg-y7a-card,#mps-app .mps-svg-y7a-pan,#mps-app .mps-svg-y7a-boundary{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}


/* v3.41.0 Year 7 fractions and percentages */
#mps-app .mps-svg-year7-fractions-percentages{display:block;width:100%;height:auto;max-width:680px;margin:0 auto}
#mps-app .mps-svg-y7fp-panel{fill:#f7fbff;stroke:#cbd9e8;stroke-width:2}
#mps-app .mps-svg-y7fp-segment{fill:#fff;stroke:#31547e;stroke-width:1.5}
#mps-app .mps-svg-y7fp-segment.filled{fill:#bfdbfe}
#mps-app .mps-svg-y7fp-segment.accent{fill:#fed7aa}
#mps-app .mps-svg-y7fp-row-label,#mps-app .mps-svg-y7fp-heading{fill:#24344d;font-weight:800;font-size:18px;text-anchor:middle}
#mps-app .mps-svg-y7fp-value{fill:#17315f;font-weight:900;font-size:24px;text-anchor:middle}
#mps-app .mps-svg-y7fp-card{fill:#fff;stroke:#b9cde0;stroke-width:2}
#mps-app .mps-svg-y7fp-card.highlight{fill:#ecfdf5;stroke:#22a06b}
#mps-app .mps-svg-y7fp-percent-cell{fill:#fff;stroke:#31547e;stroke-width:1.5}
#mps-app .mps-svg-y7fp-percent-cell.filled{fill:#22c55e}
#mps-app .mps-svg-y7fp-percent-label{fill:#17315f;font-size:27px;font-weight:900;text-anchor:middle}
#mps-app .mps-question-progress-details span{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:5px 10px;border:1px solid #d5e1ed;border-radius:999px;background:#fff;color:#41536d}
@media(max-width:640px){
  #mps-app .mps-question-progress-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
  #mps-app .mps-question-progress-details span{width:100%;text-align:center;font-size:12px}
}

/* v3.42.0: Year 7 Ratio and proportion learning visuals. */
#mps-app .mps-svg-year7-ratio-proportion{display:block;width:100%;height:auto;max-width:700px;margin:0 auto}
#mps-app .mps-svg-y7rp-panel{fill:#f8fbff;stroke:#c8d8e8;stroke-width:2}
#mps-app .mps-svg-y7rp-part{fill:#bfdbfe;stroke:#245fbd;stroke-width:1.8}
#mps-app .mps-svg-y7rp-part.accent{fill:#fed7aa;stroke:#c2410c}
#mps-app .mps-svg-y7rp-part.colour-red{fill:#fecaca;stroke:#b91c1c}
#mps-app .mps-svg-y7rp-part.colour-blue{fill:#bfdbfe;stroke:#1d4ed8}
#mps-app .mps-svg-y7rp-row-label.colour-red-label{fill:#991b1b}
#mps-app .mps-svg-y7rp-row-label.colour-blue-label{fill:#1e40af}
#mps-app .mps-svg-y7rp-row-label{fill:#24344d;font:850 17px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y7rp-part-value{fill:#17243c;font:900 13px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y7rp-table-head{fill:#dbeafe;stroke:#31547e;stroke-width:1.8}
#mps-app .mps-svg-y7rp-table-cell{fill:#fff;stroke:#9eb3c9;stroke-width:1.4}
#mps-app .mps-svg-y7rp-table-cell.alternate{fill:#f1f7fd}
#mps-app .mps-svg-y7rp-table-heading{fill:#17315f;font:900 16px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y7rp-table-value{fill:#17243c;font:850 17px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y7rp-card{fill:#fff;stroke:#b7cadf;stroke-width:2}
#mps-app .mps-svg-y7rp-card.highlight{fill:#ecfdf5;stroke:#16803e;stroke-width:3}
#mps-app .mps-svg-y7rp-card-heading{fill:#526176;font:800 15px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y7rp-card-value{fill:#17315f;font:900 20px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y7rp-scale-line{fill:none;stroke:#245fbd;stroke-width:7;stroke-linecap:round}
#mps-app .mps-svg-y7rp-scale-tick{fill:none;stroke:#17315f;stroke-width:4;stroke-linecap:round}
#mps-app .mps-svg-y7rp-scale-label{fill:#17315f;font:900 17px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y7rp-caption{fill:#475569;font:800 16px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-question-progress-head span{max-width:72%;text-align:right}
@media(max-width:520px){
  #mps-app .mps-svg-y7rp-row-label{font-size:15px}
  #mps-app .mps-svg-y7rp-card-heading,#mps-app .mps-svg-y7rp-table-heading{font-size:14px}
  #mps-app .mps-svg-y7rp-card-value,#mps-app .mps-svg-y7rp-table-value{font-size:16px}
  #mps-app .mps-question-progress-head span{max-width:100%;width:100%;text-align:left}
}
@media print{
  #mps-app .mps-svg-y7rp-part,#mps-app .mps-svg-y7rp-table-head,#mps-app .mps-svg-y7rp-table-cell,#mps-app .mps-svg-y7rp-card,#mps-app .mps-svg-y7rp-card.highlight{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

/* v3.43.0: answer-safe question visuals and Year 7 Geometry. */
#mps-app .mps-svg-question-target{fill:#9a3412!important;font-weight:950!important}
#mps-app .mps-svg-y7-card.target,
#mps-app .mps-svg-y7a-card.target,
#mps-app .mps-svg-y7fp-card.target,
#mps-app .mps-svg-y7rp-card.target,
#mps-app .mps-svg-y7rp-table-cell.target,
#mps-app .mps-svg-y7g-card.target{fill:#fff7ed;stroke:#f97316;stroke-width:2.5;stroke-dasharray:7 5}
#mps-app .mps-svg-year7-geometry{display:block;width:100%;height:auto;max-width:700px;margin:0 auto}
#mps-app .mps-svg-y7g-panel{fill:#f8fbff;stroke:#c8d8e8;stroke-width:2}
#mps-app .mps-svg-y7g-line{fill:none;stroke:#17315f;stroke-width:5;stroke-linecap:round;stroke-linejoin:round}
#mps-app .mps-svg-y7g-arc{fill:none;stroke:#f97316;stroke-width:4;stroke-linecap:round}
#mps-app .mps-svg-y7g-shape{fill:#eef6ff;stroke:#245fbd;stroke-width:4;stroke-linejoin:round}
#mps-app .mps-svg-y7g-tick,#mps-app .mps-svg-y7g-parallel-mark{fill:none;stroke:#f97316;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
#mps-app .mps-svg-y7g-given{fill:#17315f;font:900 20px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y7g-small{fill:#334155;font:850 16px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y7g-target{fill:#9a3412;font:950 28px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y7g-caption{fill:#475569;font:800 16px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y7g-compass{fill:none;stroke:#64748b;stroke-width:2.5;stroke-dasharray:5 4}
#mps-app .mps-svg-y7g-compass-label{fill:#17315f;font:900 18px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y7g-bearing{fill:none;stroke:#245fbd;stroke-width:7;stroke-linecap:round}
#mps-app .mps-svg-y7g-scale-line{fill:none;stroke:#245fbd;stroke-width:8;stroke-linecap:round}
#mps-app .mps-svg-y7g-scale-tick{fill:none;stroke:#17315f;stroke-width:4}
#mps-app .mps-svg-y7g-card{fill:#fff;stroke:#b7cadf;stroke-width:2}
#mps-app .mps-svg-y7g-card-heading{fill:#526176;font:800 15px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y7g-card-value{fill:#17315f;font:900 20px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y7g-arrowhead{fill:#245fbd}
@media(max-width:520px){
  #mps-app .mps-svg-y7g-caption{font-size:14px}
  #mps-app .mps-svg-y7g-given{font-size:17px}
  #mps-app .mps-svg-y7g-target{font-size:24px}
}
@media print{
  #mps-app .mps-svg-y7g-panel,#mps-app .mps-svg-y7g-shape,#mps-app .mps-svg-y7g-card,
  #mps-app .mps-svg-y7-card.target,#mps-app .mps-svg-y7a-card.target,#mps-app .mps-svg-y7fp-card.target,
  #mps-app .mps-svg-y7rp-card.target,#mps-app .mps-svg-y7rp-table-cell.target{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

/* v3.44.0: Year 7 Statistics learning visuals and mobile-safe chart labels. */
#mps-app .mps-svg-year7-statistics{display:block;width:100%;height:auto;max-width:720px;margin:0 auto;overflow:visible}
#mps-app .mps-svg-y7s-panel{fill:#f8fbff;stroke:#c8d8e8;stroke-width:2}
#mps-app .mps-svg-y7s-heading{fill:#17315f;font:900 18px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y7s-caption{fill:#526176;font:800 15px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y7s-data-card{fill:#fff;stroke:#aac0d6;stroke-width:2}
#mps-app .mps-svg-y7s-data-card.target{fill:#fff7ed;stroke:#ea580c;stroke-width:2.8}
#mps-app .mps-svg-y7s-data-value{fill:#17243c;font:900 20px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-question-target{fill:#9a3412!important;font-weight:950!important}
#mps-app .mps-svg-y7s-table-bg{fill:#fff;stroke:#17315f;stroke-width:2}
#mps-app .mps-svg-y7s-table-head{fill:#dbeafe;stroke:#31547e;stroke-width:1.7}
#mps-app .mps-svg-y7s-table-cell{fill:#fff;stroke:#9fb2c7;stroke-width:1.3}
#mps-app .mps-svg-y7s-table-cell.alternate{fill:#f2f7fc}
#mps-app .mps-svg-y7s-table-cell.target{fill:#fff7ed;stroke:#ea580c;stroke-width:2.4}
#mps-app .mps-svg-y7s-table-heading{fill:#17315f;font:900 15px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y7s-table-value{fill:#17243c;font:850 16px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y7s-leaves{fill:#17243c;font:850 16px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;text-anchor:middle;letter-spacing:2px}
#mps-app .mps-svg-y7s-axis{fill:none;stroke:#17315f;stroke-width:3;stroke-linecap:round}
#mps-app .mps-svg-y7s-grid{fill:none;stroke:#d7e1ec;stroke-width:1.2}
#mps-app .mps-svg-y7s-scale{fill:#475569;font:750 12px system-ui,sans-serif}
#mps-app .mps-svg-y7s-category{fill:#334155;font:850 12px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y7s-bar{stroke:#17315f;stroke-width:1.7}
#mps-app .mps-svg-y7s-bar.series-0,#mps-app .mps-svg-y7s-sector.series-0{fill:#2563eb}
#mps-app .mps-svg-y7s-bar.series-1,#mps-app .mps-svg-y7s-sector.series-1{fill:#f97316}
#mps-app .mps-svg-y7s-sector.series-2{fill:#16a34a}
#mps-app .mps-svg-y7s-sector.series-3{fill:#a855f7}
#mps-app .mps-svg-y7s-sector.series-4{fill:#db2777}
#mps-app .mps-svg-y7s-bar-value{fill:#17243c;font:900 12px system-ui,sans-serif;text-anchor:middle;paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round}
#mps-app .mps-svg-y7s-legend{fill:#334155;font:800 13px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y7s-line{fill:none;stroke:#2563eb;stroke-width:4;stroke-linejoin:round;stroke-linecap:round}
#mps-app .mps-svg-y7s-point{fill:none;stroke:#b42318;stroke-width:3;stroke-linecap:round}
#mps-app .mps-svg-y7s-sector{stroke:#fff;stroke-width:3;stroke-linejoin:round}
#mps-app .mps-svg-y7s-sector-label{fill:#fff;font:900 12px system-ui,sans-serif;text-anchor:middle;paint-order:stroke;stroke:#17243c;stroke-width:2.4px;stroke-linejoin:round}
#mps-app .mps-svg-y7s-summary-card{fill:#fff;stroke:#b9cde0;stroke-width:2}
#mps-app .mps-svg-y7s-summary-card.target{fill:#fff7ed;stroke:#ea580c;stroke-width:2.8}
#mps-app .mps-svg-y7s-card-heading{fill:#526176;font:800 14px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y7s-card-value{fill:#17315f;font:900 18px system-ui,sans-serif;text-anchor:middle}
@media(max-width:520px){
  #mps-app .mps-svg-year7-statistics{width:100%;max-width:100%}
  #mps-app .mps-svg-y7s-table-heading,#mps-app .mps-svg-y7s-table-value,#mps-app .mps-svg-y7s-leaves{font-size:13px}
  #mps-app .mps-svg-y7s-category,#mps-app .mps-svg-y7s-legend{font-size:11px}
  #mps-app .mps-svg-y7s-caption{font-size:13px}
}
@media print{
  #mps-app .mps-svg-y7s-panel,#mps-app .mps-svg-y7s-data-card,#mps-app .mps-svg-y7s-table-head,#mps-app .mps-svg-y7s-table-cell,#mps-app .mps-svg-y7s-bar,#mps-app .mps-svg-y7s-sector,#mps-app .mps-svg-y7s-summary-card{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}


/* v3.45.0: Year 7 Probability learning visuals. */
#mps-app .mps-svg-year7-probability{display:block;width:100%;height:auto;max-width:720px;margin:0 auto;overflow:visible}
#mps-app .mps-svg-y7p-panel{fill:#f8fbff;stroke:#c8d8e8;stroke-width:2}
#mps-app .mps-svg-y7p-heading{fill:#17315f;font:900 19px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y7p-caption{fill:#334155;font:850 15px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y7p-small{fill:#526176;font:750 13px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y7p-axis{fill:none;stroke:#17315f;stroke-width:7;stroke-linecap:round}
#mps-app .mps-svg-y7p-tick{fill:none;stroke:#526176;stroke-width:3;stroke-linecap:round}
#mps-app .mps-svg-y7p-scale-label{fill:#334155;font:850 15px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y7p-marker{fill:#f97316;stroke:#9a3412;stroke-width:3}
#mps-app .mps-svg-y7p-counter{stroke:#17315f;stroke-width:2.2}
#mps-app .mps-svg-y7p-counter.series-0{fill:#ef4444}
#mps-app .mps-svg-y7p-counter.series-1{fill:#3b82f6}
#mps-app .mps-svg-y7p-counter.series-2{fill:#22c55e}
#mps-app .mps-svg-y7p-counter.series-3{fill:#eab308}
#mps-app .mps-svg-y7p-legend{fill:#334155;font:850 14px system-ui,sans-serif}
#mps-app .mps-svg-y7p-sector{stroke:#fff;stroke-width:3;stroke-linejoin:round}
#mps-app .mps-svg-y7p-sector.series-0{fill:#ef4444}
#mps-app .mps-svg-y7p-sector.series-1{fill:#3b82f6}
#mps-app .mps-svg-y7p-sector.series-2{fill:#22c55e}
#mps-app .mps-svg-y7p-sector.series-3{fill:#eab308}
#mps-app .mps-svg-y7p-sector.series-4{fill:#a855f7}
#mps-app .mps-svg-y7p-sector.series-5{fill:#06b6d4}
#mps-app .mps-svg-y7p-sector-label{fill:#fff;font:900 13px system-ui,sans-serif;text-anchor:middle;paint-order:stroke;stroke:#17243c;stroke-width:2.5px;stroke-linejoin:round}
#mps-app .mps-svg-y7p-spinner-centre{fill:#17315f;stroke:#fff;stroke-width:2}
#mps-app .mps-svg-y7p-sample-cell{fill:#fff;stroke:#9fb2c7;stroke-width:1.5}
#mps-app .mps-svg-y7p-sample-cell.favourable{fill:#dcfce7;stroke:#15803d;stroke-width:2.4}
#mps-app .mps-svg-y7p-sample-value{fill:#17243c;font:850 14px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y7p-table-head{fill:#dbeafe;stroke:#31547e;stroke-width:1.8}
#mps-app .mps-svg-y7p-table-cell{fill:#fff;stroke:#9fb2c7;stroke-width:1.4}
#mps-app .mps-svg-y7p-table-cell.alternate{fill:#f2f7fc}
#mps-app .mps-svg-y7p-table-cell.target{fill:#fff7ed;stroke:#ea580c;stroke-width:2.5}
#mps-app .mps-svg-y7p-table-heading{fill:#17315f;font:900 15px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y7p-table-value{fill:#17243c;font:850 16px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y7p-card{fill:#fff;stroke:#b9cde0;stroke-width:2}
#mps-app .mps-svg-y7p-card.target{fill:#fff7ed;stroke:#ea580c;stroke-width:2.8;stroke-dasharray:7 5}
#mps-app .mps-svg-y7p-card-heading{fill:#526176;font:800 14px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y7p-card-value{fill:#17315f;font:900 18px system-ui,sans-serif;text-anchor:middle}
@media(max-width:520px){
  #mps-app .mps-svg-year7-probability{width:100%;max-width:100%}
  #mps-app .mps-svg-y7p-heading{font-size:16px}
  #mps-app .mps-svg-y7p-caption{font-size:13px}
  #mps-app .mps-svg-y7p-table-heading,#mps-app .mps-svg-y7p-table-value{font-size:13px}
  #mps-app .mps-svg-y7p-card-heading{font-size:12px}
  #mps-app .mps-svg-y7p-card-value{font-size:16px}
}
@media print{
  #mps-app .mps-svg-y7p-panel,#mps-app .mps-svg-y7p-counter,#mps-app .mps-svg-y7p-sector,#mps-app .mps-svg-y7p-sample-cell,#mps-app .mps-svg-y7p-table-head,#mps-app .mps-svg-y7p-table-cell,#mps-app .mps-svg-y7p-card{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}


/* v3.46.0: Year 8 Algebra learning visuals. */
#mps-app .mps-svg-year8-algebra{display:block;width:100%;height:auto;max-width:720px;margin:0 auto;overflow:visible}
#mps-app .mps-svg-y8a-panel{fill:#f7fbff;stroke:#c4d5e8;stroke-width:2.2}
#mps-app .mps-svg-y8a-arrow{fill:none;stroke:#245fbd;stroke-width:4;stroke-linecap:round}
#mps-app .mps-svg-y8a-arrowhead{fill:#245fbd}
#mps-app .mps-svg-year8-algebra .mps-svg-y7a-card{filter:drop-shadow(0 3px 4px rgba(23,49,95,.08))}
#mps-app .mps-svg-year8-algebra .mps-svg-y7a-card.target{fill:#fff7ed;stroke:#ea580c;stroke-width:2.8;stroke-dasharray:7 5}
@media(max-width:520px){
  #mps-app .mps-svg-year8-algebra{width:100%;max-width:100%}
  #mps-app .mps-svg-year8-algebra .mps-svg-y7a-heading{font-size:13px}
  #mps-app .mps-svg-year8-algebra .mps-svg-y7a-value{font-size:17px}
  #mps-app .mps-svg-year8-algebra .mps-svg-y7a-caption{font-size:13px}
}
@media print{
  #mps-app .mps-svg-y8a-panel,#mps-app .mps-svg-year8-algebra .mps-svg-y7a-card,#mps-app .mps-svg-year8-algebra .mps-svg-y7a-pan{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

/* v3.47.0: Year 8 Graphs learning visuals. */
#mps-app .mps-svg-year8-graphs{display:block;width:100%;height:auto;max-width:740px;margin:0 auto;overflow:visible}
#mps-app .mps-svg-y8g-panel{fill:#f7fbff;stroke:#c4d5e8;stroke-width:2.2}
#mps-app .mps-svg-y8g-plot{fill:#fff;stroke:#9fb5cb;stroke-width:2}
#mps-app .mps-svg-y8g-grid{fill:none;stroke:#dbe5ef;stroke-width:1}
#mps-app .mps-svg-y8g-axis{fill:none;stroke:#17315f;stroke-width:2.8;stroke-linecap:round}
#mps-app .mps-svg-y8g-axis-label{fill:#17315f;font:900 15px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y8g-scale{fill:#526176;font:750 11px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y8g-line{fill:none;stroke:#2563eb;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
#mps-app .mps-svg-y8g-line.series-1{stroke:#f97316}
#mps-app .mps-svg-y8g-line.series-2{stroke:#16a34a}
#mps-app .mps-svg-y8g-point{fill:#fff;stroke:#b42318;stroke-width:3}
#mps-app .mps-svg-y8g-point.series-1{stroke:#2563eb}
#mps-app .mps-svg-y8g-point-label{fill:#17243c;font:900 14px system-ui,sans-serif;text-anchor:middle;paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round}
#mps-app .mps-svg-y8g-caption{fill:#334155;font:850 14px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y8g-table-head{fill:#dbeafe;stroke:#31547e;stroke-width:1.8}
#mps-app .mps-svg-y8g-table-cell{fill:#fff;stroke:#9fb2c7;stroke-width:1.4}
#mps-app .mps-svg-y8g-table-cell.alternate{fill:#f2f7fc}
#mps-app .mps-svg-y8g-table-cell.target{fill:#fff7ed;stroke:#ea580c;stroke-width:2.5;stroke-dasharray:7 5}
#mps-app .mps-svg-y8g-table-heading{fill:#17315f;font:900 15px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y8g-table-value{fill:#17243c;font:850 17px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y8g-card{fill:#fff;stroke:#b9cde0;stroke-width:2;filter:drop-shadow(0 3px 4px rgba(23,49,95,.08))}
#mps-app .mps-svg-y8g-card.target{fill:#fff7ed;stroke:#ea580c;stroke-width:2.8;stroke-dasharray:7 5}
#mps-app .mps-svg-y8g-card-heading{fill:#526176;font:800 14px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y8g-card-value{fill:#17315f;font:900 18px system-ui,sans-serif;text-anchor:middle}
@media(max-width:520px){
  #mps-app .mps-svg-year8-graphs{width:100%;max-width:100%}
  #mps-app .mps-svg-y8g-scale{font-size:9px}
  #mps-app .mps-svg-y8g-axis-label,#mps-app .mps-svg-y8g-point-label{font-size:12px}
  #mps-app .mps-svg-y8g-table-heading,#mps-app .mps-svg-y8g-table-value{font-size:13px}
  #mps-app .mps-svg-y8g-card-heading{font-size:12px}
  #mps-app .mps-svg-y8g-card-value{font-size:16px}
}
@media print{
  #mps-app .mps-svg-y8g-panel,#mps-app .mps-svg-y8g-plot,#mps-app .mps-svg-y8g-line,#mps-app .mps-svg-y8g-point,#mps-app .mps-svg-y8g-table-head,#mps-app .mps-svg-y8g-table-cell,#mps-app .mps-svg-y8g-card{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

/* v3.48.0: semantic pie-chart colours and Year 8 Ratio and proportion visuals. */
#mps-app .mps-svg-stat-legend-swatch,#mps-app .mps-svg-y7s-legend-swatch{stroke:#17315f;stroke-width:1.5}
#mps-app .mps-svg-year8-ratio{display:block;width:100%;height:auto;max-width:740px;margin:0 auto;overflow:visible}
#mps-app .mps-svg-y8r-panel{fill:#f7fbff;stroke:#c4d5e8;stroke-width:2.2}
#mps-app .mps-svg-y8r-segment{stroke:#fff;stroke-width:3}
#mps-app .mps-svg-y8r-segment.series-0{fill:#2563eb}
#mps-app .mps-svg-y8r-segment.series-1{fill:#f97316}
#mps-app .mps-svg-y8r-segment.series-2{fill:#16a34a}
#mps-app .mps-svg-y8r-segment.series-3{fill:#9333ea}
#mps-app .mps-svg-y8r-segment-label{fill:#fff;font:900 14px system-ui,sans-serif;text-anchor:middle;paint-order:stroke;stroke:#17243c;stroke-width:2.5px;stroke-linejoin:round}
#mps-app .mps-svg-y8r-caption{fill:#334155;font:850 14px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y8r-target{fill:#fff7ed;stroke:#ea580c;stroke-width:2.5;stroke-dasharray:7 5}
#mps-app .mps-svg-y8r-target-text{fill:#9a3412;font:900 17px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y8r-table-head{fill:#dbeafe;stroke:#31547e;stroke-width:1.8}
#mps-app .mps-svg-y8r-table-cell{fill:#fff;stroke:#9fb2c7;stroke-width:1.4}
#mps-app .mps-svg-y8r-table-cell.alternate{fill:#f2f7fc}
#mps-app .mps-svg-y8r-table-cell.target{fill:#fff7ed;stroke:#ea580c;stroke-width:2.5;stroke-dasharray:7 5}
#mps-app .mps-svg-y8r-table-heading{fill:#17315f;font:900 15px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y8r-table-value{fill:#17243c;font:850 17px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y8r-card{fill:#fff;stroke:#b9cde0;stroke-width:2;filter:drop-shadow(0 3px 4px rgba(23,49,95,.08))}
#mps-app .mps-svg-y8r-card.target{fill:#fff7ed;stroke:#ea580c;stroke-width:2.8;stroke-dasharray:7 5}
#mps-app .mps-svg-y8r-card-heading{fill:#526176;font:800 14px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y8r-card-value{fill:#17315f;font:900 18px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y8r-card-note{fill:#475569;font:800 14px system-ui,sans-serif;text-anchor:middle}
@media(max-width:520px){
  #mps-app .mps-svg-year8-ratio{width:100%;max-width:100%}
  #mps-app .mps-svg-y8r-segment-label{font-size:11px}
  #mps-app .mps-svg-y8r-caption{font-size:12px}
  #mps-app .mps-svg-y8r-table-heading,#mps-app .mps-svg-y8r-table-value{font-size:13px}
  #mps-app .mps-svg-y8r-card-heading,#mps-app .mps-svg-y8r-card-note{font-size:12px}
  #mps-app .mps-svg-y8r-card-value,#mps-app .mps-svg-y8r-target-text{font-size:15px}
}
@media print{
  #mps-app .mps-svg-stat-sector,#mps-app .mps-svg-stat-legend-swatch,#mps-app .mps-svg-y7s-sector,#mps-app .mps-svg-y7s-legend-swatch,#mps-app .mps-svg-y8r-panel,#mps-app .mps-svg-y8r-segment,#mps-app .mps-svg-y8r-target,#mps-app .mps-svg-y8r-table-head,#mps-app .mps-svg-y8r-table-cell,#mps-app .mps-svg-y8r-card{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}


/* v3.49.0: Year 8 Geometry learning visuals. */
#mps-app .mps-svg-year8-geometry{display:block;width:100%;height:auto;max-width:740px;margin:0 auto;overflow:visible}
#mps-app .mps-svg-y8geo-panel{fill:#f7fbff;stroke:#c4d5e8;stroke-width:2.2}
#mps-app .mps-svg-y8geo-line{fill:none;stroke:#17315f;stroke-width:4;stroke-linecap:round}
#mps-app .mps-svg-y8geo-line.emphasis{stroke:#2563eb}
#mps-app .mps-svg-y8geo-arc{fill:none;stroke:#f97316;stroke-width:4;stroke-linecap:round}
#mps-app .mps-svg-y8geo-parallel-mark{fill:none;stroke:#16a34a;stroke-width:3;stroke-linecap:round}
#mps-app .mps-svg-y8geo-label,#mps-app .mps-svg-y8geo-side{fill:#17315f;font:900 16px system-ui,sans-serif;text-anchor:middle;paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round}
#mps-app .mps-svg-y8geo-unknown{fill:#9a3412;font:950 24px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y8geo-caption{fill:#475569;font:850 14px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y8geo-point{fill:#17315f}
#mps-app .mps-svg-y8geo-shape{fill:#dbeafe;stroke:#245fbd;stroke-width:3;stroke-linejoin:round}
#mps-app .mps-svg-y8geo-shape.regular{fill:#e0f2fe}
#mps-app .mps-svg-y8geo-shape.series-0{fill:#dbeafe;stroke:#2563eb}
#mps-app .mps-svg-y8geo-shape.series-1{fill:#dcfce7;stroke:#16a34a}
#mps-app .mps-svg-y8geo-shape-label{fill:#17315f;font:900 18px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y8geo-right{fill:none;stroke:#b42318;stroke-width:3}
#mps-app .mps-svg-y8geo-target{fill:#fff7ed;stroke:#ea580c;stroke-width:2.6;stroke-dasharray:7 5}
#mps-app .mps-svg-y8geo-target-text{fill:#9a3412;font:900 16px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y8geo-compass{fill:#fff;stroke:#9fb5cb;stroke-width:2.4}
#mps-app .mps-svg-y8geo-axis{fill:none;stroke:#64748b;stroke-width:2.4}
#mps-app .mps-svg-y8geo-compass-label{fill:#17315f;font:900 15px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y8geo-bearing{fill:none;stroke:#dc2626;stroke-width:5;stroke-linecap:round}
#mps-app .mps-svg-y8geo-grid{fill:none;stroke:#dbe5ef;stroke-width:1}
#mps-app .mps-svg-y8geo-coordinate-point{fill:#fff;stroke:#2563eb;stroke-width:4}
#mps-app .mps-svg-y8geo-coordinate-point.series-1{stroke:#f97316}
#mps-app .mps-svg-y8geo-coordinate-label{fill:#17243c;font:900 14px system-ui,sans-serif;text-anchor:middle;paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round}
#mps-app .mps-svg-y8geo-transform-arrow{fill:none;stroke:#16a34a;stroke-width:4;stroke-linecap:round}
#mps-app .mps-svg-y8geo-info{fill:#fff;stroke:#b9cde0;stroke-width:2;filter:drop-shadow(0 3px 4px rgba(23,49,95,.08))}
#mps-app .mps-svg-y8geo-info.target{fill:#fff7ed;stroke:#ea580c;stroke-width:2.8;stroke-dasharray:7 5}
#mps-app .mps-svg-y8geo-info-heading{fill:#526176;font:800 14px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y8geo-info-value{fill:#17315f;font:900 17px system-ui,sans-serif;text-anchor:middle}
@media(max-width:520px){
  #mps-app .mps-svg-year8-geometry{width:100%;max-width:100%}
  #mps-app .mps-svg-y8geo-label,#mps-app .mps-svg-y8geo-side{font-size:13px}
  #mps-app .mps-svg-y8geo-unknown{font-size:20px}
  #mps-app .mps-svg-y8geo-caption,#mps-app .mps-svg-y8geo-info-heading{font-size:12px}
  #mps-app .mps-svg-y8geo-info-value,#mps-app .mps-svg-y8geo-target-text{font-size:14px}
}
@media print{
  #mps-app .mps-svg-y8geo-panel,#mps-app .mps-svg-y8geo-shape,#mps-app .mps-svg-y8geo-target,#mps-app .mps-svg-y8geo-compass,#mps-app .mps-svg-y8geo-coordinate-point,#mps-app .mps-svg-y8geo-info{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}


/* v3.50.0: contextual answer guidance and Year 8 Probability visuals. */
#mps-app .mps-answer-format-hint{margin:8px 2px 0;color:#526176;font-size:13px;font-weight:700;line-height:1.45}
#mps-app .mps-svg-year8-probability{display:block;width:100%;height:auto;max-width:740px;margin:0 auto;overflow:visible}
#mps-app .mps-svg-y8p-panel{fill:#f7fbff;stroke:#c4d5e8;stroke-width:2.2}
#mps-app .mps-svg-y8p-heading{fill:#17315f;font:900 18px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y8p-caption{fill:#334155;font:850 14px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y8p-small{fill:#526176;font:750 13px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y8p-axis{fill:none;stroke:#17315f;stroke-width:4;stroke-linecap:round}
#mps-app .mps-svg-y8p-tick{fill:none;stroke:#526176;stroke-width:2.5}
#mps-app .mps-svg-y8p-scale-label{fill:#334155;font:850 14px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y8p-marker{fill:#f97316;stroke:#9a3412;stroke-width:3}
#mps-app .mps-svg-y8p-arrowhead{fill:#16a34a}
#mps-app .mps-svg-y8p-counter{stroke:#fff;stroke-width:2.5}
#mps-app .mps-svg-y8p-counter.series-0{fill:#dc2626}
#mps-app .mps-svg-y8p-counter.series-1{fill:#2563eb}
#mps-app .mps-svg-y8p-counter.series-2{fill:#16a34a}
#mps-app .mps-svg-y8p-counter.series-3{fill:#eab308}
#mps-app .mps-svg-y8p-legend{fill:#334155;font:850 13px system-ui,sans-serif}
#mps-app .mps-svg-y8p-cell{fill:#fff;stroke:#9fb2c7;stroke-width:1.4}
#mps-app .mps-svg-y8p-cell.favourable{fill:#dcfce7;stroke:#16a34a;stroke-width:2.2}
#mps-app .mps-svg-y8p-cell-text{fill:#17243c;font:850 13px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y8p-node{fill:#17315f}
#mps-app .mps-svg-y8p-branch{fill:none;stroke:#31547e;stroke-width:3;stroke-linecap:round}
#mps-app .mps-svg-y8p-branch-label{fill:#334155;font:850 13px system-ui,sans-serif;text-anchor:middle;paint-order:stroke;stroke:#fff;stroke-width:3px}
#mps-app .mps-svg-y8p-outcome{fill:#17315f;font:900 14px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y8p-universal{fill:#fff;stroke:#9fb2c7;stroke-width:2}
#mps-app .mps-svg-y8p-venn{fill:#93c5fd;fill-opacity:.48;stroke:#2563eb;stroke-width:3}
#mps-app .mps-svg-y8p-venn.series-1{fill:#86efac;stroke:#16a34a}
#mps-app .mps-svg-y8p-set-label{fill:#17315f;font:900 16px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y8p-region{fill:#17243c;font:950 17px system-ui,sans-serif;text-anchor:middle;paint-order:stroke;stroke:#fff;stroke-width:3px}
#mps-app .mps-svg-y8p-table-head{fill:#dbeafe;stroke:#31547e;stroke-width:1.8}
#mps-app .mps-svg-y8p-table-cell{fill:#fff;stroke:#9fb2c7;stroke-width:1.4}
#mps-app .mps-svg-y8p-table-cell.alternate{fill:#f2f7fc}
#mps-app .mps-svg-y8p-table-cell.target{fill:#fff7ed;stroke:#ea580c;stroke-width:2.5;stroke-dasharray:7 5}
#mps-app .mps-svg-y8p-table-heading{fill:#17315f;font:900 14px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y8p-table-value{fill:#17243c;font:850 15px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y8p-card{fill:#fff;stroke:#b9cde0;stroke-width:2;filter:drop-shadow(0 3px 4px rgba(23,49,95,.08))}
#mps-app .mps-svg-y8p-card.target{fill:#fff7ed;stroke:#ea580c;stroke-width:2.8;stroke-dasharray:7 5}
#mps-app .mps-svg-y8p-card-heading{fill:#526176;font:800 14px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y8p-card-value{fill:#17315f;font:900 17px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y8p-target{fill:#fff7ed;stroke:#ea580c;stroke-width:2.5;stroke-dasharray:7 5}
#mps-app .mps-svg-y8p-target-text{fill:#9a3412;font:900 16px system-ui,sans-serif;text-anchor:middle}
@media(max-width:520px){
  #mps-app .mps-answer-format-hint{font-size:12px}
  #mps-app .mps-svg-year8-probability{width:100%;max-width:100%}
  #mps-app .mps-svg-y8p-heading{font-size:15px}
  #mps-app .mps-svg-y8p-caption,#mps-app .mps-svg-y8p-small,#mps-app .mps-svg-y8p-legend,#mps-app .mps-svg-y8p-branch-label{font-size:11px}
  #mps-app .mps-svg-y8p-cell-text,#mps-app .mps-svg-y8p-table-heading,#mps-app .mps-svg-y8p-table-value{font-size:11px}
  #mps-app .mps-svg-y8p-card-heading{font-size:12px}
  #mps-app .mps-svg-y8p-card-value,#mps-app .mps-svg-y8p-target-text{font-size:14px}
}
@media print{
  #mps-app .mps-svg-y8p-panel,#mps-app .mps-svg-y8p-counter,#mps-app .mps-svg-y8p-cell,#mps-app .mps-svg-y8p-venn,#mps-app .mps-svg-y8p-table-head,#mps-app .mps-svg-y8p-table-cell,#mps-app .mps-svg-y8p-card,#mps-app .mps-svg-y8p-target{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}


/* v3.51.0: Year 8 Statistics visuals and mobile-safe statistical displays. */
#mps-app .mps-svg-year8-statistics{display:block;width:100%;height:auto;max-width:740px;margin:0 auto;overflow:visible}
#mps-app .mps-svg-y8s-panel{fill:#f7fbff;stroke:#c4d5e8;stroke-width:2.2}
#mps-app .mps-svg-y8s-heading{fill:#17315f;font:900 18px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y8s-axis{fill:none;stroke:#17315f;stroke-width:3;stroke-linecap:round}
#mps-app .mps-svg-y8s-grid{fill:none;stroke:#dbe5ef;stroke-width:1.1}
#mps-app .mps-svg-y8s-scale{fill:#475569;font:750 12px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y8s-axis-label{fill:#334155;font:850 13px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y8s-point{fill:none;stroke:#2563eb;stroke-width:3;stroke-linecap:round}
#mps-app .mps-svg-y8s-point.outlier{stroke:#dc2626;stroke-width:4}
#mps-app .mps-svg-y8s-best-fit{fill:none;stroke:#16a34a;stroke-width:4;stroke-linecap:round}
#mps-app .mps-svg-y8s-tick{stroke:#526176;stroke-width:2}
#mps-app .mps-svg-y8s-whisker{fill:none;stroke:#31547e;stroke-width:3}
#mps-app .mps-svg-y8s-box{fill:#bfdbfe;stroke:#2563eb;stroke-width:2.5}
#mps-app .mps-svg-y8s-box.series-1{fill:#fed7aa;stroke:#f97316}
#mps-app .mps-svg-y8s-median{stroke:#17243c;stroke-width:4}
#mps-app .mps-svg-y8s-plot-label{fill:#17315f;font:900 14px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y8s-target{fill:#fff7ed;stroke:#ea580c;stroke-width:2.5;stroke-dasharray:7 5}
#mps-app .mps-svg-y8s-target-text{fill:#9a3412;font:900 15px system-ui,sans-serif;text-anchor:middle}
@media(max-width:520px){
  #mps-app .mps-svg-year8-statistics{width:100%;max-width:100%}
  #mps-app .mps-svg-y8s-heading{font-size:15px}
  #mps-app .mps-svg-y8s-scale,#mps-app .mps-svg-y8s-axis-label{font-size:10px}
  #mps-app .mps-svg-y8s-plot-label,#mps-app .mps-svg-y8s-target-text{font-size:12px}
}
@media print{
  #mps-app .mps-svg-y8s-panel,#mps-app .mps-svg-y8s-point,#mps-app .mps-svg-y8s-best-fit,#mps-app .mps-svg-y8s-box,#mps-app .mps-svg-y8s-target{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}


/* v3.52.0: Year 9 Algebra and clearer contextual answer guidance. */
#mps-app .mps-svg-year9-algebra{display:block;width:100%;height:auto;max-width:740px;margin:0 auto;overflow:visible}
#mps-app .mps-svg-year9-algebra .mps-svg-y8a-panel{fill:#fbf9ff;stroke:#c4b5fd;stroke-width:2.3}
#mps-app .mps-svg-year9-algebra .mps-svg-y7a-card{fill:#fff;stroke:#a7b8d0;filter:drop-shadow(0 4px 5px rgba(76,29,149,.08))}
#mps-app .mps-svg-year9-algebra .mps-svg-y7a-card.highlight{fill:#eef2ff;stroke:#6366f1}
#mps-app .mps-svg-year9-algebra .mps-svg-y7a-card.target{fill:#fff7ed;stroke:#ea580c;stroke-width:2.8;stroke-dasharray:7 5}
#mps-app .mps-svg-year9-algebra .mps-svg-y7a-balance{stroke:#4f46e5}
#mps-app .mps-answer-format-hint{padding:8px 11px;border-left:4px solid #4f7fd3;border-radius:0 10px 10px 0;background:#f6f9fe}
#mps-app .mps-answer-format-hint::before{content:'Answer format: ';color:#244e8a;font-weight:900}
@media(max-width:520px){
  #mps-app .mps-svg-year9-algebra{width:100%;max-width:100%}
  #mps-app .mps-svg-year9-algebra .mps-svg-y7a-heading{font-size:12px}
  #mps-app .mps-svg-year9-algebra .mps-svg-y7a-value{font-size:16px}
  #mps-app .mps-answer-format-hint{padding:7px 9px}
}
@media print{
  #mps-app .mps-svg-year9-algebra .mps-svg-y8a-panel,#mps-app .mps-svg-year9-algebra .mps-svg-y7a-card{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}


/* v3.53.0: Year 9 Functions */
.mps-svg-year9-functions .mps-svg-y9f-panel{fill:#f8fbff;stroke:#b9d7f7;stroke-width:2}
.mps-svg-year9-functions .mps-svg-y9f-heading{font-size:18px;font-weight:800;fill:#17365d;text-anchor:middle}
.mps-svg-year9-functions .mps-svg-y9f-node{fill:#ffffff;stroke:#2563eb;stroke-width:2.5}
.mps-svg-year9-functions .mps-svg-y9f-node.output{fill:#f0fdf4;stroke:#16a34a}
.mps-svg-year9-functions .mps-svg-y9f-node.target{fill:#fff7ed;stroke:#f97316;stroke-dasharray:5 4}
.mps-svg-year9-functions .mps-svg-y9f-value{font-size:16px;font-weight:800;fill:#102a43;text-anchor:middle}
.mps-svg-year9-functions .mps-svg-y9f-arrow{fill:none;stroke:#64748b;stroke-width:2.2}
.mps-svg-year9-functions .mps-svg-y9f-arrowhead{fill:#64748b}
.mps-svg-year9-functions .mps-svg-y9f-table-head{fill:#17365d;stroke:#dbe7f4;stroke-width:1}
.mps-svg-year9-functions .mps-svg-y9f-table-heading{font-size:16px;font-weight:800;fill:#fff;text-anchor:middle}
.mps-svg-year9-functions .mps-svg-y9f-table-cell{fill:#fff;stroke:#b9c9dc;stroke-width:1.3}
.mps-svg-year9-functions .mps-svg-y9f-table-cell.target{fill:#fff7ed;stroke:#f97316;stroke-width:2;stroke-dasharray:5 4}
.mps-svg-year9-functions .mps-svg-y9f-table-value{font-size:16px;font-weight:700;fill:#102a43;text-anchor:middle}
.mps-svg-year9-functions .mps-svg-y9f-verdict{font-size:16px;font-weight:800;fill:#9a3412;text-anchor:middle}
@media (max-width:640px){
  .mps-svg-year9-functions .mps-svg-y9f-heading{font-size:17px}
  .mps-svg-year9-functions .mps-svg-y9f-value,.mps-svg-year9-functions .mps-svg-y9f-table-value{font-size:15px}
}

/* Year 9 graph models reuse the established graph language with a clearer advanced-graph frame. */
#mps-app .mps-svg-year9-graphs{display:block;width:100%;height:auto;max-width:740px;margin:0 auto;overflow:visible}
#mps-app .mps-svg-year9-graphs .mps-svg-y8g-panel{fill:#f8fbff;stroke:#9fb8d4;stroke-width:2.3}
#mps-app .mps-svg-year9-graphs .mps-svg-y8g-line{stroke-width:4.2}
#mps-app .mps-svg-year9-graphs .mps-svg-y8g-line.series-1{stroke-dasharray:9 6}
@media(max-width:700px){#mps-app .mps-svg-year9-graphs{width:100%;max-width:100%}}
@media print{#mps-app .mps-svg-year9-graphs .mps-svg-y8g-panel,#mps-app .mps-svg-year9-graphs .mps-svg-y8g-plot,#mps-app .mps-svg-year9-graphs .mps-svg-y8g-line,#mps-app .mps-svg-year9-graphs .mps-svg-y8g-point,#mps-app .mps-svg-year9-graphs .mps-svg-y8g-card{-webkit-print-color-adjust:exact;print-color-adjust:exact}}


/* v3.55.0: Year 9 Geometry theorem, similarity and transformation visuals. */
#mps-app .mps-svg-year9-geometry{display:block;width:100%;height:auto;max-width:760px;margin:0 auto;overflow:visible}
#mps-app .mps-svg-y9geo-panel{fill:#f8fbff;stroke:#b8cce3;stroke-width:2.3}
#mps-app .mps-svg-y9geo-badge{fill:#1d4ed8;font:900 13px system-ui,sans-serif;text-anchor:middle;letter-spacing:1.2px}
#mps-app .mps-svg-y9geo-line,#mps-app .mps-svg-y9geo-chord{fill:none;stroke:#17315f;stroke-width:3.6;stroke-linecap:round;stroke-linejoin:round}
#mps-app .mps-svg-y9geo-line.emphasis,#mps-app .mps-svg-y9geo-chord.emphasis{stroke:#2563eb;stroke-width:4.5}
#mps-app .mps-svg-y9geo-parallel{fill:none;stroke:#16a34a;stroke-width:3;stroke-linecap:round}
#mps-app .mps-svg-y9geo-shape{fill:#dbeafe;stroke:#245fbd;stroke-width:3.2;stroke-linejoin:round}
#mps-app .mps-svg-y9geo-tick{fill:none;stroke:#dc2626;stroke-width:4;stroke-linecap:round}
#mps-app .mps-svg-y9geo-label{fill:#17315f;font:900 16px system-ui,sans-serif;text-anchor:middle;paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round}
#mps-app .mps-svg-y9geo-unknown{fill:#9a3412;font:950 25px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y9geo-caption{fill:#475569;font:850 14px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y9geo-target{fill:#fff7ed;stroke:#ea580c;stroke-width:2.7;stroke-dasharray:7 5}
#mps-app .mps-svg-y9geo-target-text{fill:#9a3412;font:900 16px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y9geo-circle{fill:#eff6ff;stroke:#245fbd;stroke-width:3.2}
#mps-app .mps-svg-y9geo-cyclic{fill:#dcfce7;fill-opacity:.7;stroke:#16a34a;stroke-width:3;stroke-linejoin:round}
#mps-app .mps-svg-y9geo-tangent{fill:none;stroke:#dc2626;stroke-width:4.5;stroke-linecap:round}
#mps-app .mps-svg-y9geo-point{fill:#17315f}
#mps-app .mps-svg-y9geo-point-label{fill:#17315f;font:900 14px system-ui,sans-serif;text-anchor:middle;paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round}
#mps-app .mps-svg-y9geo-axis{fill:none;stroke:#64748b;stroke-width:2.3}
#mps-app .mps-svg-y9geo-compass-label{fill:#17315f;font:900 15px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y9geo-bearing{fill:none;stroke:#2563eb;stroke-width:5;stroke-linecap:round}
#mps-app .mps-svg-y9geo-bearing.series-1{stroke:#f97316}
#mps-app .mps-svg-y9geo-info{fill:#fff;stroke:#b9cde0;stroke-width:2;filter:drop-shadow(0 3px 4px rgba(23,49,95,.08))}
#mps-app .mps-svg-y9geo-info-heading{fill:#526176;font:800 13px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y9geo-info-value{fill:#17315f;font:900 16px system-ui,sans-serif;text-anchor:middle}
@media(max-width:520px){
  #mps-app .mps-svg-year9-geometry{width:100%;max-width:100%}
  #mps-app .mps-svg-y9geo-label,#mps-app .mps-svg-y9geo-info-value,#mps-app .mps-svg-y9geo-target-text{font-size:13px}
  #mps-app .mps-svg-y9geo-caption,#mps-app .mps-svg-y9geo-info-heading{font-size:11px}
  #mps-app .mps-svg-y9geo-unknown{font-size:20px}
}
@media print{
  #mps-app .mps-svg-y9geo-panel,#mps-app .mps-svg-y9geo-shape,#mps-app .mps-svg-y9geo-circle,#mps-app .mps-svg-y9geo-cyclic,#mps-app .mps-svg-y9geo-target,#mps-app .mps-svg-y9geo-info{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}


/* v3.56.0: Year 9 Trigonometry, bearings, elevation and depression visuals. */
#mps-app .mps-svg-year9-trigonometry{display:block;width:100%;height:auto;max-width:760px;margin:0 auto;overflow:visible}
#mps-app .mps-svg-y9trig-panel{fill:#f8fbff;stroke:#b8cce3;stroke-width:2.3}
#mps-app .mps-svg-y9trig-badge{fill:#1d4ed8;font:900 13px system-ui,sans-serif;text-anchor:middle;letter-spacing:1.2px}
#mps-app .mps-svg-y9trig-triangle{fill:#dbeafe;fill-opacity:.82;stroke:#17315f;stroke-width:3.5;stroke-linejoin:round}
#mps-app .mps-svg-y9trig-right{fill:none;stroke:#dc2626;stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round}
#mps-app .mps-svg-y9trig-point-label{fill:#17315f;font:900 14px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y9trig-side-label{fill:#17315f;font:900 16px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y9trig-angle{fill:#9a3412;font:950 17px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y9trig-role{fill:#526176;font:800 13px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y9trig-target{fill:#fff7ed;stroke:#ea580c;stroke-width:2.7;stroke-dasharray:7 5}
#mps-app .mps-svg-y9trig-target-text{fill:#9a3412;font:900 16px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y9trig-ground,#mps-app .mps-svg-y9trig-horizontal{fill:none;stroke:#64748b;stroke-width:3;stroke-linecap:round}
#mps-app .mps-svg-y9trig-object{fill:none;stroke:#17315f;stroke-width:8;stroke-linecap:round}
#mps-app .mps-svg-y9trig-sight{fill:none;stroke:#2563eb;stroke-width:4;stroke-linecap:round}
#mps-app .mps-svg-y9trig-compass{fill:none;stroke:#17315f;stroke-width:3}
#mps-app .mps-svg-y9trig-compass.faint{stroke:#94a3b8;stroke-dasharray:7 6}
#mps-app .mps-svg-y9trig-bearing{fill:none;stroke:#2563eb;stroke-width:5;stroke-linecap:round}
#mps-app .mps-svg-y9trig-component{fill:none;stroke:#16a34a;stroke-width:3;stroke-dasharray:7 5}
#mps-app .mps-svg-y9trig-component.target-component{stroke:#ea580c}
#mps-app .mps-svg-y9trig-info{fill:#fff;stroke:#b9cde0;stroke-width:2;filter:drop-shadow(0 3px 4px rgba(23,49,95,.08))}
#mps-app .mps-svg-y9trig-info-heading{fill:#526176;font:800 13px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y9trig-info-value{fill:#17315f;font:850 14px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y9trig-statement{fill:#17315f;font:900 17px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y9trig-unknown{fill:#9a3412;font:950 22px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y9trig-rectangle{fill:#dcfce7;fill-opacity:.75;stroke:#17315f;stroke-width:3.5}
#mps-app .mps-svg-y9trig-diagonal{fill:none;stroke:#2563eb;stroke-width:4.2;stroke-linecap:round}
@media(max-width:520px){
  #mps-app .mps-svg-year9-trigonometry{width:100%;max-width:100%}
  #mps-app .mps-svg-y9trig-side-label,#mps-app .mps-svg-y9trig-target-text,#mps-app .mps-svg-y9trig-statement{font-size:13px}
  #mps-app .mps-svg-y9trig-role,#mps-app .mps-svg-y9trig-info-heading,#mps-app .mps-svg-y9trig-info-value{font-size:11px}
  #mps-app .mps-svg-y9trig-angle,#mps-app .mps-svg-y9trig-unknown{font-size:17px}
}
@media print{
  #mps-app .mps-svg-y9trig-panel,#mps-app .mps-svg-y9trig-triangle,#mps-app .mps-svg-y9trig-target,#mps-app .mps-svg-y9trig-info,#mps-app .mps-svg-y9trig-rectangle{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}


/* Year 9 Probability */
#mps-app .mps-svg-year9-probability{display:block;width:100%;height:auto;max-width:760px;margin:0 auto;overflow:visible}
#mps-app .mps-svg-y9p-panel{fill:#f8fbff;stroke:#b8cce3;stroke-width:2.3}
#mps-app .mps-svg-y9p-badge{fill:#1d4ed8;font:900 13px system-ui,sans-serif;text-anchor:middle;letter-spacing:1.15px}
#mps-app .mps-svg-y9p-target{fill:#fff7ed;stroke:#ea580c;stroke-width:2.7;stroke-dasharray:7 5}
#mps-app .mps-svg-y9p-target-text{fill:#9a3412;font:900 16px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y9p-card{fill:#fff;stroke:#b9cde0;stroke-width:2;filter:drop-shadow(0 3px 4px rgba(23,49,95,.08))}
#mps-app .mps-svg-y9p-card.target{fill:#fff7ed;stroke:#ea580c;stroke-dasharray:7 5}
#mps-app .mps-svg-y9p-card-heading{fill:#526176;font:800 13px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y9p-card-value{fill:#17315f;font:900 18px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y9p-caption{fill:#526176;font:750 13px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y9p-universal{fill:#fff;stroke:#64748b;stroke-width:2.4}
#mps-app .mps-svg-y9p-set{stroke:#17315f;stroke-width:3;fill-opacity:.42}
#mps-app .mps-svg-y9p-set.set-a{fill:#60a5fa}
#mps-app .mps-svg-y9p-set.set-b{fill:#4ade80}
#mps-app .mps-svg-y9p-set-label{fill:#17315f;font:950 17px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y9p-region-value{fill:#172554;font:900 17px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y9p-table-head{fill:#17315f;stroke:#fff;stroke-width:1.5}
#mps-app .mps-svg-y9p-table-head-text{fill:#fff;font:850 13px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y9p-table-cell{fill:#fff;stroke:#b9cde0;stroke-width:1.5}
#mps-app .mps-svg-y9p-table-cell.alt{fill:#eef6ff}
#mps-app .mps-svg-y9p-table-row-label{fill:#17315f;font:850 13px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y9p-table-value{fill:#17315f;font:900 14px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y9p-branch{fill:none;stroke:#2563eb;stroke-width:3;stroke-linecap:round}
#mps-app .mps-svg-y9p-arrowhead{fill:#2563eb}
#mps-app .mps-svg-y9p-node{fill:#fff;stroke:#17315f;stroke-width:2.5}
#mps-app .mps-svg-y9p-outcome{fill:#17315f;font:900 15px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y9p-probability{fill:#7c2d12;font:850 13px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-y9p-statement-box{fill:#eef6ff;stroke:#93b7dd;stroke-width:2.2}
#mps-app .mps-svg-y9p-statement{fill:#17315f;font:900 16px system-ui,sans-serif;text-anchor:middle}
@media(max-width:650px){
  #mps-app .mps-svg-year9-probability{width:100%;max-width:100%}
  #mps-app .mps-svg-y9p-target-text,#mps-app .mps-svg-y9p-card-value,#mps-app .mps-svg-y9p-statement{font-size:13px}
  #mps-app .mps-svg-y9p-card-heading,#mps-app .mps-svg-y9p-caption,#mps-app .mps-svg-y9p-table-head-text,#mps-app .mps-svg-y9p-table-row-label,#mps-app .mps-svg-y9p-table-value,#mps-app .mps-svg-y9p-probability{font-size:10.5px}
}
@media print{
  #mps-app .mps-svg-y9p-panel,#mps-app .mps-svg-y9p-target,#mps-app .mps-svg-y9p-card,#mps-app .mps-svg-y9p-universal,#mps-app .mps-svg-y9p-set,#mps-app .mps-svg-y9p-table-head,#mps-app .mps-svg-y9p-table-cell,#mps-app .mps-svg-y9p-statement-box{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

/* v3.65.0: Core Trigonometry curriculum, collision-safe labels and reproducible question references. */
#mps-app .mps-svg-year9-statistics{display:block;width:100%;height:auto;max-width:760px;margin:0 auto;overflow:visible}
#mps-app .mps-svg-year9-statistics .mps-svg-y9s-panel{fill:#f8fbff;stroke:#9fb8d4;stroke-width:2.3}
#mps-app .mps-svg-year9-statistics .mps-svg-y9s-heading{font-size:18px;font-weight:850;fill:#17365d;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-svg-year9-statistics .mps-svg-y9s-grid{stroke:#dbe7f4;stroke-width:1}
#mps-app .mps-svg-year9-statistics .mps-svg-y9s-axis{fill:none;stroke:#17365d;stroke-width:2.2}
#mps-app .mps-svg-year9-statistics .mps-svg-y9s-scale{font-size:12px;font-weight:700;fill:#334e68;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-svg-year9-statistics .mps-svg-y9s-axis-label{font-size:14px;font-weight:800;fill:#17365d;text-anchor:middle}
#mps-app .mps-svg-year9-statistics .mps-svg-y9s-point{fill:none;stroke:#2563eb;stroke-width:3;stroke-linecap:round}
#mps-app .mps-svg-year9-statistics .mps-svg-y9s-cumulative{fill:none;stroke:#2563eb;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
#mps-app .mps-svg-year9-statistics .mps-svg-y9s-guide{fill:none;stroke:#f97316;stroke-width:2.2;stroke-dasharray:7 5}
#mps-app .mps-svg-year9-statistics .mps-svg-y9s-histogram-bar{fill:#93c5fd;stroke:#1d4ed8;stroke-width:2}
#mps-app .mps-svg-year9-statistics .mps-svg-y9s-histogram-bar.target{fill:#fed7aa;stroke:#ea580c;stroke-width:3}
#mps-app .mps-svg-year9-statistics .mps-svg-y9s-target{fill:#fff7ed;stroke:#f97316;stroke-width:2.4;stroke-dasharray:6 4}
#mps-app .mps-svg-year9-statistics .mps-svg-y9s-target-text{font-size:15px;font-weight:850;fill:#9a3412;text-anchor:middle;dominant-baseline:middle}
@media(max-width:700px){
  #mps-app .mps-svg-year9-statistics{width:100%;max-width:100%}
  #mps-app .mps-svg-year9-statistics .mps-svg-y9s-heading{font-size:16px}
  #mps-app .mps-svg-year9-statistics .mps-svg-y9s-axis-label{font-size:13px}
}
@media print{
  #mps-app .mps-svg-year9-statistics .mps-svg-y9s-panel,#mps-app .mps-svg-year9-statistics .mps-svg-y9s-cumulative,#mps-app .mps-svg-year9-statistics .mps-svg-y9s-histogram-bar,#mps-app .mps-svg-year9-statistics .mps-svg-y9s-target{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}


/* v3.65.0: Question-reference controls, Core Trigonometry support and collision-safe mathematical annotations. */
#mps-app .mps-curriculum-note{display:none;margin:-2px 0 14px;padding:12px 14px;border:1px solid #bfdbfe;border-radius:14px;background:#eff6ff;color:#1e3a5f;font-size:.88rem;line-height:1.5}
#mps-app .mps-curriculum-note.show{display:block}
#mps-app .mps-core-number-svg{display:block;width:100%;height:auto;max-width:760px;margin:0 auto;overflow:visible}
#mps-app .mps-core-panel-bg{fill:#f8fbff;stroke:#bfd5ee;stroke-width:2}
#mps-app .mps-core-card-bg{fill:#fff;stroke:#cbd5e1;stroke-width:2}
#mps-app .mps-core-target .mps-core-card-bg{fill:#fff7ed;stroke:#f59e0b;stroke-dasharray:7 5}
#mps-app .mps-core-title{font-size:22px;font-weight:800;fill:#102a43}
#mps-app .mps-core-heading{font-size:14px;font-weight:700;fill:#486581}
#mps-app .mps-core-value{font-size:21px;font-weight:800;fill:#0f3b66}
#mps-app .mps-core-question{font-size:34px;font-weight:900;fill:#b45309}
#mps-app .mps-core-calculator{font-size:13px;font-weight:700;fill:#526d82}
@media(max-width:640px){
  #mps-app .mps-curriculum-note{font-size:.82rem}
  #mps-app .mps-core-title{font-size:20px}
  #mps-app .mps-core-value{font-size:18px}
}
@media print{
  #mps-app .mps-curriculum-note{display:none!important}
  #mps-app .mps-core-panel-bg,#mps-app .mps-core-card-bg{fill:#fff!important}
  #mps-app .mps-core-number-svg{max-width:100%!important}
}

.mps-question-reference-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px;padding:12px 14px;border:1px solid #d8e3ef;border-radius:14px;background:#f8fbff;font-size:13px;color:#526174}.mps-question-reference-row code{font-weight:700;color:#173f75;overflow-wrap:anywhere}.mps-question-reference-row .mps-btn{padding:9px 13px;font-size:13px}.mps-replay-panel{margin-top:14px;padding:15px;border:1px solid #d8e3ef;border-radius:16px;background:#f8fbff}.mps-replay-panel h3{margin:0 0 7px}.mps-replay-panel input{width:100%;box-sizing:border-box;margin:8px 0 10px}.mps-replay-result{margin-top:10px;font-size:13px;overflow-wrap:anywhere}.mps-replay-result.success{padding:12px;border-radius:12px;background:#ecfdf3;color:#166534}.mps-replay-result.error{padding:12px;border-radius:12px;background:#fff1f2;color:#9f1239}.mps-report-reference{font-size:12px;color:#64748b;overflow-wrap:anywhere}@media(max-width:620px){.mps-question-reference-row{align-items:flex-start}.mps-question-reference-row .mps-btn{width:100%}}


/* v3.65.0: collision-safe geometry and trigonometry labels with answer-safe Core diagrams. */
#mps-app .mps-svg-y7g-given,#mps-app .mps-svg-y7g-target,#mps-app .mps-svg-y7g-small,#mps-app .mps-svg-y7g-caption,#mps-app .mps-svg-geometry-value,#mps-app .mps-svg-geometry-unknown{paint-order:stroke;stroke:#f8fbff;stroke-width:6px;stroke-linejoin:round}
#mps-app .mps-core-mensuration-svg{display:block;width:100%;height:auto;max-width:780px;margin:0 auto;overflow:visible}
#mps-app .mps-core-mensuration-panel{fill:#f8fbff;stroke:#abc4de;stroke-width:2.2}
#mps-app .mps-core-mensuration-title{fill:#17365d;font-size:21px;font-weight:900}
#mps-app .mps-core-mensuration-card,#mps-app .mps-core-mensuration-info{fill:#fff;stroke:#c8d8e8;stroke-width:2}
#mps-app .mps-core-mensuration-card.target,#mps-app .mps-core-mensuration-info.target{fill:#fff7ed;stroke:#f59e0b;stroke-dasharray:7 5}
#mps-app .mps-core-mensuration-card-heading,#mps-app .mps-core-mensuration-info-heading{fill:#526176;font-size:13px;font-weight:800}
#mps-app .mps-core-mensuration-card-value,#mps-app .mps-core-mensuration-info-value{fill:#17365d;font-size:18px;font-weight:900}
#mps-app .mps-core-mensuration-target{fill:#9a3412;font-size:26px;font-weight:950}
#mps-app .mps-core-mensuration-shape{fill:#dbeafe;stroke:#17365d;stroke-width:3;stroke-linejoin:round}
#mps-app .mps-core-mensuration-solid{fill:none;stroke:#17365d;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
#mps-app .mps-core-mensuration-secondary{fill:none;stroke:#0f766e;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
#mps-app .mps-core-mensuration-guide{fill:none;stroke:#7c3aed;stroke-width:2.5;stroke-dasharray:7 5;stroke-linecap:round}
#mps-app .mps-core-mensuration-cut{fill:#fff;stroke:#dc2626;stroke-width:2.5;stroke-dasharray:7 5}
#mps-app .mps-core-mensuration-angle{fill:#17365d;font-size:15px;font-weight:900}
#mps-app .mps-core-mensuration-result{fill:#fff7ed;stroke:#f97316;stroke-width:2.4;stroke-dasharray:6 4}
#mps-app .mps-core-mensuration-result-text{fill:#9a3412;font-size:15px;font-weight:900}
@media(max-width:650px){
  #mps-app .mps-core-mensuration-title{font-size:18px}
  #mps-app .mps-core-mensuration-card-heading,#mps-app .mps-core-mensuration-info-heading{font-size:11px}
  #mps-app .mps-core-mensuration-card-value,#mps-app .mps-core-mensuration-info-value{font-size:15px}
}
@media print{
  #mps-app .mps-core-mensuration-panel,#mps-app .mps-core-mensuration-card,#mps-app .mps-core-mensuration-info,#mps-app .mps-core-mensuration-shape,#mps-app .mps-core-mensuration-result{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}


/* v3.65.0: keep trigonometry labels legible and clear of diagram lines. */
#mps-app .mps-core-trig-svg .mps-svg-y9trig-side-label,
#mps-app .mps-core-trig-svg .mps-svg-y9trig-angle,
#mps-app .mps-core-trig-svg .mps-svg-y9trig-point-label,
#mps-app .mps-core-trig-svg .mps-svg-y9trig-role{paint-order:stroke fill;stroke:#f8fbff;stroke-width:6px;stroke-linejoin:round}
#mps-app .mps-core-trig-svg .mps-svg-y9trig-angle{stroke-width:7px}
@media print{#mps-app .mps-core-trig-svg .mps-svg-y9trig-side-label,#mps-app .mps-core-trig-svg .mps-svg-y9trig-angle,#mps-app .mps-core-trig-svg .mps-svg-y9trig-point-label,#mps-app .mps-core-trig-svg .mps-svg-y9trig-role{stroke:#fff}}

/* v3.66.0: Core Transformations and vectors and balanced question-reference guide. */
#mps-app .mps-core-transform-svg{display:block;width:100%;height:auto;max-width:780px;margin:0 auto;overflow:visible}
#mps-app .mps-core-transform-panel{fill:#f8fbff;stroke:#abc4de;stroke-width:2.2}
#mps-app .mps-core-transform-badge{fill:#1d4ed8;font:900 13px system-ui,sans-serif;text-anchor:middle;letter-spacing:1px}
#mps-app .mps-core-transform-plot{fill:#fff;stroke:#9fb8d4;stroke-width:2}
#mps-app .mps-core-transform-grid{fill:none;stroke:#e2e8f0;stroke-width:1}
#mps-app .mps-core-transform-axis{fill:none;stroke:#17365d;stroke-width:2.6}
#mps-app .mps-core-transform-scale{fill:#526176;font:750 11px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-core-transform-axis-label{fill:#17365d;font:900 14px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-core-transform-shape{stroke:#17365d;stroke-width:3;stroke-linejoin:round}
#mps-app .mps-core-transform-shape.original{fill:#bfdbfe;fill-opacity:.82}
#mps-app .mps-core-transform-shape.image{fill:#fed7aa;fill-opacity:.8;stroke:#c2410c}
#mps-app .mps-core-transform-point{stroke:#fff;stroke-width:3}
#mps-app .mps-core-transform-point.original{fill:#2563eb}
#mps-app .mps-core-transform-point.image{fill:#ea580c}
#mps-app .mps-core-transform-point-label,#mps-app .mps-core-transform-centre-label{font:900 13px system-ui,sans-serif;text-anchor:middle;paint-order:stroke fill;stroke:#fff;stroke-width:6px;stroke-linejoin:round}
#mps-app .mps-core-transform-point-label.original{fill:#17365d}
#mps-app .mps-core-transform-point-label.image{fill:#9a3412}
#mps-app .mps-core-transform-mirror{fill:none;stroke:#7c3aed;stroke-width:3;stroke-dasharray:8 6}
#mps-app .mps-core-transform-centre{fill:#dc2626;stroke:#fff;stroke-width:3}
#mps-app .mps-core-transform-centre-label{fill:#991b1b}
#mps-app .mps-core-transform-vector{fill:none;stroke:#0f766e;stroke-width:4;stroke-linecap:round}
#mps-app .mps-core-transform-arrowhead{fill:#0f766e}
#mps-app .mps-core-transform-info{fill:#fff;stroke:#c8d8e8;stroke-width:2}
#mps-app .mps-core-transform-info-heading{fill:#17365d;font:900 17px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-core-transform-info-value{fill:#526176;font:800 13px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-core-transform-target{fill:#fff7ed;stroke:#f97316;stroke-width:2.5;stroke-dasharray:7 5}
#mps-app .mps-core-transform-target-text{fill:#9a3412;font:900 16px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-core-transform-caption{fill:#64748b;font:750 12px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-reference-guide-grid article{min-width:0}
#mps-app .mps-reference-guide-grid article h3{color:#173f75}
@media(max-width:650px){
  #mps-app .mps-core-transform-badge{font-size:11px}
  #mps-app .mps-core-transform-info-heading{font-size:14px}
  #mps-app .mps-core-transform-info-value,#mps-app .mps-core-transform-target-text{font-size:11px}
  #mps-app .mps-core-transform-point-label,#mps-app .mps-core-transform-centre-label{font-size:11px}
}
@media print{
  #mps-app .mps-core-transform-panel,#mps-app .mps-core-transform-plot,#mps-app .mps-core-transform-shape,#mps-app .mps-core-transform-info,#mps-app .mps-core-transform-target{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  #mps-app .mps-reference-guide{display:none!important}
}


/* v3.67.0: Core Probability, answer-safe diagrams and extra target-strip clearance. */
#mps-app .mps-core-probability-svg{display:block;width:100%;height:auto;max-width:760px;margin:0 auto;overflow:visible}
#mps-app .mps-core-probability-svg .mps-svg-y8p-target-text,#mps-app .mps-core-probability-svg .mps-svg-question-target{paint-order:stroke fill;stroke:#fff;stroke-width:5px;stroke-linejoin:round}
#mps-app .mps-core-probability-svg .mps-svg-y8p-branch-label,#mps-app .mps-core-probability-svg .mps-svg-y8p-outcome,#mps-app .mps-core-probability-svg .mps-svg-y7p-sector-label{paint-order:stroke fill;stroke:#fff;stroke-width:2px;stroke-linejoin:round}
@media(max-width:650px){#mps-app .mps-core-probability-svg .mps-svg-y8p-branch-label,#mps-app .mps-core-probability-svg .mps-svg-y8p-outcome{font-size:10px}}
@media print{#mps-app .mps-core-probability-svg .mps-svg-y8p-target-text,#mps-app .mps-core-probability-svg .mps-svg-question-target,#mps-app .mps-core-probability-svg .mps-svg-y8p-branch-label,#mps-app .mps-core-probability-svg .mps-svg-y8p-outcome{stroke:#fff}}

/* v3.68.0: completed Core Statistics coverage and answer-safe statistical diagrams. */
#mps-app .mps-core-statistics-svg text{
  paint-order:stroke fill;
  stroke:#fff;
  stroke-width:1.5px;
  stroke-linejoin:round;
}
#mps-app .mps-core-statistics-svg .mps-svg-question-target{
  stroke:#fff7ed;
  stroke-width:2px;
}

/* v3.69.0: Extended Number coverage and answer-safe Extended curriculum metadata. */


/* v3.70.0: collision-resistant Extended Algebra and graphs visuals. */
#mps-app .mps-extended-algebra-graphs-svg{display:block;width:100%;height:auto;max-width:760px;margin:14px auto;color:var(--navy)}
#mps-app .mps-extended-graph-svg text{font-family:Arial,Helvetica,sans-serif;pointer-events:none}
#mps-app .mps-extended-graph-svg{overflow:visible}
@media (max-width:620px){#mps-app .mps-extended-graph-svg text{font-size:14px}}


/* v3.71.0: collision-resistant Extended Coordinate geometry visuals. */
#mps-app .mps-extended-coordinate-geometry-svg{display:block;width:100%;height:auto;max-width:760px;margin:14px auto;overflow:visible;color:var(--navy)}
#mps-app .mps-extended-coordinate-geometry-svg text{font-family:Arial,Helvetica,sans-serif;paint-order:stroke fill;stroke:#fff;stroke-width:3px;stroke-linejoin:round;pointer-events:none}
#mps-app .mps-extended-coordinate-geometry-svg .mps-svg-y8g-grid{stroke-width:1px}
#mps-app .mps-extended-coordinate-geometry-svg .mps-svg-y8g-point-label{font-weight:800}
@media(max-width:620px){#mps-app .mps-extended-coordinate-geometry-svg text{font-size:13px;stroke-width:3.5px}}
@media print{#mps-app .mps-extended-coordinate-geometry-svg text{stroke:#fff;-webkit-print-color-adjust:exact;print-color-adjust:exact}}

/* v3.72.0: collision-resistant, answer-safe Extended Geometry visuals. */
#mps-app .mps-extended-geometry-svg{display:block;width:100%;height:auto;max-width:780px;margin:14px auto;overflow:visible;color:var(--navy)}
#mps-app .mps-extended-geometry-svg text{font-family:Arial,Helvetica,sans-serif;paint-order:stroke fill;stroke:#fff;stroke-width:4px;stroke-linejoin:round;pointer-events:none}
#mps-app .mps-svg-eg-panel{fill:#f8fbff;stroke:#a9c2dc;stroke-width:2.2}
#mps-app .mps-svg-eg-badge{fill:#173f75;font-size:14px;font-weight:900;letter-spacing:.8px;text-anchor:middle}
#mps-app .mps-svg-eg-card{fill:#fff;stroke:#c8d8e8;stroke-width:2}
#mps-app .mps-svg-eg-card.target,#mps-app .mps-svg-eg-target{fill:#fff7ed;stroke:#f97316;stroke-width:2.5;stroke-dasharray:7 5}
#mps-app .mps-svg-eg-card-heading{fill:#526176;font-size:14px;font-weight:850;text-anchor:middle}
#mps-app .mps-svg-eg-card-value,#mps-app .mps-svg-eg-target-text{fill:#17365d;font-size:21px;font-weight:950;text-anchor:middle}
#mps-app .mps-svg-eg-card.target .mps-svg-eg-card-value,#mps-app .mps-svg-eg-target-text{fill:#9a3412}
#mps-app .mps-svg-eg-line,#mps-app .mps-svg-eg-ruler,#mps-app .mps-svg-eg-segment,#mps-app .mps-svg-eg-solid,#mps-app .mps-svg-eg-shape,#mps-app .mps-svg-eg-circle,#mps-app .mps-svg-eg-chord,#mps-app .mps-svg-eg-radius,#mps-app .mps-svg-eg-tangent{fill:none;stroke:#17365d;stroke-width:3.3;stroke-linecap:round;stroke-linejoin:round}
#mps-app .mps-svg-eg-shape{fill:#dbeafe;fill-opacity:.75}
#mps-app .mps-svg-eg-shape.large{fill:#dcfce7;stroke:#166534}
#mps-app .mps-svg-eg-arc,#mps-app .mps-svg-eg-construction-arc{fill:none;stroke:#7c3aed;stroke-width:3;stroke-dasharray:8 6;stroke-linecap:round}
#mps-app .mps-svg-eg-construction-arc{stroke:#0f766e}
#mps-app .mps-svg-eg-net-face{fill:#dbeafe;stroke:#17365d;stroke-width:2.5}
#mps-app .mps-svg-eg-equality{fill:none;stroke:#dc2626;stroke-width:3.2;stroke-linecap:round}
#mps-app .mps-svg-eg-symmetry-axis{fill:none;stroke:#7c3aed;stroke-width:3;stroke-dasharray:8 6}
#mps-app .mps-svg-eg-symmetry-plane{fill:none;stroke:#0f766e;stroke-width:5;stroke-opacity:.55;stroke-dasharray:12 7}
#mps-app .mps-svg-eg-tick{stroke:#526176;stroke-width:2}
#mps-app .mps-svg-eg-point{fill:#dc2626;stroke:#fff;stroke-width:2.5}
#mps-app .mps-svg-eg-centre{fill:#17365d;stroke:#fff;stroke-width:2}
#mps-app .mps-svg-eg-right-angle{fill:none;stroke:#dc2626;stroke-width:2.5}
#mps-app .mps-svg-eg-point-label,#mps-app .mps-svg-eg-angle-label{fill:#17365d;font-size:15px;font-weight:900;text-anchor:middle;stroke-width:6px}
#mps-app .mps-svg-eg-caption{fill:#526176;font-size:13px;font-weight:750;text-anchor:middle;stroke-width:4px}
#mps-app .mps-svg-eg-scale{fill:#526176;font-size:12px;font-weight:800;text-anchor:middle;stroke-width:4px}
#mps-app .mps-svg-eg-question-target,#mps-app .mps-extended-geometry-svg .mps-svg-question-target{fill:#9a3412;font-weight:950;stroke:#fff7ed;stroke-width:6px}
@media(max-width:620px){
  #mps-app .mps-extended-geometry-svg text{font-size:12px;stroke-width:4.5px}
  #mps-app .mps-svg-eg-card-heading{font-size:12px}
  #mps-app .mps-svg-eg-card-value,#mps-app .mps-svg-eg-target-text{font-size:18px}
}
@media print{
  #mps-app .mps-extended-geometry-svg text{stroke:#fff;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  #mps-app .mps-svg-eg-panel,#mps-app .mps-svg-eg-card,#mps-app .mps-svg-eg-target,#mps-app .mps-svg-eg-net-face,#mps-app .mps-svg-eg-shape{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}


/* v3.73.0: collision-resistant, answer-safe Extended Mensuration visuals. */
#mps-app .mps-extended-mensuration-svg{display:block;width:100%;height:auto;max-width:780px;margin:14px auto;overflow:visible;color:var(--navy)}
#mps-app .mps-extended-mensuration-svg text{font-family:Arial,Helvetica,sans-serif;paint-order:stroke fill;stroke:#f8fbff;stroke-width:5px;stroke-linejoin:round;pointer-events:none}
#mps-app .mps-extended-mensuration-svg .mps-core-mensuration-shape,#mps-app .mps-extended-mensuration-svg .mps-core-mensuration-solid{stroke-width:3.4}
#mps-app .mps-extended-mensuration-svg .mps-core-mensuration-cut{fill:#fff;stroke:#7c3aed;stroke-width:2.8;stroke-dasharray:7 5}
#mps-app .mps-extended-mensuration-svg .mps-core-mensuration-guide{stroke:#0f766e;stroke-width:2.8;stroke-dasharray:7 5}
#mps-app .mps-extended-mensuration-svg .mps-svg-question-target{stroke:#fff7ed;stroke-width:6px}
@media(max-width:620px){#mps-app .mps-extended-mensuration-svg text{font-size:12px;stroke-width:5.5px}}
@media print{#mps-app .mps-extended-mensuration-svg text{stroke:#fff;-webkit-print-color-adjust:exact;print-color-adjust:exact}}


/* v3.74.0: collision-resistant, answer-safe Extended Trigonometry visuals. */
#mps-app .mps-extended-trig-svg .mps-svg-etrig-panel{fill:#f8fbff;stroke:#b8cce3;stroke-width:2.3}
#mps-app .mps-extended-trig-svg .mps-svg-etrig-badge{fill:#1d4ed8;font:900 13px system-ui,sans-serif;text-anchor:middle;letter-spacing:1.1px}
#mps-app .mps-extended-trig-svg .mps-svg-etrig-card{fill:#fff;stroke:#bfd0e2;stroke-width:2}
#mps-app .mps-extended-trig-svg .mps-svg-etrig-card.target{fill:#fff7ed;stroke:#ea580c;stroke-dasharray:7 5}
#mps-app .mps-extended-trig-svg .mps-svg-etrig-card-heading{fill:#526176;font:800 13px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-extended-trig-svg .mps-svg-etrig-card-value{fill:#17315f;font:900 19px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-extended-trig-svg .mps-svg-etrig-card-sub{fill:#526176;font:750 12px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-extended-trig-svg .mps-svg-etrig-target{fill:#fff7ed;stroke:#ea580c;stroke-width:2.7;stroke-dasharray:7 5}
#mps-app .mps-extended-trig-svg .mps-svg-etrig-target-text{fill:#9a3412;font:900 15px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-extended-trig-svg .mps-svg-etrig-reference-line,#mps-app .mps-extended-trig-svg .mps-svg-etrig-axis{stroke:#17315f;stroke-width:3;fill:none}
#mps-app .mps-extended-trig-svg .mps-svg-etrig-point{fill:#dc2626;stroke:#fff;stroke-width:3}
#mps-app .mps-extended-trig-svg .mps-svg-etrig-point-label,#mps-app .mps-extended-trig-svg .mps-svg-etrig-line-label{fill:#17315f;font:900 15px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-extended-trig-svg .mps-svg-etrig-perpendicular{stroke:#2563eb;stroke-width:4;fill:none}
#mps-app .mps-extended-trig-svg .mps-svg-etrig-alternative{stroke:#94a3b8;stroke-width:3;stroke-dasharray:8 6;fill:none}
#mps-app .mps-extended-trig-svg .mps-svg-etrig-alternative.faint{opacity:.6}
#mps-app .mps-extended-trig-svg .mps-svg-etrig-right{stroke:#dc2626;stroke-width:3;fill:none;stroke-linejoin:round}
#mps-app .mps-extended-trig-svg .mps-svg-etrig-angle{fill:#9a3412;font:900 16px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-extended-trig-svg .mps-svg-etrig-dimension{fill:#17315f;font:900 15px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-extended-trig-svg .mps-svg-etrig-note{fill:#526176;font:800 13px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-extended-trig-svg .mps-svg-etrig-tick{stroke:#526176;stroke-width:2}
#mps-app .mps-extended-trig-svg .mps-svg-etrig-tick-label{fill:#526176;font:800 12px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-extended-trig-svg .mps-svg-etrig-axis-label{fill:#17315f;font:900 15px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-extended-trig-svg .mps-svg-etrig-curve{fill:none;stroke:#2563eb;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
#mps-app .mps-extended-trig-svg .mps-svg-etrig-curve.cos-curve{stroke:#7c3aed}
#mps-app .mps-extended-trig-svg .mps-svg-etrig-curve.tan-curve{stroke:#0f766e}
#mps-app .mps-extended-trig-svg .mps-svg-etrig-asymptote{stroke:#dc2626;stroke-width:2;stroke-dasharray:7 6;opacity:.72}
#mps-app .mps-extended-trig-svg .mps-svg-etrig-graph-key{fill:#fff;stroke:#bfd0e2;stroke-width:2}
#mps-app .mps-extended-trig-svg .mps-svg-etrig-graph-key-text{fill:#17315f;font:850 13px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-extended-trig-svg .mps-svg-etrig-triangle{fill:#dbeafe;fill-opacity:.8;stroke:#17315f;stroke-width:3.5;stroke-linejoin:round}
#mps-app .mps-extended-trig-svg .mps-svg-etrig-cuboid-face{fill:#dbeafe;fill-opacity:.46;stroke:#17315f;stroke-width:2.4}
#mps-app .mps-extended-trig-svg .mps-svg-etrig-cuboid-face.back{fill:#dcfce7;fill-opacity:.38}
#mps-app .mps-extended-trig-svg .mps-svg-etrig-cuboid-edge{stroke:#17315f;stroke-width:2.7;fill:none}
#mps-app .mps-extended-trig-svg .mps-svg-etrig-cuboid-edge.dashed{stroke-dasharray:7 5}
#mps-app .mps-extended-trig-svg .mps-svg-etrig-space-diagonal{stroke:#2563eb;stroke-width:4.5;fill:none}
#mps-app .mps-extended-trig-svg .mps-svg-etrig-projection{stroke:#ea580c;stroke-width:3;stroke-dasharray:7 5;fill:none}
#mps-app .mps-extended-trig-svg .mps-svg-etrig-pyramid{fill:#dbeafe;fill-opacity:.52;stroke:#17315f;stroke-width:3;stroke-linejoin:round}
#mps-app .mps-extended-trig-svg .mps-svg-etrig-pyramid-base{fill:#dcfce7;fill-opacity:.48;stroke:#17315f;stroke-width:2.5;stroke-linejoin:round}
#mps-app .mps-extended-trig-svg .mps-svg-etrig-pyramid-height{stroke:#7c3aed;stroke-width:3;stroke-dasharray:7 5;fill:none}
#mps-app .mps-extended-trig-svg .mps-svg-etrig-dimension,#mps-app .mps-extended-trig-svg .mps-svg-etrig-angle,#mps-app .mps-extended-trig-svg .mps-svg-etrig-point-label,#mps-app .mps-extended-trig-svg .mps-svg-etrig-note,#mps-app .mps-extended-trig-svg .mps-svg-etrig-tick-label{paint-order:stroke fill;stroke:#f8fbff;stroke-width:6px;stroke-linejoin:round}
@media(max-width:600px){
  #mps-app .mps-extended-trig-svg .mps-svg-etrig-dimension,#mps-app .mps-extended-trig-svg .mps-svg-etrig-target-text,#mps-app .mps-extended-trig-svg .mps-svg-etrig-card-value{font-size:13px}
  #mps-app .mps-extended-trig-svg .mps-svg-etrig-note,#mps-app .mps-extended-trig-svg .mps-svg-etrig-tick-label,#mps-app .mps-extended-trig-svg .mps-svg-etrig-card-heading{font-size:10px}
}
@media print{
  #mps-app .mps-extended-trig-svg .mps-svg-etrig-panel,#mps-app .mps-extended-trig-svg .mps-svg-etrig-card,#mps-app .mps-extended-trig-svg .mps-svg-etrig-target,#mps-app .mps-extended-trig-svg .mps-svg-etrig-triangle,#mps-app .mps-extended-trig-svg .mps-svg-etrig-cuboid-face,#mps-app .mps-extended-trig-svg .mps-svg-etrig-pyramid,#mps-app .mps-extended-trig-svg .mps-svg-etrig-pyramid-base{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  #mps-app .mps-extended-trig-svg .mps-svg-etrig-dimension,#mps-app .mps-extended-trig-svg .mps-svg-etrig-angle,#mps-app .mps-extended-trig-svg .mps-svg-etrig-point-label,#mps-app .mps-extended-trig-svg .mps-svg-etrig-note,#mps-app .mps-extended-trig-svg .mps-svg-etrig-tick-label{stroke:#fff}
}


/* v3.75.0 Extended Transformations and vectors */
#mps-app .mps-extended-transform-vector-svg{display:block;width:100%;height:auto;max-width:790px;margin:0 auto;overflow:visible}
#mps-app .mps-extended-vector-panel{fill:#f8fbff;stroke:#9fb8d4;stroke-width:2.2}
#mps-app .mps-extended-vector-badge{fill:#4c1d95;font:900 13px system-ui,sans-serif;text-anchor:middle;letter-spacing:.9px}
#mps-app .mps-extended-vector-plot{fill:#fff;stroke:#9fb8d4;stroke-width:2}
#mps-app .mps-extended-vector-grid{fill:none;stroke:#e2e8f0;stroke-width:1}
#mps-app .mps-extended-vector-axis{fill:none;stroke:#17365d;stroke-width:2.6}
#mps-app .mps-extended-vector-scale{fill:#526176;font:750 11px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-extended-vector-axis-label{fill:#17365d;font:900 14px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-extended-vector-shape{stroke:#17365d;stroke-width:3;stroke-linejoin:round}
#mps-app .mps-extended-vector-shape.original{fill:#c7d2fe;fill-opacity:.82}
#mps-app .mps-extended-vector-shape.image{fill:#fed7aa;fill-opacity:.82;stroke:#c2410c}
#mps-app .mps-extended-vector-point{stroke:#fff;stroke-width:3}
#mps-app .mps-extended-vector-point.original{fill:#4f46e5}
#mps-app .mps-extended-vector-point.image{fill:#ea580c}
#mps-app .mps-extended-vector-point.geometry{fill:#0f766e}
#mps-app .mps-extended-vector-label,#mps-app .mps-extended-vector-arrow-label{font:900 13px system-ui,sans-serif;text-anchor:middle;paint-order:stroke fill;stroke:#fff;stroke-width:6px;stroke-linejoin:round}
#mps-app .mps-extended-vector-label{fill:#17365d}
#mps-app .mps-extended-vector-arrow-label{fill:#0f5f56}
#mps-app .mps-extended-vector-mirror{fill:none;stroke:#7c3aed;stroke-width:3;stroke-dasharray:8 6}
#mps-app .mps-extended-vector-centre{fill:#dc2626;stroke:#fff;stroke-width:3}
#mps-app .mps-extended-vector-arrow{fill:none;stroke:#0f766e;stroke-width:4;stroke-linecap:round}
#mps-app .mps-extended-vector-arrowhead{fill:#0f766e}
#mps-app .mps-extended-vector-info{fill:#fff;stroke:#c8d8e8;stroke-width:2}
#mps-app .mps-extended-vector-info-heading{fill:#17365d;font:900 17px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-extended-vector-info-value{fill:#526176;font:800 13px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-extended-vector-target{fill:#f5f3ff;stroke:#7c3aed;stroke-width:2.5;stroke-dasharray:7 5}
#mps-app .mps-extended-vector-target-text{fill:#5b21b6;font:900 16px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-extended-vector-caption{fill:#64748b;font:750 12px system-ui,sans-serif;text-anchor:middle}
@media(max-width:620px){
  #mps-app .mps-extended-vector-badge{font-size:10px}
  #mps-app .mps-extended-vector-info-heading{font-size:14px}
  #mps-app .mps-extended-vector-info-value,#mps-app .mps-extended-vector-target-text{font-size:11px}
  #mps-app .mps-extended-vector-label,#mps-app .mps-extended-vector-arrow-label{font-size:11px}
}
@media print{
  #mps-app .mps-extended-vector-panel,#mps-app .mps-extended-vector-plot,#mps-app .mps-extended-vector-shape,#mps-app .mps-extended-vector-info,#mps-app .mps-extended-vector-target{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}

/* v3.76.0 Extended Probability */
#mps-app .mps-extended-probability-svg{display:block;width:100%;height:auto;max-width:800px;margin:12px auto;overflow:visible}
#mps-app .mps-extended-probability-svg text{font-family:Arial,Helvetica,sans-serif;paint-order:stroke fill;stroke:#f8fbff;stroke-width:4.8px;stroke-linejoin:round;pointer-events:none}
#mps-app .mps-svg-ep-panel{fill:#f8fbff;stroke:#9fb8d4;stroke-width:2.3}
#mps-app .mps-svg-ep-badge{fill:#1d4ed8;font:900 13px system-ui,sans-serif;text-anchor:middle;letter-spacing:1.1px}
#mps-app .mps-svg-ep-target{fill:#fff7ed;stroke:#ea580c;stroke-width:2.8;stroke-dasharray:7 5}
#mps-app .mps-svg-ep-target-text{fill:#9a3412;font:900 15px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-ep-card{fill:#fff;stroke:#bfd0e2;stroke-width:2;filter:drop-shadow(0 3px 4px rgba(23,49,95,.08))}
#mps-app .mps-svg-ep-card.target{fill:#fff7ed;stroke:#ea580c;stroke-dasharray:7 5}
#mps-app .mps-svg-ep-card-heading{fill:#526176;font:800 13px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-ep-card-value{fill:#17315f;font:900 18px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-ep-caption{fill:#526176;font:750 13px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-ep-table-head{fill:#17315f;stroke:#fff;stroke-width:1.5}
#mps-app .mps-svg-ep-table-head-text{fill:#fff;font:850 13px system-ui,sans-serif;text-anchor:middle;stroke:#17315f;stroke-width:3px}
#mps-app .mps-svg-ep-table-cell{fill:#fff;stroke:#bfd0e2;stroke-width:1.5}
#mps-app .mps-svg-ep-table-cell.alt{fill:#eef6ff}
#mps-app .mps-svg-ep-row-label{fill:#17315f;font:850 13px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-ep-table-value{fill:#17315f;font:900 14px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-ep-branch{fill:none;stroke:#2563eb;stroke-width:3;stroke-linecap:round}
#mps-app .mps-svg-ep-arrowhead{fill:#2563eb}
#mps-app .mps-svg-ep-node{fill:#fff;stroke:#17315f;stroke-width:2.5}
#mps-app .mps-svg-ep-outcome{fill:#17315f;font:900 15px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-ep-probability{fill:#7c2d12;font:850 13px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-ep-universal{fill:#fff;stroke:#64748b;stroke-width:2.4}
#mps-app .mps-svg-ep-set{stroke:#17315f;stroke-width:3;fill-opacity:.34}
#mps-app .mps-svg-ep-set.set-a{fill:#60a5fa}
#mps-app .mps-svg-ep-set.set-b{fill:#4ade80}
#mps-app .mps-svg-ep-set.set-c{fill:#fbbf24}
#mps-app .mps-svg-ep-set-label{fill:#17315f;font:950 17px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-ep-region-value{fill:#172554;font:900 16px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-ep-axis{fill:none;stroke:#17315f;stroke-width:2.6}
#mps-app .mps-svg-ep-grid{fill:none;stroke:#dbe5f0;stroke-width:1.2}
#mps-app .mps-svg-ep-bar{fill:#60a5fa;stroke:#1d4ed8;stroke-width:2}
#mps-app .mps-svg-ep-bar-value{fill:#17315f;font:850 12px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-ep-scale{fill:#526176;font:800 11px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-svg-ep-axis-label{fill:#17315f;font:900 12px system-ui,sans-serif;text-anchor:middle}
#mps-app .mps-extended-probability-svg .mps-svg-question-target{paint-order:stroke fill;stroke:#fff7ed;stroke-width:6px;stroke-linejoin:round}
@media(max-width:620px){
  #mps-app .mps-svg-ep-badge{font-size:10px}
  #mps-app .mps-svg-ep-card-heading,#mps-app .mps-svg-ep-caption,#mps-app .mps-svg-ep-table-head-text,#mps-app .mps-svg-ep-row-label,#mps-app .mps-svg-ep-table-value,#mps-app .mps-svg-ep-probability{font-size:10px}
  #mps-app .mps-svg-ep-card-value,#mps-app .mps-svg-ep-target-text,#mps-app .mps-svg-ep-region-value{font-size:12px}
}
@media print{
  #mps-app .mps-svg-ep-panel,#mps-app .mps-svg-ep-card,#mps-app .mps-svg-ep-target,#mps-app .mps-svg-ep-table-head,#mps-app .mps-svg-ep-table-cell,#mps-app .mps-svg-ep-universal,#mps-app .mps-svg-ep-set,#mps-app .mps-svg-ep-bar{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  #mps-app .mps-extended-probability-svg text{stroke:#fff}
}


/* v3.77.0 Extended Statistics */
#mps-app .mps-extended-statistics-svg{display:block;width:100%;height:auto;max-width:820px;margin:12px auto;overflow:visible}
#mps-app .mps-extended-statistics-svg text{font-family:Arial,Helvetica,sans-serif;paint-order:stroke fill;stroke:#f8fbff;stroke-width:4.8px;stroke-linejoin:round;pointer-events:none}
#mps-app .mps-extended-statistics-svg .mps-svg-y9s-axis-label{paint-order:stroke fill;stroke:#f8fbff;stroke-width:5.5px}
#mps-app .mps-extended-statistics-svg .mps-svg-question-target{paint-order:stroke fill;stroke:#fff7ed;stroke-width:6px;stroke-linejoin:round}
#mps-app .mps-extended-statistics-svg .mps-svg-y7s-table-cell.heading{fill:#e8f1fb;stroke:#88a8ca}
@media (max-width:680px){#mps-app .mps-extended-statistics-svg{max-width:100%}#mps-app .mps-extended-statistics-svg text{stroke-width:5.3px}}
@media print{#mps-app .mps-extended-statistics-svg text{stroke:#fff}}


/* v3.78.0 Full-paper examination blueprints */
.mps-exam-options{margin:14px 0 16px;padding:14px;border:1px solid #bfdbfe;border-radius:16px;background:linear-gradient(180deg,#eff6ff 0%,#ffffff 100%)}
.mps-exam-options[hidden]{display:none!important}
.mps-exam-options h3{margin:0 0 12px;font-size:1rem;color:#1e3a8a}
.mps-exam-blueprint-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.mps-exam-blueprint-grid article{display:flex;flex-direction:column;gap:4px;min-height:112px;padding:12px;border:1px solid #dbeafe;border-radius:14px;background:#fff;box-shadow:0 6px 18px rgba(30,64,175,.07)}
.mps-exam-blueprint-grid span{font-size:.76rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#475569}
.mps-exam-blueprint-grid strong{font-size:1rem;line-height:1.35;color:#172554}
.mps-exam-blueprint-grid small{font-size:.78rem;line-height:1.4;color:#475569}
.mps-paper-summary{margin:12px 0 18px;padding:12px 14px;border:1px solid #bfdbfe;border-left:5px solid #2563eb;border-radius:12px;background:#eff6ff;color:#172554;line-height:1.5}
.mps-paper-summary strong{color:#1e3a8a}
.mps-report-paper-classification{margin:8px 0;padding:8px 10px;border-left:4px solid #2563eb;border-radius:8px;background:#eff6ff;color:#1e3a8a;font-size:.88rem}
#mps-topic:disabled,#mps-count:disabled,#mps-duration:disabled{cursor:not-allowed;background:#f1f5f9;color:#475569}
@media(max-width:680px){.mps-exam-blueprint-grid{grid-template-columns:1fr 1fr}.mps-exam-blueprint-grid article{min-height:126px;padding:10px}.mps-exam-blueprint-grid strong{font-size:.92rem}}
@media(max-width:430px){.mps-exam-blueprint-grid{grid-template-columns:1fr}.mps-exam-blueprint-grid article{min-height:auto}}
@media print{.mps-paper-summary{display:block!important;break-inside:avoid;background:#fff;border-color:#666}}


/* v3.79.0 Examination Practice 3.0: supplied formula sheet and submission review centre. */
#mps-app .mps-exam-preview-formula{margin-top:10px}
#mps-app .mps-exam-tools{padding:18px;border:1px solid #bfdbfe;border-radius:20px;background:linear-gradient(180deg,#eff6ff 0%,#ffffff 100%);box-shadow:0 9px 24px rgba(30,64,175,.09)}
#mps-app .mps-exam-tools-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:13px}
#mps-app .mps-exam-tools-head h2{margin:0;color:#172554;font-size:22px}
#mps-app .mps-exam-tools-head>strong{padding:8px 11px;border-radius:999px;background:#dbeafe;color:#1e3a8a;font-size:13px;text-align:center}
#mps-app .mps-exam-tools-kicker{margin:0 0 4px!important;color:#1d4ed8!important;font-size:11px!important;font-weight:900!important;letter-spacing:.09em!important;text-transform:uppercase!important}
#mps-app .mps-exam-review-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
#mps-app .mps-exam-review-grid article{display:flex;flex-direction:column;gap:4px;min-height:112px;padding:13px;border:1px solid #dbeafe;border-radius:14px;background:#fff}
#mps-app .mps-exam-review-grid span{font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;color:#475569}
#mps-app .mps-exam-review-grid strong{font-size:24px;color:#172554}
#mps-app .mps-exam-review-grid small{font-size:12px;line-height:1.4;color:#64748b}
#mps-app .mps-exam-tool-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:12px}
#mps-app .mps-submit-dialog-actions #mps-submit-review{grid-column:auto}
#mps-app .mps-formula-dialog{width:min(920px,100%);max-height:min(90vh,920px);overflow:auto}
#mps-app .mps-formula-dialog h2{color:#172554}
#mps-app .mps-formula-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding-bottom:14px;border-bottom:1px solid #dbe5f2}
#mps-app .mps-formula-head h2{margin:0 0 5px}
#mps-app .mps-formula-head p{margin:0!important;font-size:14px!important;color:#64748b!important}
#mps-app .mps-formula-instructions,#mps-app .mps-formula-list-section{margin-top:16px}
#mps-app .mps-formula-instructions h3,#mps-app .mps-formula-list-section h3{margin:0 0 10px;color:#17315f}
#mps-app .mps-formula-instructions ul{margin:0;padding:14px 18px 14px 34px;border:1px solid #dbeafe;border-radius:14px;background:#f8fbff}
#mps-app .mps-formula-instructions li{margin:0 0 7px;line-height:1.5}
#mps-app .mps-formula-instructions li:last-child{margin-bottom:0}
#mps-app .mps-formula-list{border:1px solid #dbe5f2;border-radius:14px;overflow:hidden}
#mps-app .mps-formula-row{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(190px,1fr);gap:14px;align-items:center;padding:11px 13px;border-bottom:1px solid #e5edf6;background:#fff}
#mps-app .mps-formula-row:nth-child(even){background:#f8fbff}
#mps-app .mps-formula-row:last-child{border-bottom:0}
#mps-app .mps-formula-row strong,#mps-app .mps-formula-row span{display:block}
#mps-app .mps-formula-row strong{color:#172554;margin-bottom:3px}
#mps-app .mps-formula-row span{font-size:12px;color:#64748b}
#mps-app .mps-formula-row code{font-family:Cambria,'Times New Roman',serif;font-size:18px;font-weight:700;color:#111827;text-align:right;white-space:normal;background:transparent;padding:0}
@media(max-width:800px){#mps-app .mps-exam-review-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){#mps-app .mps-exam-tools-head,#mps-app .mps-formula-head{align-items:stretch;flex-direction:column}#mps-app .mps-exam-tool-actions{grid-template-columns:1fr}#mps-app .mps-formula-row{grid-template-columns:1fr}#mps-app .mps-formula-row code{text-align:left}#mps-app .mps-exam-review-grid article{min-height:104px}}
@media print{#mps-app .mps-exam-tools,#mps-app #mps-formula-sheet{display:none!important}}


/* v3.80.0: learner-first layout with capability-gated administrator diagnostics near the footer. */
#mps-app .mps-platform-footer{margin-top:20px;padding:14px 16px;border:1px solid #dbe5f0;border-radius:18px;background:rgba(255,255,255,.82);box-shadow:0 8px 24px rgba(32,62,105,.06)}
#mps-app .mps-footer-meta{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;color:#64748b;font-size:12px;line-height:1.5;text-align:center}
#mps-app .mps-footer-meta strong{color:#334155}
#mps-app .mps-admin-diagnostics{margin-top:12px;border-top:1px solid #dbe5f0;padding-top:12px}
#mps-app .mps-admin-diagnostics>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;list-style:none;padding:10px 12px;border-radius:12px;color:#17315f;font-weight:900}
#mps-app .mps-admin-diagnostics>summary::-webkit-details-marker{display:none}
#mps-app .mps-admin-diagnostics>summary::after{content:'+';display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:999px;background:#e8f0fb;color:#17315f;font-size:20px;line-height:1}
#mps-app .mps-admin-diagnostics[open]>summary::after{content:'−'}
#mps-app .mps-admin-diagnostics>summary:hover,#mps-app .mps-admin-diagnostics>summary:focus-visible{background:#f3f7fc;outline:none}
#mps-app .mps-admin-diagnostics>summary span{display:block}
#mps-app .mps-admin-diagnostics>summary small{display:block;margin-left:auto;color:#64748b;font-size:12px;font-weight:700;text-align:right}
#mps-app .mps-admin-diagnostics-body{margin-top:10px;padding:18px;border:1px solid #d7e3f2;border-radius:16px;background:#f8fbff}
#mps-app .mps-admin-diagnostics-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,280px);gap:18px;align-items:start}
#mps-app .mps-admin-diagnostics-head h2{margin:7px 0 6px;font-size:22px;color:#17315f}
#mps-app .mps-admin-diagnostics-head p{margin:0;color:#526174;line-height:1.6}
#mps-app .mps-admin-badge{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;background:#fff1c7;color:#6b4c00;border:1px solid #ecd276;font-size:11px;font-weight:900;letter-spacing:.03em;text-transform:uppercase}
#mps-app .mps-admin-diagnostics-actions{display:grid;grid-template-columns:1fr;gap:9px}
#mps-app .mps-admin-diagnostics-actions .mps-btn{width:100%}
#mps-app .mps-admin-diagnostics-actions .mps-btn:disabled{opacity:.55;cursor:not-allowed;transform:none;box-shadow:none}
#mps-app .mps-admin-diagnostics[aria-busy="true"] #mps-diagnostics{cursor:wait}
#mps-app .mps-test-meta{margin:14px 0 0}
#mps-app .mps-copy-diagnostics-status{min-height:1.5em;margin:9px 0 0}
#mps-app .mps-admin-diagnostics .mps-test-panel{margin-top:14px;background:#fff}
@media(max-width:700px){
  #mps-app .mps-admin-diagnostics>summary{align-items:flex-start}
  #mps-app .mps-admin-diagnostics>summary small{display:none}
  #mps-app .mps-admin-diagnostics-head{grid-template-columns:1fr}
}

/* v3.81.0: qualification grading guidance and browser-generated examination chime. */
#mps-app .mps-exam-audio-card .mps-check{margin:2px 0 0;padding:0;border:0;background:transparent;align-items:flex-start;font-size:.86rem;line-height:1.4;text-transform:none;letter-spacing:normal;color:#172554}
#mps-app .mps-exam-audio-card .mps-check input{margin-top:3px}
#mps-app .mps-audio-test{width:100%;min-height:40px;margin:2px 0 0;padding:9px 11px;font-size:.86rem}
#mps-app #mps-audio-status.is-ready{color:#166534;font-weight:800}
#mps-app #mps-audio-status.is-error{color:#b91c1c;font-weight:800}
#mps-app .mps-grade-guidance{margin:18px 0;padding:16px;border:1px solid #cbd5e1;border-radius:16px;background:#f8fafc}
#mps-app .mps-grade-guidance[hidden]{display:none!important}
#mps-app .mps-grade-guidance h3{margin:0 0 12px;color:#172554}
#mps-app .mps-grade-guidance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#mps-app .mps-grade-guidance-grid article{display:flex;flex-direction:column;gap:5px;padding:14px;border:1px solid #dbe5f0;border-radius:14px;background:#fff}
#mps-app .mps-grade-guidance-grid span{font-size:12px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;color:#64748b}
#mps-app .mps-grade-guidance-grid strong{font-size:18px;line-height:1.35;color:#172554}
#mps-app .mps-grade-guidance-grid small{font-size:13px;line-height:1.5;color:#475569}
#mps-app .mps-time-expired-dialog{border-top:8px solid #dc2626;text-align:center}
#mps-app .mps-time-expired-dialog h2{color:#991b1b}
#mps-app .mps-time-expired-dialog .mps-dialog-actions{grid-template-columns:1fr}
@media(max-width:620px){#mps-app .mps-grade-guidance-grid{grid-template-columns:1fr}}
@media print{#mps-app .mps-grade-guidance{display:block!important;background:#fff;break-inside:avoid}#mps-app #mps-time-expired{display:none!important}}


/* v3.82.0: Examination Focus and Recovery 4.0. */
#mps-app .mps-exam-focus-card .mps-check,#mps-app .mps-exam-recovery-card .mps-check{margin:1px 0 0;padding:9px 10px;border-radius:11px;background:#f8fafc;line-height:1.35}
#mps-app .mps-exam-focus-card input,#mps-app .mps-exam-recovery-card input{flex:0 0 auto}
#mps-app .mps-exam-continuity-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0}
#mps-app .mps-exam-continuity-grid article{display:flex;min-width:0;min-height:104px;flex-direction:column;gap:5px;padding:12px;border:1px solid #dbeafe;border-radius:14px;background:#fff}
#mps-app .mps-exam-continuity-grid span{font-size:.73rem;font-weight:900;letter-spacing:.055em;text-transform:uppercase;color:#475569}
#mps-app .mps-exam-continuity-grid strong{overflow-wrap:anywhere;font-size:.94rem;line-height:1.3;color:#172554}
#mps-app .mps-exam-continuity-grid strong.is-good{color:#166534}
#mps-app .mps-exam-continuity-grid strong.is-warning{color:#92400e}
#mps-app .mps-exam-continuity-grid strong.is-error{color:#991b1b}
#mps-app .mps-exam-continuity-grid small{font-size:.76rem;line-height:1.38;color:#64748b}
#mps-app .mps-exam-continuity-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 12px}
#mps-app:fullscreen,#mps-app:-webkit-full-screen{height:100vh;overflow:auto;padding:16px;background:#eef4fb}
#mps-app:fullscreen .mps-shell,#mps-app:-webkit-full-screen .mps-shell{max-width:1480px;margin:0 auto}
@media(max-width:900px){#mps-app .mps-exam-continuity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){#mps-app .mps-exam-continuity-grid,#mps-app .mps-exam-continuity-actions{grid-template-columns:1fr}#mps-app .mps-exam-continuity-grid article{min-height:auto}}
@media print{#mps-app .mps-exam-continuity-grid,#mps-app .mps-exam-continuity-actions{display:none!important}}


/* v3.83.0: Question Engine Transparency and Variation Audit. */
#mps-app .mps-engine-coverage{margin-bottom:18px}
#mps-app .mps-engine-coverage-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,310px);gap:18px;align-items:start}
#mps-app .mps-engine-coverage-head h2{margin:7px 0 6px;font-size:22px;color:#17315f}
#mps-app .mps-engine-coverage-head p{margin:0;color:#526174;line-height:1.6}
#mps-app .mps-engine-coverage-actions{display:grid;gap:9px}
#mps-app .mps-engine-coverage-actions .mps-btn{width:100%}
#mps-app .mps-engine-coverage-actions .mps-btn:disabled{opacity:.55;cursor:not-allowed;transform:none;box-shadow:none}
#mps-app .mps-engine-coverage-grid,#mps-app .mps-variation-results{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:16px}
#mps-app .mps-engine-coverage-grid article,#mps-app .mps-variation-results article{padding:15px;border:1px solid #d9e5f2;border-radius:15px;background:#fff;min-width:0}
#mps-app .mps-engine-coverage-grid span,#mps-app .mps-variation-results span{display:block;color:#64748b;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
#mps-app .mps-engine-coverage-grid strong,#mps-app .mps-variation-results strong{display:block;margin-top:6px;color:#17315f;font-size:20px;line-height:1.25;overflow-wrap:anywhere}
#mps-app .mps-engine-coverage-grid small,#mps-app .mps-variation-results small{display:block;margin-top:6px;color:#526174;line-height:1.45}
#mps-app .mps-family-breakdown-details{margin-top:14px;border:1px solid #d9e5f2;border-radius:14px;background:#fff}
#mps-app .mps-family-breakdown-details>summary{cursor:pointer;padding:13px 15px;color:#17315f;font-weight:900}
#mps-app .mps-family-breakdown-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:0 15px 15px}
#mps-app .mps-family-breakdown-columns h3{margin:0 0 8px;color:#17315f}
#mps-app .mps-coverage-breakdown{display:grid;gap:6px}
#mps-app .mps-coverage-breakdown>div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px 10px;border-radius:10px;background:#f3f7fc;color:#334155}
#mps-app .mps-coverage-breakdown strong{color:#17315f}
#mps-app .mps-admin-diagnostics-separator{height:1px;margin:20px 0;background:#d7e3f2}
#mps-app .mps-variation-panel{margin-top:12px!important;background:#fff!important}
#mps-app .mps-test-errors{margin-top:12px;padding:12px 14px;border:1px solid #fecaca;border-radius:12px;background:#fff7f7;color:#991b1b}
#mps-app .mps-test-errors ul{margin:7px 0 0;padding-left:20px}
@media(max-width:980px){
  #mps-app .mps-engine-coverage-grid,#mps-app .mps-variation-results{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
  #mps-app .mps-engine-coverage-head,#mps-app .mps-family-breakdown-columns{grid-template-columns:1fr}
  #mps-app .mps-engine-coverage-grid,#mps-app .mps-variation-results{grid-template-columns:1fr}
}

#mps-app .mps-exam-alignment-note{margin:14px 0 0;padding:11px 13px;border-left:4px solid #5b7cfa;border-radius:10px;background:#f5f7ff;color:#475569;line-height:1.55}


/* v3.84.0 examination calibration */
.mps-exam-calibration-card strong{display:block;margin-top:8px;font-size:1rem;color:#172554}
.mps-dot{min-width:34px}
.mps-mark-scheme{margin:18px 0;padding:16px;border:1px solid #cbd5e1;border-radius:14px;background:#f8fafc}
.mps-mark-scheme h4{margin:0 0 10px;color:#172554}
.mps-mark-scheme ol{margin:0;padding:0;list-style:none;display:grid;gap:8px}
.mps-mark-scheme li{display:grid;grid-template-columns:44px 1fr;gap:10px;align-items:start;padding:9px 10px;border-radius:10px;background:#fff;border:1px solid #e2e8f0}
.mps-mark-scheme li strong{font-variant-numeric:tabular-nums;color:#1d4ed8}
.mps-mark-scheme li span{line-height:1.45}
.mps-report-ao-rationale{margin-top:-4px;color:#334155}
@media(max-width:620px){.mps-mark-scheme li{grid-template-columns:38px 1fr}.mps-dot{min-width:32px;padding-left:6px;padding-right:6px}}
@media print{.mps-mark-scheme{break-inside:avoid;background:#fff}.mps-mark-scheme li{break-inside:avoid}}


/* v3.85.0 Examination Working Capture 5.0 */
#mps-app .mps-exam-working{margin:16px 0 4px;padding:14px;border:1px solid #bfdbfe;border-radius:16px;background:linear-gradient(180deg,#eff6ff,#fff)}
#mps-app .mps-exam-working-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:10px}
#mps-app .mps-exam-working-head>div{display:grid;gap:3px}
#mps-app .mps-exam-working-head strong{color:#172554;font-size:1rem}
#mps-app .mps-exam-working-head span{font-size:.8rem;line-height:1.4;color:#475569}
#mps-app #mps-exam-working-status{font-weight:750;color:#1d4ed8;text-align:right}
#mps-app #mps-working{width:100%;min-height:150px;resize:vertical;padding:13px 14px;border:1px solid #94a3b8;border-radius:12px;background:#fff;color:#0f172a;font:inherit;line-height:1.55;box-sizing:border-box}
#mps-app #mps-working:focus{outline:3px solid rgba(37,99,235,.2);border-color:#2563eb}
#mps-app .mps-student-working-report{margin:16px 0;padding:14px;border:1px solid #bfdbfe;border-radius:12px;background:#eff6ff}
#mps-app .mps-student-working-report>strong{display:block;margin-bottom:8px;color:#172554}
#mps-app .mps-student-working-report>div{white-space:normal;overflow-wrap:anywhere;line-height:1.55;color:#1e293b}
#mps-app .mps-mark-review-row{display:block!important;padding:0!important}
#mps-app .mps-mark-review-row label{display:grid;grid-template-columns:24px 1fr;gap:8px;align-items:start;padding:10px;cursor:pointer}
#mps-app .mps-mark-review-check{width:18px;height:18px;margin:2px 0 0;accent-color:#2563eb}
#mps-app .mps-mark-review-content{display:grid;grid-template-columns:44px 1fr;gap:10px;align-items:start}
#mps-app .mps-reviewed-mark-line{display:flex;justify-content:flex-end;gap:8px;margin:12px 0 0;color:#334155}
#mps-app .mps-reviewed-mark-total{color:#1d4ed8}
#mps-app .mps-reviewed-score-note{margin-top:-6px;margin-bottom:18px}
@media(max-width:620px){#mps-app .mps-exam-working-head{display:grid}#mps-app #mps-exam-working-status{text-align:left}#mps-app .mps-mark-review-content{grid-template-columns:38px 1fr}}
@media print{#mps-app .mps-mark-review-check{appearance:none;width:14px;height:14px;border:1px solid #334155;border-radius:2px}#mps-app .mps-mark-review-check:checked::after{content:'✓';font-size:12px;position:relative;top:-4px;left:1px}.mps-student-working-report{break-inside:avoid}}


/* v3.86.0 linked multi-part examination questions */
.mps-linked-context{margin:0 0 16px;padding:16px 18px;border:1px solid #b9c9e8;border-left:5px solid #355ca8;border-radius:16px;background:linear-gradient(135deg,#f7faff,#eef4ff)}
.mps-linked-context[hidden]{display:none!important}
.mps-linked-context-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.mps-linked-context-head strong{font-size:1rem;color:#17233d}
.mps-linked-context p{margin:0 0 7px;line-height:1.6;color:#26344f}
.mps-linked-context small{display:block;color:#52627e}
.mps-linked-badge{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;background:#dce8ff;color:#244d98;font-size:.76rem;font-weight:800;white-space:nowrap}
.mps-exam-linked-card{border-color:#b9c9e8!important;background:linear-gradient(145deg,#fff,#f3f7ff)!important}
.mps-report-linked-context{margin:12px 0 14px;padding:14px 16px;border:1px solid #c6d3ea;border-radius:14px;background:#f7faff}
.mps-report-linked-context>strong{display:block;color:#183466;margin-bottom:6px}
.mps-report-linked-context p{margin:0 0 8px}
.mps-report-linked-context small{color:#59667b}
.mps-report-linked-visual{max-width:720px;margin:12px auto 4px}
.mps-report-linked-visual svg{display:block;width:100%;height:auto;max-height:300px}
.mps-follow-through{display:grid;gap:4px;margin:12px 0;padding:12px 14px;border-radius:12px;border:1px solid #cbd5e1;background:#f8fafc}
.mps-follow-through strong{font-size:.92rem}
.mps-follow-through span{font-size:.88rem;line-height:1.5}
.mps-follow-through.consistent{border-color:#8bc8a4;background:#eefbf3;color:#14532d}
.mps-follow-through.not-consistent{border-color:#efb3ad;background:#fff4f2;color:#7f1d1d}
.mps-follow-through.manual,.mps-follow-through.unavailable{border-color:#e6c978;background:#fff9e8;color:#684d00}
@media(max-width:640px){.mps-linked-context-head{align-items:flex-start;flex-direction:column}.mps-linked-badge{align-self:flex-start}.mps-linked-context{padding:14px}.mps-report-linked-visual{overflow:hidden}}
@media print{.mps-linked-context,.mps-report-linked-context,.mps-follow-through{break-inside:avoid}.mps-report-linked-visual svg{max-height:250px}}

/* v3.87.0 Printable Examination Pack 6.0 */
#mps-app .mps-exam-print-card{border-color:#b7d7c5!important;background:linear-gradient(145deg,#fff,#f1fbf5)!important}
#mps-app .mps-exam-print-card strong{color:#14532d}
#mps-app .mps-exam-print-control[hidden]{display:none!important}
#mps-app .mps-print-pack{display:none}
#mps-app .mps-report-actions{gap:10px}

@media print{
  @page{size:A4;margin:12mm}
  #mps-app[data-mps-print-mode="question-paper"],#mps-app[data-mps-print-mode="marking-pack"]{padding:0!important;background:#fff!important;color:#111!important}
  #mps-app[data-mps-print-mode="question-paper"] .mps-hero,
  #mps-app[data-mps-print-mode="question-paper"] .mps-panel,
  #mps-app[data-mps-print-mode="question-paper"] .mps-platform-footer,
  #mps-app[data-mps-print-mode="question-paper"] .mps-main>*:not(#mps-question-paper-print),
  #mps-app[data-mps-print-mode="marking-pack"] .mps-hero,
  #mps-app[data-mps-print-mode="marking-pack"] .mps-panel,
  #mps-app[data-mps-print-mode="marking-pack"] .mps-platform-footer,
  #mps-app[data-mps-print-mode="marking-pack"] .mps-main>*:not(#mps-marking-pack-print){display:none!important}
  #mps-app[data-mps-print-mode="question-paper"] .mps-layout,
  #mps-app[data-mps-print-mode="marking-pack"] .mps-layout,
  #mps-app[data-mps-print-mode="question-paper"] .mps-main,
  #mps-app[data-mps-print-mode="marking-pack"] .mps-main{display:block!important;width:100%!important;max-width:none!important}
  #mps-app[data-mps-print-mode="question-paper"] #mps-question-paper-print,
  #mps-app[data-mps-print-mode="marking-pack"] #mps-marking-pack-print{display:block!important}
  #mps-app[data-mps-print-mode="question-paper"] .mps-report,
  #mps-app[data-mps-print-mode="marking-pack"] .mps-report{display:none!important}
}

#mps-app .mps-print-document{font-family:Arial,Helvetica,sans-serif;color:#111;background:#fff;line-height:1.45}
#mps-app .mps-print-cover{min-height:245mm;box-sizing:border-box;padding:8mm 5mm 0}
#mps-app .mps-print-kicker{margin:0 0 5mm;font-size:11pt;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#334155}
#mps-app .mps-print-cover h1{margin:0 0 3mm;font-size:25pt;line-height:1.15;color:#111}
#mps-app .mps-print-cover>p{margin:0 0 8mm;font-size:11pt;color:#334155}
#mps-app .mps-print-candidate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:1px solid #333;margin:8mm 0}
#mps-app .mps-print-candidate-grid>div{min-height:16mm;padding:3mm 4mm;border-right:1px solid #777;border-bottom:1px solid #777;box-sizing:border-box}
#mps-app .mps-print-candidate-grid>div:nth-child(2n){border-right:0}
#mps-app .mps-print-candidate-grid>div:nth-last-child(-n+2){border-bottom:0}
#mps-app .mps-print-candidate-grid span{display:block;font-size:8.5pt;text-transform:uppercase;letter-spacing:.05em;color:#555}
#mps-app .mps-print-candidate-grid strong{display:block;min-height:6mm;margin-top:2mm;font-size:12pt;border-bottom:1px dotted #777}
#mps-app .mps-print-paper-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4mm;margin:7mm 0}
#mps-app .mps-print-paper-facts span{padding:4mm;border:1px solid #555;text-align:center;font-size:9pt}
#mps-app .mps-print-paper-facts strong{display:block;font-size:14pt;margin-bottom:1mm}
#mps-app .mps-print-cover h2,#mps-app .mps-print-formula-page h2,#mps-app .mps-print-questions>h2{margin:8mm 0 3mm;font-size:15pt}
#mps-app .mps-print-cover ul{margin:0;padding-left:7mm}
#mps-app .mps-print-cover li{margin:0 0 2.5mm;font-size:10.5pt}
#mps-app .mps-print-disclaimer{margin-top:9mm!important;padding-top:4mm;border-top:1px solid #777;font-size:9pt!important;color:#444!important}
#mps-app .mps-print-formula-page{min-height:245mm;box-sizing:border-box;padding:4mm 3mm 0}
#mps-app .mps-print-formula-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #333}
#mps-app .mps-print-formula-item{display:grid;grid-template-columns:minmax(0,1fr) minmax(36mm,.8fr);gap:3mm;align-items:center;min-height:18mm;padding:3mm;border-right:1px solid #777;border-bottom:1px solid #777;box-sizing:border-box}
#mps-app .mps-print-formula-item:nth-child(2n){border-right:0}
#mps-app .mps-print-formula-item strong,#mps-app .mps-print-formula-item small{display:block}
#mps-app .mps-print-formula-item small{font-size:8pt;color:#555;margin-top:1mm}
#mps-app .mps-print-formula-item code{font-family:Cambria,'Times New Roman',serif;font-size:11pt;text-align:right;white-space:normal;background:none;padding:0;color:#111}
#mps-app .mps-print-questions{padding:0 2mm}
#mps-app .mps-print-question{position:relative;padding:6mm 0 4mm;border-bottom:1px solid #aaa;break-inside:auto;page-break-inside:auto}
#mps-app .mps-print-question-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8mm;margin-bottom:3mm;font-size:12pt}
#mps-app .mps-print-mark-box{flex:0 0 auto;min-width:13mm;text-align:center;font-weight:700}
#mps-app .mps-print-prompt{margin:0 0 4mm;font-size:11pt;white-space:pre-wrap}
#mps-app .mps-print-shared-context{margin:0 0 5mm;padding:4mm;border:1px solid #555;background:#f8f8f8;break-inside:avoid}
#mps-app .mps-print-shared-context>strong{display:block;margin-bottom:2mm}
#mps-app .mps-print-shared-context p{margin:0}
#mps-app .mps-print-visual{max-width:175mm;margin:4mm auto;break-inside:avoid;text-align:center}
#mps-app .mps-print-visual svg{display:block;width:100%;height:auto;max-height:90mm;margin:auto;overflow:visible}
#mps-app .mps-print-cuboid text{font:700 16px Arial,sans-serif;fill:#111;paint-order:stroke fill;stroke:#fff;stroke-width:4px}
#mps-app .mps-print-working-space{display:grid;gap:0;margin-top:4mm}
#mps-app .mps-print-working-space span{display:block;height:7mm;border-bottom:1px solid #b8b8b8}
#mps-app .mps-print-end{margin-top:10mm;padding:5mm 0;border-top:2px solid #222;text-align:center;font-weight:700;break-inside:avoid}

#mps-app .mps-print-marking-pack .mps-print-cover{min-height:auto;padding-bottom:8mm;break-after:page;page-break-after:always}
#mps-app .mps-print-marking-questions{padding:0 2mm}
#mps-app .mps-print-marking-question{padding:6mm 0;border-bottom:2px solid #444;break-before:auto}
#mps-app .mps-print-response-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4mm;margin:4mm 0}
#mps-app .mps-print-response-grid>div,#mps-app .mps-print-student-working,#mps-app .mps-print-worked-solution{padding:4mm;border:1px solid #777;break-inside:avoid}
#mps-app .mps-print-response-grid p,#mps-app .mps-print-student-working p{margin:2mm 0 0;overflow-wrap:anywhere}
#mps-app .mps-print-worked-solution ol{margin:2mm 0 0;padding-left:7mm}
#mps-app .mps-print-worked-solution li{margin-bottom:2mm}
#mps-app .mps-print-reference{font-size:8.5pt;color:#555;overflow-wrap:anywhere}

@media print{
  #mps-app .mps-print-cover{break-after:page;page-break-after:always}
  #mps-app .mps-print-formula-page{break-after:page;page-break-after:always}
  #mps-app .mps-print-question-head,#mps-app .mps-print-prompt{break-after:avoid;page-break-after:avoid}
  #mps-app .mps-print-formula-item,#mps-app .mps-print-shared-context,#mps-app .mps-print-response-grid,#mps-app .mps-print-student-working,#mps-app .mps-print-worked-solution{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}


/* v3.90.0 curriculum completion audit */
.mps-completion-area-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}
.mps-completion-area-grid>article{border:1px solid #dbe4f0;border-radius:16px;background:#f8fbff;padding:16px}
.mps-completion-area-grid h3{margin:0 0 12px;font-size:1rem}
.mps-completion-area-grid article>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 12px;padding:9px 0;border-top:1px solid #e5edf6}
.mps-completion-area-grid article>div:first-of-type{border-top:0}
.mps-completion-area-grid small{grid-column:1/-1;color:#526277}
.mps-completion-objectives{margin-top:12px;border:1px solid #dbe4f0;border-radius:14px;background:#fff;overflow:hidden}
.mps-completion-objectives>summary{cursor:pointer;font-weight:800;padding:13px 15px;background:#f5f8fc}
.mps-completion-table-wrap{overflow:auto;max-height:560px;border-top:1px solid #dbe4f0}
.mps-completion-table{margin:0;min-width:720px}
.mps-audit-status{display:inline-flex;border-radius:999px;padding:3px 9px;font-size:.78rem;font-weight:800}
.mps-audit-status.pass{background:#dcfce7;color:#166534}
.mps-audit-status.fail{background:#fee2e2;color:#991b1b}
@media(max-width:760px){.mps-completion-area-grid{grid-template-columns:1fr}}


/* Personal Revision Insights 7.0 */
#mps-app .mps-mastery-panel{margin-top:12px;padding:14px;border:1px solid #c9d8ec;border-radius:16px;background:linear-gradient(180deg,#f8fbff,#eef5ff)}
#mps-app .mps-mastery-head h3{margin:0;color:#172554;font-size:17px}
#mps-app .mps-mastery-head p{margin:5px 0 0;color:#475569;font-size:13px;line-height:1.5}
#mps-app .mps-mastery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
#mps-app .mps-mastery-grid article{min-width:0;padding:10px;border:1px solid #d8e3f0;border-radius:12px;background:#fff}
#mps-app .mps-mastery-grid span{display:block;font-size:10px;line-height:1.3;font-weight:900;letter-spacing:.045em;text-transform:uppercase;color:#64748b}
#mps-app .mps-mastery-grid strong{display:block;margin-top:5px;font-size:16px;line-height:1.3;color:#172554;overflow-wrap:anywhere}
#mps-app .mps-mastery-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
#mps-app .mps-mastery-actions .mps-btn{min-height:44px;padding:10px 11px;font-size:13px}
#mps-app .mps-mastery-report{margin:20px 0;padding:18px;border:1px solid #c9d8ec;border-radius:18px;background:linear-gradient(180deg,#f8fbff,#eef5ff)}
#mps-app .mps-mastery-report[hidden]{display:none!important}
#mps-app .mps-mastery-report h3{margin:0 0 13px;color:#172554}
#mps-app .mps-mastery-report-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
#mps-app .mps-mastery-report-grid article{min-width:0;padding:14px;border:1px solid #d8e3f0;border-radius:14px;background:#fff}
#mps-app .mps-mastery-report-grid span{display:block;font-size:11px;font-weight:900;letter-spacing:.045em;text-transform:uppercase;color:#64748b}
#mps-app .mps-mastery-report-grid strong{display:block;margin:7px 0 4px;font-size:18px;line-height:1.35;color:#172554;overflow-wrap:anywhere}
#mps-app .mps-mastery-report-grid small{display:block;color:#475569;line-height:1.45}
#mps-app .mps-mastery-advice{margin:12px 0 0;padding:11px 13px;border-left:4px solid #315aa6;border-radius:8px;background:#fff;color:#334155;line-height:1.55}
#mps-app #mps-report-recommended{margin-top:14px}
@media(max-width:900px){#mps-app .mps-mastery-report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){#mps-app .mps-mastery-actions,#mps-app .mps-mastery-report-grid{grid-template-columns:1fr}}
@media print{#mps-app .mps-mastery-panel{display:none!important}#mps-app .mps-mastery-report{display:block!important;background:#fff;break-inside:avoid}#mps-app #mps-report-recommended{display:none!important}}

/* v4.39.0 Advanced Course Route Progress */
#mps-app .mps-route-progress-panel{margin-top:12px;padding:14px;border:1px solid #b9d4cc;border-radius:16px;background:linear-gradient(180deg,#f4fffb,#e9f8f3)}
#mps-app .mps-route-progress-panel[hidden]{display:none!important}
#mps-app .mps-route-progress-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
#mps-app .mps-route-progress-head h3{margin:0;color:#143f37;font-size:17px}
#mps-app .mps-route-progress-head p{margin:5px 0 0;color:#405c56;font-size:13px;line-height:1.5}
#mps-app .mps-route-progress-head>strong{flex:0 0 auto;padding:6px 10px;border:1px solid #b9d4cc;border-radius:999px;background:#fff;color:#185b4d;font-size:12px;line-height:1.2;text-align:center}
#mps-app .mps-route-progress-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
#mps-app .mps-route-progress-card{min-width:0;padding:11px;border:1px solid #c8ded8;border-radius:13px;background:#fff}
#mps-app .mps-route-progress-card.is-priority{border-color:#e5a232;background:#fffaf0}
#mps-app .mps-route-progress-card.is-secure{border-color:#86bcae;background:#f8fffc}
#mps-app .mps-route-progress-card span{display:block;font-size:10px;line-height:1.3;font-weight:900;letter-spacing:.045em;text-transform:uppercase;color:#64748b}
#mps-app .mps-route-progress-card strong{display:block;margin-top:5px;color:#143f37;font-size:15px;line-height:1.35;overflow-wrap:anywhere}
#mps-app .mps-route-progress-card small{display:block;margin-top:5px;color:#475569;line-height:1.4}
#mps-app .mps-route-progress-meter{height:8px;margin-top:9px;border-radius:999px;background:#e2e8f0;overflow:hidden}
#mps-app .mps-route-progress-meter>span{display:block;height:100%;min-width:0;border-radius:inherit;background:#277c69}
#mps-app .mps-route-progress-card.is-priority .mps-route-progress-meter>span{background:#d68a16}
#mps-app .mps-route-progress-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
#mps-app .mps-route-progress-actions .mps-btn{min-height:44px;padding:10px 11px;font-size:13px}
#mps-app .mps-route-study-plan{margin-top:14px;padding-top:14px;border-top:1px solid #c8ded8}
#mps-app .mps-route-study-plan[hidden]{display:none!important}
#mps-app .mps-route-study-plan-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
#mps-app .mps-route-study-plan-head h4{margin:0;color:#143f37;font-size:16px;line-height:1.35}
#mps-app .mps-route-study-plan-head p{margin:4px 0 0;color:#405c56;font-size:13px;line-height:1.45}
#mps-app .mps-route-study-plan-head>span{flex:0 0 auto;padding:5px 9px;border-radius:999px;background:#dff4ec;color:#185b4d;font-size:10px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}
#mps-app .mps-route-study-plan-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;margin-top:11px}
#mps-app .mps-route-study-card{display:flex;min-width:0;min-height:226px;flex-direction:column;padding:12px;border:1px solid #c8ded8;border-radius:13px;background:#fff}
#mps-app .mps-route-study-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
#mps-app .mps-route-study-card-head span{font-size:10px;font-weight:900;letter-spacing:.055em;text-transform:uppercase;color:#64748b}
#mps-app .mps-route-study-card-head strong{padding:4px 7px;border-radius:999px;background:#eef7f4;color:#185b4d;font-size:10px;line-height:1.2}
#mps-app .mps-route-study-card h4{margin:9px 0 0;color:#143f37;font-size:14px;line-height:1.35}
#mps-app .mps-route-study-card p{margin:5px 0 0;color:#243b53;font-weight:800;line-height:1.4;overflow-wrap:anywhere}
#mps-app .mps-route-study-card small{display:block;margin-top:6px;color:#52606d;line-height:1.45}
#mps-app .mps-route-study-card .mps-study-plan-prepare{width:100%;min-height:40px;margin-top:auto;padding:8px 10px;font-size:12px}
#mps-app .mps-route-study-plan-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:11px}
#mps-app .mps-route-study-plan-actions .mps-btn{min-height:44px;padding:10px 11px;font-size:13px}
/* v4.41.0 Tracked Study Cycles */
#mps-app .mps-route-study-cycle-progress{margin-top:11px;padding:10px 11px;border:1px solid #c8ded8;border-radius:12px;background:#fff}
#mps-app .mps-route-study-cycle-progress>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px}
#mps-app .mps-route-study-cycle-progress strong{color:#143f37;font-size:12px;line-height:1.35}
#mps-app .mps-route-study-cycle-progress span{color:#52606d;font-size:11px;line-height:1.35;text-align:right}
#mps-app .mps-route-study-cycle-track{height:9px;margin-top:8px;border-radius:999px;background:#e2e8f0;overflow:hidden}
#mps-app .mps-route-study-cycle-track>span{display:block;width:0;height:100%;border-radius:inherit;background:#277c69;transition:width .2s ease}
#mps-app .mps-route-study-card.is-complete{border-color:#70ad9d;background:#f2fcf8}
#mps-app .mps-route-study-card.is-complete .mps-route-study-card-head strong{background:#d8f3e9;color:#166534}
#mps-app .mps-study-cycle-completion{padding:6px 8px;border-radius:8px;background:#e6f7f0;color:#166534!important;font-weight:900}
#mps-app .mps-route-study-card.is-complete .mps-study-plan-prepare{background:#e2e8f0;color:#475569;border-color:#cbd5e1}
#mps-app .mps-route-study-review{margin-top:11px;padding:12px;border:1px solid #9fcbbf;border-radius:13px;background:linear-gradient(180deg,#f8fffc,#eefaf6)}
#mps-app .mps-route-study-review[hidden]{display:none!important}
#mps-app .mps-route-study-review-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
#mps-app .mps-route-study-review-head h5{margin:0;color:#143f37;font-size:15px;line-height:1.35}
#mps-app .mps-route-study-review-head p{margin:4px 0 0;color:#405c56;font-size:12px;line-height:1.45}
#mps-app .mps-route-study-review-head>span{flex:0 0 auto;padding:5px 8px;border-radius:999px;background:#d8f3e9;color:#166534;font-size:10px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}
#mps-app .mps-route-study-review-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
#mps-app .mps-route-study-review-summary article{min-width:0;padding:9px;border:1px solid #c8ded8;border-radius:10px;background:#fff}
#mps-app .mps-route-study-review-summary span{display:block;color:#64748b;font-size:9px;font-weight:900;letter-spacing:.05em;text-transform:uppercase}
#mps-app .mps-route-study-review-summary strong{display:block;margin-top:4px;color:#143f37;font-size:13px;line-height:1.35;overflow-wrap:anywhere}
#mps-app .mps-route-study-review-components{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:9px}
#mps-app .mps-route-study-review-card{min-width:0;padding:10px;border:1px solid #c8ded8;border-radius:11px;background:#fff}
#mps-app .mps-route-study-review-card>div{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
#mps-app .mps-route-study-review-card>div span{flex:0 0 auto;padding:3px 6px;border-radius:999px;background:#eef7f4;color:#185b4d;font-size:9px;font-weight:900;text-transform:uppercase}
#mps-app .mps-route-study-review-card>div strong{color:#143f37;font-size:12px;line-height:1.35;text-align:right;overflow-wrap:anywhere}
#mps-app .mps-route-study-review-card p{margin:6px 0 0;color:#243b53;font-size:12px;font-weight:800;line-height:1.35;overflow-wrap:anywhere}
#mps-app .mps-route-study-review-card small{display:block;margin-top:5px;color:#52606d;font-size:10px;line-height:1.4}
#mps-app .mps-route-study-review-card.is-improved,#mps-app .mps-route-study-review-card.is-secure{border-color:#70ad9d;background:#f4fcf9}
#mps-app .mps-route-study-review-card.is-revisit{border-color:#e5a232;background:#fffaf0}
@media(max-width:620px){#mps-app .mps-route-progress-head,#mps-app .mps-route-study-plan-head,#mps-app .mps-route-study-review-head{display:block}#mps-app .mps-route-progress-head>strong,#mps-app .mps-route-study-plan-head>span,#mps-app .mps-route-study-review-head>span{display:inline-block;margin-top:9px}#mps-app .mps-route-progress-grid,#mps-app .mps-route-progress-actions,#mps-app .mps-route-study-plan-grid,#mps-app .mps-route-study-plan-actions,#mps-app .mps-route-study-review-summary,#mps-app .mps-route-study-review-components{grid-template-columns:1fr}#mps-app .mps-route-study-card{min-height:0}#mps-app .mps-route-study-cycle-progress>div:first-child{align-items:flex-start}#mps-app .mps-route-study-cycle-progress span{text-align:left}}
@media print{#mps-app .mps-route-progress-panel,#mps-app .mps-route-study-plan,#mps-app .mps-route-study-review{display:none!important}}

/* v3.90.0 Production Readiness and Data Portability 8.0 */
#mps-app .mps-skip-link{position:absolute;z-index:9999;left:14px;top:8px;transform:translateY(-160%);padding:10px 14px;border-radius:10px;background:#172554;color:#fff;font-weight:900;text-decoration:none;box-shadow:0 8px 22px rgba(15,23,42,.28)}
#mps-app .mps-skip-link:focus{transform:translateY(0)}
#mps-app :where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #f59e0b!important;outline-offset:3px!important}
#mps-app .mps-data-panel{margin-top:12px;padding:14px;border:1px solid #c9d8ec;border-radius:16px;background:linear-gradient(180deg,#fffdf5,#fff8dd)}
#mps-app .mps-data-head h3{margin:0;color:#172554;font-size:17px}
#mps-app .mps-data-head p{margin:5px 0 0;color:#475569;font-size:13px;line-height:1.5}
#mps-app .mps-data-head p.is-good{color:#166534;font-weight:700}
#mps-app .mps-data-head p.is-error{color:#991b1b;font-weight:700}
#mps-app .mps-data-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
#mps-app .mps-data-grid article{min-width:0;padding:10px;border:1px solid #eadfba;border-radius:12px;background:#fff}
#mps-app .mps-data-grid span{display:block;font-size:10px;line-height:1.3;font-weight:900;letter-spacing:.045em;text-transform:uppercase;color:#64748b}
#mps-app .mps-data-grid strong{display:block;margin-top:5px;font-size:16px;line-height:1.3;color:#172554;overflow-wrap:anywhere}
#mps-app .mps-data-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}
#mps-app .mps-data-actions .mps-btn{min-height:44px;padding:10px 8px;font-size:12.5px}
#mps-app .mps-readiness-audit .mps-engine-coverage-grid strong.is-good{color:#166534}
#mps-app .mps-readiness-audit .mps-engine-coverage-grid strong.is-error{color:#991b1b}
@media(max-width:620px){#mps-app .mps-data-actions{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){#mps-app *,#mps-app *::before,#mps-app *::after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}#mps-app .mps-skip-link{transition:none}}
@media print{#mps-app .mps-data-panel,#mps-app .mps-skip-link{display:none!important}}


/* v3.92.0 — isolated AS Pure Mathematics 1 quadratics visuals */
.mps-advanced-p1-svg{display:block;width:100%;height:auto;max-width:760px;margin:0 auto;overflow:visible}
.mps-advanced-p1-svg .mps-ap1-panel{fill:#f8fafc;stroke:#334155;stroke-width:2}
.mps-advanced-p1-svg .mps-ap1-card{fill:#ffffff;stroke:#94a3b8;stroke-width:1.5}
.mps-advanced-p1-svg .mps-ap1-card.target{fill:#eff6ff;stroke:#2563eb;stroke-width:2}
.mps-advanced-p1-svg .mps-ap1-heading{font:700 17px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#1e293b;text-anchor:middle;dominant-baseline:middle}
.mps-advanced-p1-svg .mps-ap1-value{font:700 22px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#0f172a;text-anchor:middle;dominant-baseline:middle}
.mps-advanced-p1-svg .mps-ap1-caption{font:500 15px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#475569;text-anchor:middle;dominant-baseline:middle}
#mps-mode option:disabled{color:#64748b}
@media (max-width:640px){.mps-advanced-p1-svg .mps-ap1-heading{font-size:15px}.mps-advanced-p1-svg .mps-ap1-value{font-size:19px}.mps-advanced-p1-svg .mps-ap1-caption{font-size:13px}}
@media print{.mps-advanced-p1-svg{break-inside:avoid}.mps-advanced-p1-svg .mps-ap1-panel,.mps-advanced-p1-svg .mps-ap1-card{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

.mps-advanced-p1-functions-svg .mps-ap1-axis{stroke:#64748b;stroke-width:2}
.mps-advanced-p1-functions-svg .mps-ap1-mirror{stroke:#7c3aed;stroke-width:2.5;stroke-dasharray:9 7}
.mps-advanced-p1-functions-svg .mps-ap1-point{fill:#0f766e;stroke:#ffffff;stroke-width:3}
.mps-advanced-p1-functions-svg .mps-ap1-target-point{fill:#eff6ff;stroke:#2563eb;stroke-width:2.5}
.mps-advanced-p1-functions-svg .mps-ap1-curve{fill:none;stroke-width:4;stroke-linecap:round}
.mps-advanced-p1-functions-svg .mps-ap1-curve.base{stroke:#0f766e}
.mps-advanced-p1-functions-svg .mps-ap1-curve.transformed{stroke:#7c3aed;stroke-dasharray:10 7}


.mps-advanced-p1-coordinate-svg .mps-ap1-axis{stroke:#64748b;stroke-width:2}
.mps-advanced-p1-coordinate-svg .mps-ap1-point{fill:#0f766e;stroke:#ffffff;stroke-width:3}
.mps-advanced-p1-coordinate-svg .mps-ap13-line{stroke:#2563eb;stroke-width:4;stroke-linecap:round}
.mps-advanced-p1-coordinate-svg .mps-ap13-circle{fill:none;stroke:#0f766e;stroke-width:4}
.mps-advanced-p1-coordinate-svg .mps-ap13-radius{stroke:#7c3aed;stroke-width:3;stroke-dasharray:8 6}
.mps-advanced-p1-coordinate-svg .mps-ap13-curve{fill:none;stroke:#7c3aed;stroke-width:4;stroke-linecap:round}


/* v3.95.0: responsive, printable AS Pure Mathematics 1 Circular measure diagrams. */
.mps-advanced-p1-circular-svg .mps-ap14-region{fill:#dbeafe;fill-opacity:.72;stroke:#2563eb;stroke-width:2.5;stroke-linejoin:round}
.mps-advanced-p1-circular-svg .mps-ap14-hole{fill:#f8fafc;stroke:#7c3aed;stroke-width:2}
.mps-advanced-p1-circular-svg .mps-ap14-arc{fill:none;stroke:#0f766e;stroke-width:6;stroke-linecap:round}
.mps-advanced-p1-circular-svg .mps-ap14-inner-arc{fill:none;stroke:#7c3aed;stroke-width:4;stroke-linecap:round}
.mps-advanced-p1-circular-svg .mps-ap14-radius,.mps-advanced-p1-circular-svg .mps-ap14-edge{stroke:#334155;stroke-width:3;stroke-linecap:round}
.mps-advanced-p1-circular-svg .mps-ap14-chord{stroke:#b45309;stroke-width:4;stroke-linecap:round}
.mps-advanced-p1-circular-svg .mps-ap14-label{font:800 15px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#17243c;text-anchor:middle;dominant-baseline:middle;paint-order:stroke;stroke:#fff;stroke-width:2px;stroke-linejoin:round}
@media (max-width:640px){.mps-advanced-p1-circular-svg .mps-ap14-label{font-size:13px}.mps-advanced-p1-circular-svg{max-width:100%;overflow:visible}}
@media print{.mps-advanced-p1-circular-svg .mps-ap14-region,.mps-advanced-p1-circular-svg .mps-ap14-hole,.mps-advanced-p1-circular-svg .mps-ap1-card{print-color-adjust:exact;-webkit-print-color-adjust:exact}.mps-advanced-p1-circular-svg{break-inside:avoid;max-width:100%}}

/* v3.96.0: responsive, printable AS Pure Mathematics 1 Trigonometry diagrams. */
.mps-advanced-p1-trigonometry-svg{display:block;width:100%;height:auto;max-width:760px;margin-inline:auto;overflow:visible}
.mps-advanced-p1-trigonometry-svg .mps-ap15-panel{fill:#f8fafc;stroke:#cbd5e1;stroke-width:2}
.mps-advanced-p1-trigonometry-svg .mps-ap15-badge{font:800 15px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#17243c;text-anchor:middle}
.mps-advanced-p1-trigonometry-svg .mps-ap15-axis{stroke:#334155;stroke-width:2.2}
.mps-advanced-p1-trigonometry-svg .mps-ap15-tick{stroke:#64748b;stroke-width:1.7}
.mps-advanced-p1-trigonometry-svg .mps-ap15-tick-label{font:700 12px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#475569;text-anchor:middle}
.mps-advanced-p1-trigonometry-svg .mps-ap15-curve{fill:none;stroke:#2563eb;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.mps-advanced-p1-trigonometry-svg .mps-ap15-asymptote{fill:none;stroke:#b45309;stroke-width:2;stroke-dasharray:8 7}
.mps-advanced-p1-trigonometry-svg .mps-ap15-equation{font:800 15px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#17243c;text-anchor:middle}
.mps-advanced-p1-trigonometry-svg .mps-ap15-card{fill:#ffffff;stroke:#94a3b8;stroke-width:2}
.mps-advanced-p1-trigonometry-svg .mps-ap15-card.target{fill:#fff7ed;stroke:#c2410c;stroke-dasharray:7 5}
.mps-advanced-p1-trigonometry-svg .mps-ap15-card-heading{font:800 12px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#475569;text-anchor:middle}
.mps-advanced-p1-trigonometry-svg .mps-ap15-card-value{font:800 16px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#17243c;text-anchor:middle}
.mps-advanced-p1-trigonometry-svg .mps-ap15-card-sub{font:700 12px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#64748b;text-anchor:middle}
.mps-advanced-p1-trigonometry-svg .mps-ap15-circle{fill:#eff6ff;stroke:#2563eb;stroke-width:3}
.mps-advanced-p1-trigonometry-svg .mps-ap15-radius{stroke:#7c3aed;stroke-width:4;stroke-linecap:round}
.mps-advanced-p1-trigonometry-svg .mps-ap15-point{fill:#0f766e;stroke:#ffffff;stroke-width:3}
.mps-advanced-p1-trigonometry-svg .mps-ap15-angle{font:800 15px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#17243c;text-anchor:middle}
.mps-advanced-p1-trigonometry-svg .mps-ap15-caption{font:700 13px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#475569;text-anchor:middle}
@media (max-width:640px){.mps-advanced-p1-trigonometry-svg .mps-ap15-card-value{font-size:14px}.mps-advanced-p1-trigonometry-svg .mps-ap15-equation{font-size:13px}}
@media print{.mps-advanced-p1-trigonometry-svg{break-inside:avoid;max-width:100%}.mps-advanced-p1-trigonometry-svg .mps-ap15-panel,.mps-advanced-p1-trigonometry-svg .mps-ap15-card,.mps-advanced-p1-trigonometry-svg .mps-ap15-circle{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

/* v3.97.0: responsive, printable AS Pure Mathematics 1 Series diagrams. */
.mps-advanced-p1-series-svg{display:block;width:100%;height:auto;max-width:760px;margin-inline:auto;overflow:visible}
.mps-advanced-p1-series-svg .mps-ap16-panel{fill:#f8fafc;stroke:#cbd5e1;stroke-width:2}
.mps-advanced-p1-series-svg .mps-ap16-badge{font:800 15px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#17243c;text-anchor:middle}
.mps-advanced-p1-series-svg .mps-ap16-expression{font:800 23px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#17243c;text-anchor:middle}
.mps-advanced-p1-series-svg .mps-ap16-coefficient{fill:#ede9fe;stroke:#7c3aed;stroke-width:2}
.mps-advanced-p1-series-svg .mps-ap16-coefficient-value{font:800 16px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#4c1d95;text-anchor:middle}
.mps-advanced-p1-series-svg .mps-ap16-term{fill:#eff6ff;stroke:#2563eb;stroke-width:2.4}
.mps-advanced-p1-series-svg .mps-ap16-term.target{fill:#fff7ed;stroke:#c2410c;stroke-dasharray:7 5}
.mps-advanced-p1-series-svg .mps-ap16-term-value{font:800 18px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#17243c;text-anchor:middle}
.mps-advanced-p1-series-svg .mps-ap16-arrow{fill:none;stroke:#64748b;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.mps-advanced-p1-series-svg .mps-ap16-card{fill:#ffffff;stroke:#94a3b8;stroke-width:2}
.mps-advanced-p1-series-svg .mps-ap16-card.target{fill:#fff7ed;stroke:#c2410c;stroke-dasharray:7 5}
.mps-advanced-p1-series-svg .mps-ap16-card-heading{font:800 12px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#475569;text-anchor:middle}
.mps-advanced-p1-series-svg .mps-ap16-card-value{font:800 16px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#17243c;text-anchor:middle}
.mps-advanced-p1-series-svg .mps-ap16-card-sub{font:700 12px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#64748b;text-anchor:middle}
.mps-advanced-p1-series-svg .mps-ap16-caption{font:700 13px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#475569;text-anchor:middle}
.mps-advanced-p1-series-svg .mps-ap16-strip{fill:#dbeafe;stroke:#2563eb;stroke-width:2}
.mps-advanced-p1-series-svg .mps-ap16-strip-label{font:800 13px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#1e3a8a;text-anchor:middle}
.mps-advanced-p1-series-svg .mps-ap16-infinity-rule{font:800 14px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#17243c;text-anchor:middle}
@media (max-width:640px){.mps-advanced-p1-series-svg .mps-ap16-card-value{font-size:14px}.mps-advanced-p1-series-svg .mps-ap16-expression{font-size:20px}}
@media print{.mps-advanced-p1-series-svg{break-inside:avoid;max-width:100%}.mps-advanced-p1-series-svg .mps-ap16-panel,.mps-advanced-p1-series-svg .mps-ap16-card,.mps-advanced-p1-series-svg .mps-ap16-term,.mps-advanced-p1-series-svg .mps-ap16-coefficient,.mps-advanced-p1-series-svg .mps-ap16-strip{print-color-adjust:exact;-webkit-print-color-adjust:exact}}


/* v3.98.0: responsive, printable AS Pure Mathematics 1 Differentiation diagrams. */
.mps-advanced-p1-differentiation-svg{display:block;width:100%;height:auto;max-width:760px;margin-inline:auto;overflow:visible}
.mps-advanced-p1-differentiation-svg .mps-ap17-panel{fill:#f8fafc;stroke:#cbd5e1;stroke-width:2}
.mps-advanced-p1-differentiation-svg .mps-ap17-badge{font:800 15px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#17243c;text-anchor:middle}
.mps-advanced-p1-differentiation-svg .mps-ap17-axis{fill:none;stroke:#475569;stroke-width:2.2;stroke-linecap:round}
.mps-advanced-p1-differentiation-svg .mps-ap17-curve{fill:none;stroke:#2563eb;stroke-width:4.2;stroke-linecap:round;stroke-linejoin:round}
.mps-advanced-p1-differentiation-svg .mps-ap17-chord{fill:none;stroke:#7c3aed;stroke-width:3.4;stroke-dasharray:9 7;stroke-linecap:round}
.mps-advanced-p1-differentiation-svg .mps-ap17-tangent{fill:none;stroke:#0f766e;stroke-width:3.5;stroke-linecap:round}
.mps-advanced-p1-differentiation-svg .mps-ap17-normal{fill:none;stroke:#b45309;stroke-width:3.2;stroke-dasharray:8 6;stroke-linecap:round}
.mps-advanced-p1-differentiation-svg .mps-ap17-stationary-tangent{fill:none;stroke:#0f766e;stroke-width:3.2;stroke-linecap:round}
.mps-advanced-p1-differentiation-svg .mps-ap17-point{fill:#dc2626;stroke:#ffffff;stroke-width:3}
.mps-advanced-p1-differentiation-svg .mps-ap17-rate-shape{fill:#dbeafe;stroke:#2563eb;stroke-width:3}
.mps-advanced-p1-differentiation-svg .mps-ap17-radius{stroke:#7c3aed;stroke-width:4;stroke-linecap:round}
.mps-advanced-p1-differentiation-svg .mps-ap17-rate-arrow{fill:none;stroke:#0f766e;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.mps-advanced-p1-differentiation-svg .mps-ap17-shape-label{font:800 16px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#17243c;text-anchor:middle}
.mps-advanced-p1-differentiation-svg .mps-ap17-card{fill:#ffffff;stroke:#94a3b8;stroke-width:2}
.mps-advanced-p1-differentiation-svg .mps-ap17-card.target{fill:#fff7ed;stroke:#c2410c;stroke-dasharray:7 5}
.mps-advanced-p1-differentiation-svg .mps-ap17-card-heading{font:800 12px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#475569;text-anchor:middle}
.mps-advanced-p1-differentiation-svg .mps-ap17-card-value{font:800 16px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#17243c;text-anchor:middle}
.mps-advanced-p1-differentiation-svg .mps-ap17-card-sub{font:700 12px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#64748b;text-anchor:middle}
.mps-advanced-p1-differentiation-svg .mps-ap17-caption{font:700 13px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#475569;text-anchor:middle}
@media (max-width:640px){.mps-advanced-p1-differentiation-svg .mps-ap17-card-value{font-size:14px}.mps-advanced-p1-differentiation-svg .mps-ap17-caption{font-size:12px}.mps-advanced-p1-differentiation-svg{max-width:100%;overflow:visible}}
@media print{.mps-advanced-p1-differentiation-svg{break-inside:avoid;max-width:100%}.mps-advanced-p1-differentiation-svg .mps-ap17-panel,.mps-advanced-p1-differentiation-svg .mps-ap17-card,.mps-advanced-p1-differentiation-svg .mps-ap17-rate-shape{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

/* v3.99.0: responsive, printable AS Pure Mathematics 1 Integration diagrams. */
.mps-advanced-p1-integration-svg{display:block;width:100%;height:auto;max-width:760px;margin-inline:auto;overflow:visible}
.mps-advanced-p1-integration-svg .mps-ap18-panel{fill:#f8fafc;stroke:#cbd5e1;stroke-width:2}
.mps-advanced-p1-integration-svg .mps-ap18-badge{font:800 15px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#17243c;text-anchor:middle}
.mps-advanced-p1-integration-svg .mps-ap18-card{fill:#ffffff;stroke:#94a3b8;stroke-width:2}
.mps-advanced-p1-integration-svg .mps-ap18-card.target{fill:#fff7ed;stroke:#c2410c;stroke-dasharray:7 5}
.mps-advanced-p1-integration-svg .mps-ap18-card-heading{font:800 13px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#475569;text-anchor:middle}
.mps-advanced-p1-integration-svg .mps-ap18-card-value{font:800 18px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#17243c;text-anchor:middle}
.mps-advanced-p1-integration-svg .mps-ap18-arrow{fill:none;stroke:#0f766e;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}
.mps-advanced-p1-integration-svg .mps-ap18-arrow-label{font:800 13px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#0f766e;text-anchor:middle}
.mps-advanced-p1-integration-svg .mps-ap18-axis{fill:none;stroke:#475569;stroke-width:2.2;stroke-linecap:round}
.mps-advanced-p1-integration-svg .mps-ap18-curve{fill:none;stroke:#2563eb;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.mps-advanced-p1-integration-svg .mps-ap18-second-curve{fill:none;stroke:#7c3aed;stroke-width:3.2;stroke-dasharray:9 6;stroke-linecap:round}
.mps-advanced-p1-integration-svg .mps-ap18-bound{fill:none;stroke:#64748b;stroke-width:2;stroke-dasharray:7 6}
.mps-advanced-p1-integration-svg .mps-ap18-region{fill:#bfdbfe;fill-opacity:.62;stroke:#2563eb;stroke-width:1.4}
.mps-advanced-p1-integration-svg .mps-ap18-limit-label{font:800 12px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#475569;text-anchor:middle}
.mps-advanced-p1-integration-svg .mps-ap18-caption{font:700 13px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#475569;text-anchor:middle}
.mps-advanced-p1-integration-svg .mps-ap18-rotation-axis{fill:none;stroke:#475569;stroke-width:2.4;stroke-dasharray:8 6}
.mps-advanced-p1-integration-svg .mps-ap18-profile{fill:none;stroke:#2563eb;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.mps-advanced-p1-integration-svg .mps-ap18-profile.faint{stroke:#60a5fa;stroke-dasharray:8 6}
.mps-advanced-p1-integration-svg .mps-ap18-washer{fill:#dbeafe;fill-opacity:.7;stroke:#7c3aed;stroke-width:3}
.mps-advanced-p1-integration-svg .mps-ap18-rotate-arrow{fill:none;stroke:#b45309;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:640px){.mps-advanced-p1-integration-svg .mps-ap18-card-value{font-size:15px}.mps-advanced-p1-integration-svg .mps-ap18-caption{font-size:12px}.mps-advanced-p1-integration-svg{max-width:100%;overflow:visible}}
@media print{.mps-advanced-p1-integration-svg{break-inside:avoid;max-width:100%}.mps-advanced-p1-integration-svg .mps-ap18-panel,.mps-advanced-p1-integration-svg .mps-ap18-card,.mps-advanced-p1-integration-svg .mps-ap18-region,.mps-advanced-p1-integration-svg .mps-ap18-washer{print-color-adjust:exact;-webkit-print-color-adjust:exact}}


/* v4.00.0: responsive, printable AS Pure Mathematics 2 Algebra diagrams. */
.mps-advanced-p2-algebra-svg{display:block;width:100%;height:auto;max-width:760px;margin-inline:auto;overflow:visible}
.mps-advanced-p2-algebra-svg .mps-ap2-panel{fill:#f8fafc;stroke:#cbd5e1;stroke-width:2}
.mps-advanced-p2-algebra-svg .mps-ap2-axis{fill:none;stroke:#475569;stroke-width:2.2;stroke-linecap:round}
.mps-advanced-p2-algebra-svg .mps-ap2-grid{fill:none;stroke:#dbe3ec;stroke-width:1}
.mps-advanced-p2-algebra-svg .mps-ap2-modulus-curve{fill:none;stroke:#2563eb;stroke-width:4.2;stroke-linecap:round;stroke-linejoin:round}
.mps-advanced-p2-algebra-svg .mps-ap2-comparison-line{fill:none;stroke:#7c3aed;stroke-width:3;stroke-dasharray:9 6;stroke-linecap:round}
.mps-advanced-p2-algebra-svg .mps-ap2-heading{font:800 17px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#17243c;text-anchor:middle}
.mps-advanced-p2-algebra-svg .mps-ap2-caption{font:700 13px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#475569;text-anchor:middle}
.mps-advanced-p2-algebra-svg .mps-ap2-card{fill:#ffffff;stroke:#94a3b8;stroke-width:2}
.mps-advanced-p2-algebra-svg .mps-ap2-card.target{fill:#fff7ed;stroke:#c2410c;stroke-dasharray:7 5}
.mps-advanced-p2-algebra-svg .mps-ap2-card-heading{font:800 12px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#475569;text-anchor:middle}
.mps-advanced-p2-algebra-svg .mps-ap2-card-value{font:800 16px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#17243c;text-anchor:middle}
@media (max-width:640px){.mps-advanced-p2-algebra-svg{max-width:100%;overflow:visible}.mps-advanced-p2-algebra-svg .mps-ap2-card-value{font-size:14px}.mps-advanced-p2-algebra-svg .mps-ap2-caption{font-size:12px}}
@media print{.mps-advanced-p2-algebra-svg{break-inside:avoid;max-width:100%}.mps-advanced-p2-algebra-svg .mps-ap2-panel,.mps-advanced-p2-algebra-svg .mps-ap2-card{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

/* v4.01.0 — legacy Question Reference replay and AP2.2 visuals */
.mps-advanced-p1-functions-svg .mps-ap1-caption-band{fill:#f1f5f9;stroke:#cbd5e1;stroke-width:1.4}
.mps-replay-result.success{color:#14532d}
.mps-replay-result .mps-replay-note{margin:10px 0;padding:10px 12px;border-left:4px solid #2563eb;border-radius:8px;background:#eff6ff;color:#1e3a5f}
.mps-replay-result .mps-replay-visual{margin:14px 0;padding:12px;border:1px solid #cbd5e1;border-radius:14px;background:#fff;color:#17243c;overflow:hidden}
.mps-replay-result .mps-replay-visual svg{display:block;width:100%;height:auto;max-width:760px;margin-inline:auto}
.mps-replay-result .mps-replay-visual-note{margin:12px 0;padding:10px;border-radius:10px;background:#f8fafc;color:#475569}
.mps-advanced-p2-log-exp-svg{display:block;width:100%;height:auto;max-width:760px;margin-inline:auto;overflow:visible}
.mps-advanced-p3-log-exp-svg{display:block;width:100%;height:auto;max-width:760px;margin-inline:auto;overflow:visible}
.mps-advanced-p2-log-exp-svg .mps-ap22-panel{fill:#f8fafc;stroke:#cbd5e1;stroke-width:2}
.mps-advanced-p3-log-exp-svg .mps-ap22-panel{fill:#f8fafc;stroke:#cbd5e1;stroke-width:2}
.mps-advanced-p2-log-exp-svg .mps-ap22-axis{fill:none;stroke:#475569;stroke-width:2.2;stroke-linecap:round}
.mps-advanced-p3-log-exp-svg .mps-ap22-axis{fill:none;stroke:#475569;stroke-width:2.2;stroke-linecap:round}
.mps-advanced-p2-log-exp-svg .mps-ap22-asymptote{fill:none;stroke:#64748b;stroke-width:2;stroke-dasharray:8 7}
.mps-advanced-p3-log-exp-svg .mps-ap22-asymptote{fill:none;stroke:#64748b;stroke-width:2;stroke-dasharray:8 7}
.mps-advanced-p2-log-exp-svg .mps-ap22-mirror{fill:none;stroke:#94a3b8;stroke-width:2;stroke-dasharray:8 7}
.mps-advanced-p3-log-exp-svg .mps-ap22-mirror{fill:none;stroke:#94a3b8;stroke-width:2;stroke-dasharray:8 7}
.mps-advanced-p2-log-exp-svg .mps-ap22-exp{fill:none;stroke:#2563eb;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.mps-advanced-p3-log-exp-svg .mps-ap22-exp{fill:none;stroke:#2563eb;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.mps-advanced-p2-log-exp-svg .mps-ap22-log{fill:none;stroke:#7c3aed;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.mps-advanced-p3-log-exp-svg .mps-ap22-log{fill:none;stroke:#7c3aed;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.mps-advanced-p2-log-exp-svg .mps-ap22-line{fill:none;stroke:#2563eb;stroke-width:4;stroke-linecap:round}
.mps-advanced-p3-log-exp-svg .mps-ap22-line{fill:none;stroke:#2563eb;stroke-width:4;stroke-linecap:round}
.mps-advanced-p2-log-exp-svg .mps-ap22-point{fill:#fff;stroke:#0f766e;stroke-width:4}
.mps-advanced-p3-log-exp-svg .mps-ap22-point{fill:#fff;stroke:#0f766e;stroke-width:4}
.mps-advanced-p2-log-exp-svg .mps-ap22-card{fill:#fff;stroke:#94a3b8;stroke-width:2}
.mps-advanced-p3-log-exp-svg .mps-ap22-card{fill:#fff;stroke:#94a3b8;stroke-width:2}
.mps-advanced-p2-log-exp-svg .mps-ap22-card.target{fill:#fff7ed;stroke:#c2410c;stroke-dasharray:7 5}
.mps-advanced-p3-log-exp-svg .mps-ap22-card.target{fill:#fff7ed;stroke:#c2410c;stroke-dasharray:7 5}
.mps-advanced-p2-log-exp-svg .mps-ap22-badge{font:800 13px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#334155;text-anchor:middle;dominant-baseline:middle}
.mps-advanced-p3-log-exp-svg .mps-ap22-badge{font:800 13px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#334155;text-anchor:middle;dominant-baseline:middle}
.mps-advanced-p2-log-exp-svg .mps-ap22-card-heading{font:800 12px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#475569;text-anchor:middle;dominant-baseline:middle}
.mps-advanced-p3-log-exp-svg .mps-ap22-card-heading{font:800 12px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#475569;text-anchor:middle;dominant-baseline:middle}
.mps-advanced-p2-log-exp-svg .mps-ap22-card-value{font:800 17px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#17243c;text-anchor:middle;dominant-baseline:middle}
.mps-advanced-p3-log-exp-svg .mps-ap22-card-value{font:800 17px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#17243c;text-anchor:middle;dominant-baseline:middle}
.mps-advanced-p2-log-exp-svg .mps-ap22-caption{font:600 14px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#475569;text-anchor:middle;dominant-baseline:middle}
.mps-advanced-p3-log-exp-svg .mps-ap22-caption{font:600 14px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#475569;text-anchor:middle;dominant-baseline:middle}
.mps-advanced-p2-log-exp-svg .mps-ap22-label{font:700 13px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#334155;text-anchor:middle;dominant-baseline:middle}
.mps-advanced-p3-log-exp-svg .mps-ap22-label{font:700 13px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#334155;text-anchor:middle;dominant-baseline:middle}
@media(max-width:640px){.mps-replay-result .mps-replay-visual{padding:7px}.mps-advanced-p2-log-exp-svg .mps-ap22-card-value{font-size:14px}.mps-advanced-p2-log-exp-svg .mps-ap22-caption{font-size:12px}.mps-advanced-p2-log-exp-svg .mps-ap22-badge{font-size:11px}}
@media(max-width:640px){.mps-replay-result .mps-replay-visual{padding:7px}.mps-advanced-p3-log-exp-svg .mps-ap22-card-value{font-size:14px}.mps-advanced-p3-log-exp-svg .mps-ap22-caption{font-size:12px}.mps-advanced-p3-log-exp-svg .mps-ap22-badge{font-size:11px}}
@media print{.mps-replay-result .mps-replay-visual,.mps-advanced-p2-log-exp-svg{break-inside:avoid;max-width:100%}.mps-replay-result .mps-replay-note,.mps-advanced-p2-log-exp-svg .mps-ap22-panel,.mps-advanced-p2-log-exp-svg .mps-ap22-card,.mps-advanced-p1-functions-svg .mps-ap1-caption-band{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
@media print{.mps-replay-result .mps-replay-visual,.mps-advanced-p3-log-exp-svg{break-inside:avoid;max-width:100%}.mps-replay-result .mps-replay-note,.mps-advanced-p3-log-exp-svg .mps-ap22-panel,.mps-advanced-p3-log-exp-svg .mps-ap22-card,.mps-advanced-p1-functions-svg .mps-ap1-caption-band{print-color-adjust:exact;-webkit-print-color-adjust:exact}}


/* v4.02.0 — exact legacy visual fidelity with caption-only layout repair. */
.mps-legacy-visual-fidelity{display:block;width:100%;height:auto;max-width:760px;margin-inline:auto;overflow:visible}
.mps-legacy-visual-fidelity .mps-ap1-caption-band{fill:#f1f5f9;stroke:#cbd5e1;stroke-width:1.4}
@media(max-width:640px){.mps-legacy-visual-fidelity{max-width:100%}.mps-legacy-visual-fidelity .mps-ap1-caption{font-size:13px}}
@media print{.mps-legacy-visual-fidelity{break-inside:avoid;max-width:100%}.mps-legacy-visual-fidelity .mps-ap1-caption-band{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

/* v4.03.0: responsive, printable AS Pure Mathematics 2 Trigonometry diagrams. */
.mps-advanced-p2-trigonometry-svg{display:block;width:100%;height:auto;max-width:760px;margin-inline:auto;overflow:visible}
.mps-advanced-p2-trigonometry-svg .mps-ap23-panel{fill:#f8fafc;stroke:#cbd5e1;stroke-width:2}
.mps-advanced-p2-trigonometry-svg .mps-ap23-badge{font:800 14px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#17243c;text-anchor:middle;dominant-baseline:middle}
.mps-advanced-p2-trigonometry-svg .mps-ap23-axis{fill:none;stroke:#475569;stroke-width:2.2;stroke-linecap:round}
.mps-advanced-p2-trigonometry-svg .mps-ap23-asymptote{fill:none;stroke:#b45309;stroke-width:2.2;stroke-dasharray:8 7}
.mps-advanced-p2-trigonometry-svg .mps-ap23-curve{fill:none;stroke:#7c3aed;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.mps-advanced-p2-trigonometry-svg .mps-ap23-resultant{fill:none;stroke:#2563eb;stroke-width:4;stroke-linecap:round}
.mps-advanced-p2-trigonometry-svg .mps-ap23-component{fill:none;stroke:#0f766e;stroke-width:3;stroke-dasharray:8 6;stroke-linecap:round}
.mps-advanced-p2-trigonometry-svg .mps-ap23-angle-arc{fill:none;stroke:#b45309;stroke-width:3}
.mps-advanced-p2-trigonometry-svg .mps-ap23-card{fill:#fff;stroke:#94a3b8;stroke-width:2}
.mps-advanced-p2-trigonometry-svg .mps-ap23-card.target{fill:#fff7ed;stroke:#c2410c;stroke-dasharray:7 5}
.mps-advanced-p2-trigonometry-svg .mps-ap23-card-heading{font:800 12px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#475569;text-anchor:middle;dominant-baseline:middle}
.mps-advanced-p2-trigonometry-svg .mps-ap23-card-value{font:800 16px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#17243c;text-anchor:middle;dominant-baseline:middle}
.mps-advanced-p2-trigonometry-svg .mps-ap23-label{font:800 14px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#17243c;text-anchor:middle;dominant-baseline:middle;paint-order:stroke;stroke:#fff;stroke-width:2px;stroke-linejoin:round}
.mps-advanced-p2-trigonometry-svg .mps-ap23-caption{font:700 13px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#475569;text-anchor:middle;dominant-baseline:middle}
@media(max-width:640px){.mps-advanced-p2-trigonometry-svg .mps-ap23-card-value{font-size:14px}.mps-advanced-p2-trigonometry-svg .mps-ap23-caption{font-size:12px}.mps-advanced-p2-trigonometry-svg .mps-ap23-badge{font-size:12px}}
@media print{.mps-advanced-p2-trigonometry-svg{break-inside:avoid;max-width:100%}.mps-advanced-p2-trigonometry-svg .mps-ap23-panel,.mps-advanced-p2-trigonometry-svg .mps-ap23-card{print-color-adjust:exact;-webkit-print-color-adjust:exact}}


/* AS Level Pure Mathematics 2 — Differentiation (v4.04.0) */
.mps-advanced-p2-differentiation-svg{display:block;width:100%;height:auto;max-width:100%;overflow:visible}
.mps-ap24-panel{fill:#f8fbff;stroke:#334155;stroke-width:2}
.mps-ap24-badge{font-size:15px;font-weight:800;letter-spacing:.05em;fill:#1e3a5f}
.mps-ap24-axis{fill:none;stroke:#64748b;stroke-width:2}
.mps-ap24-curve{fill:none;stroke:#0f766e;stroke-width:5;stroke-linecap:round}
.mps-ap24-tangent{fill:none;stroke:#7c3aed;stroke-width:4;stroke-dasharray:10 7;stroke-linecap:round}
.mps-ap24-normal{fill:none;stroke:#b45309;stroke-width:4;stroke-dasharray:5 7;stroke-linecap:round}
.mps-ap24-card,.mps-ap24-equation{fill:#fff;stroke:#94a3b8;stroke-width:1.5}
.mps-ap24-card.target{fill:#eef2ff;stroke:#4338ca;stroke-width:2}
.mps-ap24-card-heading{font-size:17px;font-weight:750;fill:#1f2937}
.mps-ap24-card-value{font-size:19px;font-weight:650;fill:#334155}
.mps-ap24-card-value.mps-answer-target{fill:#4338ca}
.mps-ap24-equation-text{font-size:24px;font-weight:750;fill:#1e293b}
.mps-ap24-label{font-size:16px;font-weight:700;fill:#334155}
.mps-ap24-caption{font-size:15px;font-weight:550;fill:#475569}
.mps-ap24-arrow{fill:none;stroke:#64748b;stroke-width:3;stroke-linecap:round}
@media (max-width:480px){.mps-advanced-p2-differentiation-svg{font-size:14px}}
@media print{.mps-advanced-p2-differentiation-svg{break-inside:avoid;page-break-inside:avoid}.mps-ap24-panel,.mps-ap24-card,.mps-ap24-equation{fill:#fff!important}.mps-ap24-curve,.mps-ap24-tangent,.mps-ap24-normal,.mps-ap24-axis,.mps-ap24-arrow{stroke:#000!important}}
/* A Level Pure Mathematics 3 — AP3.4 Differentiation */
.mps-advanced-p3-differentiation-svg{display:block;width:100%;height:auto;max-width:760px;margin-inline:auto;overflow:visible}
.mps-advanced-p3-differentiation-svg .mps-ap24-panel{fill:#f8fafc;stroke:#64748b;stroke-width:2}
.mps-advanced-p3-differentiation-svg .mps-ap24-card.target,.mps-advanced-p3-differentiation-svg .mps-ap24-equation.target{fill:#fff7ed;stroke:#c2410c;stroke-width:2;stroke-dasharray:7 5}
.mps-advanced-p3-differentiation-svg .mps-ap24-card-value.mps-answer-target{fill:#9a3412}
@media(max-width:640px){.mps-advanced-p3-differentiation-svg .mps-ap24-card-value{font-size:15px}.mps-advanced-p3-differentiation-svg .mps-ap24-caption{font-size:12px}.mps-advanced-p3-differentiation-svg .mps-ap24-badge{font-size:12px}}
@media print{.mps-advanced-p3-differentiation-svg{break-inside:avoid;page-break-inside:avoid;max-width:100%}.mps-advanced-p3-differentiation-svg .mps-ap24-panel,.mps-advanced-p3-differentiation-svg .mps-ap24-card,.mps-advanced-p3-differentiation-svg .mps-ap24-equation{fill:#fff!important}.mps-advanced-p3-differentiation-svg .mps-ap24-curve,.mps-advanced-p3-differentiation-svg .mps-ap24-tangent,.mps-advanced-p3-differentiation-svg .mps-ap24-normal,.mps-advanced-p3-differentiation-svg .mps-ap24-axis,.mps-advanced-p3-differentiation-svg .mps-ap24-arrow{stroke:#000!important}}



/* AS Pure Mathematics 2 — Integration (AP2.5) */
.mps-advanced-p2-integration-svg{display:block;width:100%;height:auto;max-width:100%;overflow:visible}
.mps-advanced-p2-integration-svg .mps-ap25-panel{fill:#f7fbff;stroke:#20364f;stroke-width:2}
.mps-advanced-p2-integration-svg .mps-ap25-badge{fill:#173d6d;font-size:15px;font-weight:800;letter-spacing:.5px;text-anchor:middle}
.mps-advanced-p2-integration-svg .mps-ap25-card,.mps-advanced-p2-integration-svg .mps-ap25-equation{fill:#fff;stroke:#9db5cf;stroke-width:2}
.mps-advanced-p2-integration-svg .mps-ap25-card.target{fill:#eef5ff;stroke:#23569a;stroke-dasharray:7 5}
.mps-advanced-p2-integration-svg .mps-ap25-card-heading{fill:#1e344d;font-size:15px;font-weight:750;text-anchor:middle}
.mps-advanced-p2-integration-svg .mps-ap25-card-value{fill:#173d6d;font-size:17px;font-weight:650;text-anchor:middle}
.mps-advanced-p2-integration-svg .mps-ap25-card-value.mps-answer-concealed{fill:#9b3e1e}
.mps-advanced-p2-integration-svg .mps-ap25-arrow{stroke:#23569a;stroke-width:3;fill:none}
.mps-advanced-p2-integration-svg .mps-ap25-axis{stroke:#5f7184;stroke-width:2;fill:none}
.mps-advanced-p2-integration-svg .mps-ap25-curve{stroke:#087f73;stroke-width:4;fill:none;stroke-linecap:round}
.mps-advanced-p2-integration-svg .mps-ap25-ordinate{stroke:#7186a0;stroke-width:1.7;fill:none}
.mps-advanced-p2-integration-svg .mps-ap25-trapezium-top{stroke:#6d3fd3;stroke-width:3;stroke-dasharray:7 5;fill:none}
.mps-advanced-p2-integration-svg .mps-ap25-point{fill:#087f73;stroke:#fff;stroke-width:2}
.mps-advanced-p2-integration-svg .mps-ap25-caption{fill:#42566d;font-size:15px;text-anchor:middle}
@media print{.mps-advanced-p2-integration-svg{break-inside:avoid}.mps-advanced-p2-integration-svg .mps-ap25-panel,.mps-advanced-p2-integration-svg .mps-ap25-card{fill:#fff}.mps-advanced-p2-integration-svg text{fill:#000!important}}

/* v4.06.0: responsive, printable AS Pure Mathematics 2 Numerical solution diagrams. */
.mps-advanced-p2-numerical-svg{display:block;width:100%;height:auto;max-width:760px;margin-inline:auto;overflow:visible}
.mps-advanced-p2-numerical-svg .mps-ap26-panel{fill:#f8fafc;stroke:#cbd5e1;stroke-width:2}
.mps-advanced-p2-numerical-svg .mps-ap26-badge{fill:#173d6d;font-size:15px;font-weight:800;letter-spacing:.45px;text-anchor:middle}
.mps-advanced-p2-numerical-svg .mps-ap26-axis{fill:none;stroke:#52667d;stroke-width:2.2;stroke-linecap:round}
.mps-advanced-p2-numerical-svg .mps-ap26-curve{fill:none;stroke:#087f73;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.mps-advanced-p2-numerical-svg .mps-ap26-line{fill:none;stroke:#6d3fd3;stroke-width:3;stroke-dasharray:8 6;stroke-linecap:round}
.mps-advanced-p2-numerical-svg .mps-ap26-positive-point{fill:#0f766e;stroke:#fff;stroke-width:3}
.mps-advanced-p2-numerical-svg .mps-ap26-negative-point{fill:#b45309;stroke:#fff;stroke-width:3}
.mps-advanced-p2-numerical-svg .mps-ap26-target{fill:#fff7ed;stroke:#c2410c;stroke-width:3;stroke-dasharray:6 4}
.mps-advanced-p2-numerical-svg .mps-ap26-label{fill:#263d58;font-size:14px;font-weight:750;text-anchor:middle}
.mps-advanced-p2-numerical-svg .mps-ap26-card{fill:#fff;stroke:#9db5cf;stroke-width:2}
.mps-advanced-p2-numerical-svg .mps-ap26-card.target{fill:#eef5ff;stroke:#23569a;stroke-dasharray:7 5}
.mps-advanced-p2-numerical-svg .mps-ap26-card-value{fill:#173d6d;font-size:17px;font-weight:750;text-anchor:middle}
.mps-advanced-p2-numerical-svg .mps-ap26-card-value.mps-answer-concealed{fill:#9b3e1e}
.mps-advanced-p2-numerical-svg .mps-ap26-arrow{fill:none;stroke:#23569a;stroke-width:3;stroke-linecap:round}
.mps-advanced-p2-numerical-svg .mps-ap26-caption{fill:#42566d;font-size:15px;font-weight:650;text-anchor:middle}
@media (max-width:640px){.mps-advanced-p2-numerical-svg{max-width:100%;overflow:visible}.mps-advanced-p2-numerical-svg .mps-ap26-card-value{font-size:14px}.mps-advanced-p2-numerical-svg .mps-ap26-caption{font-size:12px}}
@media print{.mps-advanced-p2-numerical-svg{break-inside:avoid;max-width:100%}.mps-advanced-p2-numerical-svg .mps-ap26-panel,.mps-advanced-p2-numerical-svg .mps-ap26-card{fill:#fff}.mps-advanced-p2-numerical-svg text{fill:#000!important}}

/* v4.06.0: compact administrator diagnostics on narrow screens. */
@media (max-width:480px){
  #mps-app .mps-test-panel{padding:12px}
  #mps-app .mps-test-table{width:100%;max-width:100%;table-layout:fixed;font-size:11px}
  #mps-app .mps-test-table th,#mps-app .mps-test-table td{padding:5px 4px;overflow-wrap:anywhere;word-break:normal}
  #mps-app .mps-test-table th:nth-child(1),#mps-app .mps-test-table td:nth-child(1){width:24%}
  #mps-app .mps-test-table th:nth-child(2),#mps-app .mps-test-table td:nth-child(2){width:44%}
  #mps-app .mps-test-table th:nth-child(3),#mps-app .mps-test-table td:nth-child(3),#mps-app .mps-test-table th:nth-child(4),#mps-app .mps-test-table td:nth-child(4){width:16%}
}


/* v4.08.0: semantic mathematical scripts and AS Mechanics force diagrams. */
#mps-app sub,#mps-app sup{font-size:.72em;line-height:0;position:relative;vertical-align:baseline}
#mps-app sub{bottom:-.30em}
#mps-app sup{top:-.48em}
#mps-app .mps-prompt sub,#mps-app .mps-prompt sup{font-size:.68em}
.mps-advanced-mechanics-svg{display:block;width:100%;height:auto;max-width:760px;margin-inline:auto;overflow:visible}
.mps-advanced-m1-forces-svg .mps-am11-panel{fill:#f8fafc;stroke:#cbd5e1;stroke-width:2}
.mps-advanced-m1-forces-svg .mps-am11-badge{fill:#173d6d;font-size:14px;font-weight:800;letter-spacing:.45px;text-anchor:middle}
.mps-advanced-m1-forces-svg .mps-am11-ground{fill:none;stroke:#52667d;stroke-width:3;stroke-linecap:round}
.mps-advanced-m1-forces-svg .mps-am11-surface{fill:#e8f0f8;stroke:#52667d;stroke-width:3;stroke-linejoin:round}
.mps-advanced-m1-forces-svg .mps-am11-particle{fill:#fff;stroke:#173d6d;stroke-width:3}
.mps-advanced-m1-forces-svg .mps-am11-force{fill:none;stroke:#0f766e;stroke-width:4;stroke-linecap:round}
.mps-advanced-m1-forces-svg .mps-am11-force.secondary{stroke:#6d3fd3;stroke-dasharray:8 6}
.mps-advanced-m1-forces-svg .mps-am11-arrowhead{fill:#0f766e;stroke:none}
.mps-advanced-m1-forces-svg .mps-am11-component-guide{fill:none;stroke:#94a3b8;stroke-width:2;stroke-dasharray:7 6}
.mps-advanced-m1-forces-svg .mps-am11-label{fill:#1e344d;font-size:15px;font-weight:800;text-anchor:middle;paint-order:stroke;stroke:#fff;stroke-width:5px;stroke-linejoin:round}
.mps-advanced-m1-forces-svg .mps-am11-caption{fill:#42566d;font-size:14px;font-weight:650;text-anchor:middle}
@media(max-width:640px){.mps-advanced-mechanics-svg{max-width:100%}.mps-advanced-m1-forces-svg .mps-am11-badge{font-size:12px}.mps-advanced-m1-forces-svg .mps-am11-label{font-size:13px}.mps-advanced-m1-forces-svg .mps-am11-caption{font-size:12px}}
@media print{#mps-app sub,#mps-app sup{font-size:.72em}.mps-advanced-mechanics-svg{break-inside:avoid;max-width:100%}.mps-advanced-m1-forces-svg .mps-am11-panel,.mps-advanced-m1-forces-svg .mps-am11-particle{fill:#fff}.mps-advanced-m1-forces-svg text{fill:#000!important}.mps-advanced-m1-forces-svg .mps-am11-force,.mps-advanced-m1-forces-svg .mps-am11-ground,.mps-advanced-m1-forces-svg .mps-am11-surface{stroke:#000!important}.mps-advanced-m1-forces-svg .mps-am11-arrowhead{fill:#000!important}}


/* v4.09.0: AS Mechanics kinematics diagrams. */
.mps-advanced-m1-kinematics-svg{display:block;width:100%;height:auto;max-width:760px;margin:0 auto;overflow:visible}
.mps-am12-panel{fill:#f8fbff;stroke:#334155;stroke-width:2}
.mps-am12-badge{font-size:17px;font-weight:800;fill:#163b6d;letter-spacing:.5px}
.mps-am12-axis,.mps-am12-track{stroke:#64748b;stroke-width:2.2;fill:none;stroke-linecap:round}
.mps-am12-graph-line{stroke:#0f766e;stroke-width:5;fill:none;stroke-linecap:round;stroke-linejoin:round}
.mps-am12-area{fill:rgba(14,116,144,.14);stroke:none}
.mps-am12-axis-label,.mps-am12-label,.mps-am12-heading{font-size:17px;font-weight:700;fill:#1e293b}
.mps-am12-caption{font-size:16px;fill:#475569}
.mps-am12-small{font-size:13px;fill:#64748b}
.mps-am12-card{fill:#ffffff;stroke:#93a4b8;stroke-width:2}
.mps-am12-arrow{stroke:#0f766e;stroke-width:4;fill:none;stroke-linecap:round}
.mps-am12-arrow.secondary{stroke:#7c3aed}
.mps-am12-arrow::after{content:''}
.mps-am12-particle{fill:#0f766e;stroke:#ffffff;stroke-width:3}
.mps-am12-particle.secondary{fill:#7c3aed}
@media(max-width:520px){.mps-am12-badge{font-size:15px}.mps-am12-caption,.mps-am12-label,.mps-am12-heading{font-size:15px}.mps-am12-axis-label{font-size:14px}}
@media print{.mps-advanced-m1-kinematics-svg{break-inside:avoid;max-width:100%}.mps-am12-panel,.mps-am12-card{fill:#fff}.mps-am12-area{fill:#e8eef5}}


/* v4.10.0: AS Mechanics momentum diagrams. */
.mps-advanced-m1-momentum-svg{display:block;width:100%;height:auto;max-width:760px;margin:0 auto;overflow:visible}
.mps-am13-panel{fill:#f8fbff;stroke:#334155;stroke-width:2}
.mps-am13-badge{font-size:17px;font-weight:800;fill:#163b6d;letter-spacing:.5px;text-anchor:middle}
.mps-am13-track{stroke:#64748b;stroke-width:2.5;stroke-linecap:round}
.mps-am13-body{fill:#e5f6f3;stroke:#0f766e;stroke-width:3}
.mps-am13-body.secondary{fill:#f1eafe;stroke:#7c3aed}
.mps-am13-body.joined{fill:#e9f1fb;stroke:#173d6d}
.mps-am13-body-label{font-size:18px;font-weight:800;fill:#17263a;text-anchor:middle}
.mps-am13-heading{font-size:17px;font-weight:800;fill:#1e293b;text-anchor:middle}
.mps-am13-value{font-size:15px;font-weight:750;fill:#334155;text-anchor:middle}
.mps-am13-small{font-size:14px;font-weight:650;fill:#475569;text-anchor:middle}
.mps-am13-arrow{stroke:#0f766e;stroke-width:4;stroke-linecap:round}
.mps-am13-arrow.secondary{stroke:#7c3aed}
.mps-am13-arrowhead{fill:#0f766e}
.mps-am13-arrowhead.secondary{fill:#7c3aed}
.mps-am13-caption-band{fill:#fff;stroke:#cbd5e1;stroke-width:1.5}
.mps-am13-caption{font-size:15px;fill:#475569;text-anchor:middle}
@media(max-width:520px){.mps-am13-badge{font-size:14px}.mps-am13-heading,.mps-am13-body-label{font-size:15px}.mps-am13-value,.mps-am13-caption{font-size:13px}.mps-am13-small{font-size:12px}}
@media print{.mps-advanced-m1-momentum-svg{break-inside:avoid;max-width:100%}.mps-am13-panel,.mps-am13-caption-band,.mps-am13-body,.mps-am13-body.secondary,.mps-am13-body.joined{fill:#fff}.mps-am13-track,.mps-am13-body,.mps-am13-body.secondary,.mps-am13-body.joined,.mps-am13-arrow,.mps-am13-arrow.secondary{stroke:#000!important}.mps-am13-arrowhead,.mps-am13-arrowhead.secondary{fill:#000!important}.mps-advanced-m1-momentum-svg text{fill:#000!important}}


/* v4.11.0: AS Mechanics Newton's laws diagrams. */
.mps-advanced-m1-newton-svg{display:block;width:100%;height:auto;max-width:760px;margin:0 auto;overflow:visible}
.mps-am14-panel{fill:#f8fbff;stroke:#334155;stroke-width:2}
.mps-am14-badge{font-size:17px;font-weight:800;fill:#163b6d;letter-spacing:.45px;text-anchor:middle}
.mps-am14-ground,.mps-am14-string,.mps-am14-link{stroke:#64748b;stroke-width:3;stroke-linecap:round;fill:none}
.mps-am14-link{stroke-width:6}
.mps-am14-body{fill:#e5f6f3;stroke:#0f766e;stroke-width:3}
.mps-am14-body.secondary{fill:#f1eafe;stroke:#7c3aed}
.mps-am14-car{fill:#e9f1fb;stroke:#173d6d;stroke-width:3}
.mps-am14-pulley{fill:#fff;stroke:#334155;stroke-width:4}
.mps-am14-slope{fill:#eef3f8;stroke:#64748b;stroke-width:3}
.mps-am14-body-label{font-size:17px;font-weight:800;fill:#17263a;text-anchor:middle}
.mps-am14-value{font-size:14px;font-weight:750;fill:#334155;text-anchor:middle}
.mps-am14-small{font-size:14px;font-weight:650;fill:#475569;text-anchor:middle}
.mps-am14-force{stroke:#0f766e;stroke-width:4;stroke-linecap:round}
.mps-am14-force.secondary{stroke:#7c3aed}
.mps-am14-arrowhead{fill:#0f766e}.mps-am14-arrowhead.secondary{fill:#7c3aed}
.mps-am14-caption-band{fill:#fff;stroke:#cbd5e1;stroke-width:1.5}
.mps-am14-caption{font-size:14px;fill:#475569;text-anchor:middle}
@media(max-width:520px){.mps-am14-badge{font-size:14px}.mps-am14-body-label{font-size:14px}.mps-am14-value,.mps-am14-caption,.mps-am14-small{font-size:12px}}
@media print{.mps-advanced-m1-newton-svg{break-inside:avoid;max-width:100%}.mps-am14-panel,.mps-am14-caption-band,.mps-am14-body,.mps-am14-body.secondary,.mps-am14-car,.mps-am14-pulley,.mps-am14-slope{fill:#fff}.mps-advanced-m1-newton-svg *{stroke:#000!important}.mps-advanced-m1-newton-svg text{fill:#000!important;stroke:#fff!important}.mps-am14-arrowhead,.mps-am14-arrowhead.secondary{fill:#000!important}}


/* v4.12.0: AS Mechanics Energy, work and power diagrams. */
.mps-advanced-m1-energy-svg{display:block;width:100%;height:auto;max-width:760px;margin:0 auto;overflow:visible}
.mps-am15-panel{fill:#f8fbff;stroke:#334155;stroke-width:2}
.mps-am15-badge{font-size:16px;font-weight:800;fill:#163b6d;letter-spacing:.3px;text-anchor:middle}
.mps-am15-ground,.mps-am15-level{stroke:#64748b;stroke-width:3;stroke-linecap:round}
.mps-am15-level{stroke-dasharray:7 6}
.mps-am15-body{fill:#e5f6f3;stroke:#0f766e;stroke-width:3}
.mps-am15-body-label{font-size:16px;font-weight:800;fill:#17263a;text-anchor:middle}
.mps-am15-arrow{stroke:#0f766e;stroke-width:4;stroke-linecap:round}.mps-am15-arrow.secondary{stroke:#7c3aed}
.mps-am15-arrowhead{fill:#0f766e}.mps-am15-arrowhead.secondary{fill:#7c3aed}
.mps-am15-value{font-size:14px;font-weight:750;fill:#334155;text-anchor:middle}
.mps-am15-angle{font-size:18px;font-weight:800;fill:#7c3aed;text-anchor:middle}
.mps-am15-object{fill:#e5f6f3;stroke:#0f766e;stroke-width:3}.mps-am15-object.secondary{fill:#f1eafe;stroke:#7c3aed}
.mps-am15-slide{fill:none;stroke:#64748b;stroke-width:8;stroke-linecap:round}
.mps-am15-building{fill:#eef3f8;stroke:#64748b;stroke-width:3}.mps-am15-lift{fill:#e5f6f3;stroke:#0f766e;stroke-width:3}
.mps-am15-hill{stroke:#64748b;stroke-width:8;stroke-linecap:round}.mps-am15-car{fill:#e9f1fb;stroke:#173d6d;stroke-width:3}.mps-am15-wheel{fill:#fff;stroke:#334155;stroke-width:3}
.mps-am15-gauge{fill:#fff;stroke:#64748b;stroke-width:5}.mps-am15-needle{stroke:#7c3aed;stroke-width:7;stroke-linecap:round}
.mps-am15-caption{font-size:14px;font-weight:650;fill:#475569;text-anchor:middle}
.mps-am15-caption-band{fill:#fff;stroke:#cbd5e1;stroke-width:1.5}.mps-am15-footer{font-size:13px;fill:#475569;text-anchor:middle}
@media(max-width:520px){.mps-am15-badge{font-size:13px}.mps-am15-body-label{font-size:13px}.mps-am15-value,.mps-am15-caption,.mps-am15-footer{font-size:11px}}
@media print{.mps-advanced-m1-energy-svg{break-inside:avoid;max-width:100%}.mps-am15-panel,.mps-am15-body,.mps-am15-object,.mps-am15-object.secondary,.mps-am15-building,.mps-am15-lift,.mps-am15-car,.mps-am15-gauge,.mps-am15-caption-band{fill:#fff}.mps-advanced-m1-energy-svg *{stroke:#000!important}.mps-advanced-m1-energy-svg text{fill:#000!important;stroke:#fff!important}.mps-am15-arrowhead,.mps-am15-arrowhead.secondary{fill:#000!important}}

/* v4.13.0: validated AS Mechanics Paper 4 route, paper selector and Mechanics formula-sheet presentation. */
.mps-formula-row code,.mps-print-formula-item code{font-variant-numeric:lining-nums tabular-nums;}

/* v4.14.0: AS Probability & Statistics 1 — Representation of data diagrams. */
.mps-advanced-s1-representation-svg{display:block;width:100%;height:auto;max-width:760px;margin:0 auto;overflow:visible}
.mps-as11-panel{fill:#f8fbff;stroke:#334155;stroke-width:2}
.mps-as11-badge{font-size:16px;font-weight:800;fill:#163b6d;letter-spacing:.25px;text-anchor:middle}
.mps-as11-card{fill:#fff;stroke:#93a4b8;stroke-width:2}
.mps-as11-heading{font-size:16px;font-weight:800;fill:#17263a;text-anchor:middle}
.mps-as11-value{font-size:15px;font-weight:700;fill:#334155;text-anchor:middle}
.mps-as11-small{font-size:12px;font-weight:650;fill:#475569;text-anchor:middle}
.mps-as11-caption{font-size:13px;font-weight:650;fill:#475569;text-anchor:middle}
.mps-as11-axis{stroke:#334155;stroke-width:2.5;fill:none}
.mps-as11-plot{stroke:#0f766e;stroke-width:3;fill:none}
.mps-as11-box{fill:#e5f6f3;stroke:#0f766e;stroke-width:3}
.mps-as11-median{stroke:#7c3aed;stroke-width:4}
.mps-as11-bar{fill:#dbeafe;stroke:#173d6d;stroke-width:2}
.mps-as11-curve{fill:none;stroke:#0f766e;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.mps-as11-point{fill:#7c3aed;stroke:#fff;stroke-width:2}
.mps-as11-table-head{fill:#e9f1fb;stroke:#64748b;stroke-width:1.5}
.mps-as11-table-cell{fill:#fff;stroke:#94a3b8;stroke-width:1.25}
.mps-as11-table-text{font-size:14px;font-weight:700;fill:#263548;text-anchor:middle}
@media(max-width:520px){.mps-as11-badge{font-size:13px}.mps-as11-heading{font-size:14px}.mps-as11-value{font-size:13px}.mps-as11-caption,.mps-as11-table-text{font-size:11px}.mps-as11-small{font-size:10px}}
@media print{.mps-advanced-s1-representation-svg{break-inside:avoid;max-width:100%}.mps-as11-panel,.mps-as11-card,.mps-as11-box,.mps-as11-bar,.mps-as11-table-head,.mps-as11-table-cell{fill:#fff}.mps-advanced-s1-representation-svg *{stroke:#000!important}.mps-advanced-s1-representation-svg text{fill:#000!important;stroke:none!important}.mps-as11-point{fill:#000!important}}


/* v4.15.0 — AS Probability & Statistics 1, section 5.2: permutations and combinations. */
#mps-app .mps-advanced-s1-permutations-svg{display:block;width:100%;height:auto;max-width:760px;margin:12px auto;border:1px solid #c9d7e8;border-radius:18px;background:#fff}
#mps-app .mps-as12-panel{fill:#f8fbff;stroke:#b9cce2;stroke-width:2}
#mps-app .mps-as12-badge{font-size:17px;font-weight:800;fill:#173b69;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as12-person{fill:#dbeafe;stroke:#245fbd;stroke-width:2}
#mps-app .mps-as12-person.secondary{fill:#ede9fe;stroke:#6d48b5}
#mps-app .mps-as12-person-label{font-size:15px;font-weight:800;fill:#17315f;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as12-seat{fill:#dbeafe;stroke:#245fbd;stroke-width:2}
#mps-app .mps-as12-seat.secondary{fill:#ede9fe;stroke:#6d48b5}
#mps-app .mps-as12-token{fill:#eef3f9;stroke:#778da8;stroke-width:2}
#mps-app .mps-as12-token.chosen{fill:#dcfce7;stroke:#27834f}
#mps-app .mps-as12-digit{fill:#fff7e6;stroke:#b7791f;stroke-width:2}
#mps-app .mps-as12-digit-text{font-size:18px;font-weight:800;fill:#744210;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as12-card{fill:#eaf3ff;stroke:#245fbd;stroke-width:2}
#mps-app .mps-as12-card.secondary{fill:#f1eafe;stroke:#6d48b5}
#mps-app .mps-as12-heading{font-size:15px;font-weight:800;fill:#3f5572;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as12-value{font-size:24px;font-weight:900;fill:#17315f;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as12-caption{font-size:16px;font-weight:700;fill:#263c57;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as12-small{font-size:14px;font-weight:800;fill:#425c79;text-anchor:middle;dominant-baseline:middle}
@media(max-width:600px){#mps-app .mps-advanced-s1-permutations-svg{border-radius:14px;margin:8px auto}}
@media print{#mps-app .mps-advanced-s1-permutations-svg{max-width:170mm;break-inside:avoid;page-break-inside:avoid;border-color:#777}#mps-app .mps-as12-panel{fill:#fff;stroke:#555}}


/* v4.16.0 — AS Probability & Statistics 1, section 5.3: probability. */
#mps-app .mps-advanced-s1-probability-svg{display:block;width:100%;height:auto;max-width:760px;margin:12px auto;border:1px solid #c9d7e8;border-radius:18px;background:#fff;overflow:visible}
#mps-app .mps-as13-panel{fill:#f8fbff;stroke:#b9cce2;stroke-width:2}
#mps-app .mps-as13-badge{font-size:16px;font-weight:800;fill:#173b69;text-anchor:middle;dominant-baseline:middle;letter-spacing:.2px}
#mps-app .mps-as13-heading{font-size:16px;font-weight:800;fill:#203b5f;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as13-small{font-size:13px;font-weight:700;fill:#435c77;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as13-caption{font-size:14px;font-weight:700;fill:#334b67;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as13-grid-cell{fill:#fff;stroke:#92a9c1;stroke-width:1.25}
#mps-app .mps-as13-bag{fill:#edf6ff;stroke:#245fbd;stroke-width:3}
#mps-app .mps-as13-token{stroke-width:2.5}
#mps-app .mps-as13-token.primary{fill:#fee2e2;stroke:#b42318}
#mps-app .mps-as13-token.secondary{fill:#dbeafe;stroke:#245fbd}
#mps-app .mps-as13-token.tertiary{fill:#dcfce7;stroke:#27834f}
#mps-app .mps-as13-token-label{font-size:19px;font-weight:900;fill:#17315f;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as13-node{fill:#173b69;stroke:#fff;stroke-width:2}
#mps-app .mps-as13-branch{fill:none;stroke:#245fbd;stroke-width:3;stroke-linecap:round}
#mps-app .mps-as13-branch.secondary{stroke:#6d48b5}
#mps-app .mps-as13-venn{stroke-width:3;fill-opacity:.32}
#mps-app .mps-as13-venn.primary{fill:#60a5fa;stroke:#245fbd}
#mps-app .mps-as13-venn.secondary{fill:#c4b5fd;stroke:#6d48b5}
#mps-app .mps-as13-venn-label{font-size:23px;font-weight:900;fill:#17315f;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as13-table-cell{fill:#fff;stroke:#8398af;stroke-width:1.5}
#mps-app .mps-as13-table-text{font-size:17px;font-weight:800;fill:#263f5d;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as13-card{fill:#fff;stroke:#245fbd;stroke-width:2.5}
#mps-app .mps-as13-card.red{stroke:#b42318}
#mps-app .mps-as13-suit{font-size:33px;font-weight:900;fill:#17315f;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as13-card.red+.mps-as13-suit{fill:#b42318}
#mps-app .mps-as13-card-box{fill:#eaf3ff;stroke:#245fbd;stroke-width:2.5}
#mps-app .mps-as13-card-box.secondary{fill:#f1eafe;stroke:#6d48b5}
#mps-app .mps-as13-value{font-size:23px;font-weight:900;fill:#17315f;text-anchor:middle;dominant-baseline:middle}
@media(max-width:600px){#mps-app .mps-advanced-s1-probability-svg{border-radius:14px;margin:8px auto}#mps-app .mps-as13-badge{font-size:13px}#mps-app .mps-as13-heading{font-size:14px}#mps-app .mps-as13-caption{font-size:12px}#mps-app .mps-as13-small{font-size:11px}}
@media print{#mps-app .mps-advanced-s1-probability-svg{max-width:170mm;break-inside:avoid;page-break-inside:avoid;border-color:#777}#mps-app .mps-as13-panel,#mps-app .mps-as13-grid-cell,#mps-app .mps-as13-table-cell,#mps-app .mps-as13-card,#mps-app .mps-as13-card-box,#mps-app .mps-as13-card-box.secondary{fill:#fff}#mps-app .mps-advanced-s1-probability-svg *{stroke:#000!important}#mps-app .mps-advanced-s1-probability-svg text{fill:#000!important;stroke:none!important}}


/* AS Probability & Statistics 1 — Discrete random variables (v4.19.0) */
#mps-app .mps-advanced-s1-discrete-svg{display:block;width:100%;height:auto;max-width:760px;margin:12px auto;border:1px solid #c9d7e8;border-radius:18px;background:#fff;overflow:visible}
#mps-app .mps-as14-panel{fill:#f8fbff;stroke:#b9cce2;stroke-width:2}
#mps-app .mps-as14-badge{font-size:15px;font-weight:800;fill:#173b69;text-anchor:middle;dominant-baseline:middle;letter-spacing:.15px}
#mps-app .mps-as14-heading{font-size:16px;font-weight:800;fill:#203b5f;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as14-value{font-size:18px;font-weight:850;fill:#17315f;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as14-formula{font-size:23px;font-weight:900;fill:#17315f;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as14-small{font-size:12px;font-weight:700;fill:#435c77;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as14-caption{font-size:14px;font-weight:700;fill:#334b67;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as14-table-cell{fill:#fff;stroke:#8398af;stroke-width:1.5}

#mps-app .mps-as14-distribution-table{isolation:isolate}
#mps-app .mps-as14-stub-cell{fill:#eef5ff;stroke:#6f88a4;stroke-width:1.7}
#mps-app .mps-as14-stub-label{font-weight:900;paint-order:stroke;stroke:#eef5ff;stroke-width:3px;stroke-linejoin:round}
#mps-app .mps-as14-axis{stroke:#536d88;stroke-width:2.5;stroke-linecap:round}
#mps-app .mps-as14-bar{fill:#b8d7ff;stroke:#245fbd;stroke-width:1.8}
#mps-app .mps-as14-bar.target{fill:#eadcff;stroke:#6d48b5;stroke-dasharray:5 4}
#mps-app .mps-as14-trial{stroke-width:2.5}
#mps-app .mps-as14-trial.failure{fill:#fff1f2;stroke:#b42318}
#mps-app .mps-as14-trial.success{fill:#dcfce7;stroke:#27834f}
#mps-app .mps-as14-trial-label{font-size:20px;font-weight:900;fill:#17315f;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as14-arrow{fill:none;stroke:#64748b;stroke-width:2.5;stroke-linecap:round}
#mps-app .mps-as14-check{fill:#dcfce7;stroke:#27834f;stroke-width:2}
#mps-app .mps-as14-check-label{font-size:17px;font-weight:900;fill:#166534;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as14-list{font-size:15px;font-weight:750;fill:#263f5d;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as14-card{fill:#eaf3ff;stroke:#245fbd;stroke-width:2.5}
#mps-app .mps-as14-card.secondary{fill:#f1eafe;stroke:#6d48b5}
@media(max-width:600px){#mps-app .mps-advanced-s1-discrete-svg{border-radius:14px;margin:8px auto}#mps-app .mps-as14-badge{font-size:12px}#mps-app .mps-as14-heading{font-size:14px}#mps-app .mps-as14-value{font-size:15px}#mps-app .mps-as14-formula{font-size:19px}#mps-app .mps-as14-caption{font-size:12px}#mps-app .mps-as14-list{font-size:13px}}
@media print{#mps-app .mps-advanced-s1-discrete-svg{max-width:170mm;break-inside:avoid;page-break-inside:avoid;border-color:#777}#mps-app .mps-as14-panel,#mps-app .mps-as14-table-cell,#mps-app .mps-as14-card,#mps-app .mps-as14-card.secondary{fill:#fff}#mps-app .mps-advanced-s1-discrete-svg *{stroke:#000!important}#mps-app .mps-advanced-s1-discrete-svg text{fill:#000!important;stroke:none!important}}


/* AS Probability & Statistics 1 — The normal distribution (v4.21.0) */
#mps-app .mps-advanced-s1-normal-svg{display:block;width:100%;height:auto;max-width:760px;margin:12px auto;border:1px solid #c9d7e8;border-radius:18px;background:#fff;overflow:visible}
#mps-app .mps-as15-panel{fill:#f8fbff;stroke:#b9cce2;stroke-width:2}
#mps-app .mps-as15-badge{font-size:15px;font-weight:800;fill:#173b69;text-anchor:middle;dominant-baseline:middle;letter-spacing:.12px}
#mps-app .mps-as15-heading{font-size:16px;font-weight:800;fill:#203b5f;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as15-formula{font-size:22px;font-weight:900;fill:#17315f;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as15-small{font-size:14px;font-weight:800;fill:#435c77;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as15-caption{font-size:14px;font-weight:700;fill:#334b67;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as15-axis{stroke:#536d88;stroke-width:2.5;stroke-linecap:round}
#mps-app .mps-as15-curve{fill:none;stroke:#245fbd;stroke-width:4;stroke-linecap:round}
#mps-app .mps-as15-shade{fill:#c4b5fd;fill-opacity:.62;stroke:none}
#mps-app .mps-as15-mean{stroke:#6d48b5;stroke-width:2;stroke-dasharray:6 5}
#mps-app .mps-as15-card{fill:#eaf3ff;stroke:#245fbd;stroke-width:2.5}
#mps-app .mps-as15-card.secondary{fill:#f1eafe;stroke:#6d48b5}
#mps-app .mps-as15-arrow{fill:none;stroke:#64748b;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
#mps-app .mps-as15-check{fill:#dcfce7;stroke:#27834f;stroke-width:2}
#mps-app .mps-as15-check-label{font-size:17px;font-weight:900;fill:#166534;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as15-list{font-size:15px;font-weight:750;fill:#263f5d;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as15-bar{fill:#b8d7ff;stroke:#245fbd;stroke-width:1.8}
#mps-app .mps-as15-boundary{stroke:#b42318;stroke-width:3;stroke-dasharray:7 5}
@media(max-width:600px){#mps-app .mps-advanced-s1-normal-svg{border-radius:14px;margin:8px auto}#mps-app .mps-as15-badge{font-size:12px}#mps-app .mps-as15-heading{font-size:14px}#mps-app .mps-as15-formula{font-size:18px}#mps-app .mps-as15-caption{font-size:12px}#mps-app .mps-as15-list{font-size:13px}}
@media print{#mps-app .mps-advanced-s1-normal-svg{max-width:170mm;break-inside:avoid;page-break-inside:avoid;border-color:#777}#mps-app .mps-as15-panel,#mps-app .mps-as15-card,#mps-app .mps-as15-card.secondary{fill:#fff}#mps-app .mps-advanced-s1-normal-svg *{stroke:#000!important}#mps-app .mps-advanced-s1-normal-svg text{fill:#000!important;stroke:none!important}#mps-app .mps-as15-shade{fill:#ddd!important}}


/* A Level Pure Mathematics 3 — AP3.1 internal learning visuals */
.mps-advanced-p3-algebra-svg{display:block;width:100%;height:auto;max-width:760px;margin:14px auto;color:#172033}
.mps-advanced-p3-algebra-svg .mps-ap31-panel{fill:#f7faff;stroke:#7890bd;stroke-width:2}
.mps-advanced-p3-algebra-svg .mps-ap31-badge{font-size:17px;font-weight:800;fill:#17315f;letter-spacing:.6px;text-anchor:middle}
.mps-advanced-p3-algebra-svg .mps-ap31-axis{fill:none;stroke:#405579;stroke-width:2.5;stroke-linecap:round}
.mps-advanced-p3-algebra-svg .mps-ap31-modulus{fill:none;stroke:#245fbd;stroke-width:5;stroke-linecap:round;stroke-linejoin:round}
.mps-advanced-p3-algebra-svg .mps-ap31-comparison{fill:none;stroke:#b77900;stroke-width:4;stroke-dasharray:9 7}
.mps-advanced-p3-algebra-svg .mps-ap31-card{fill:#fff;stroke:#8da5cf;stroke-width:2}
.mps-advanced-p3-algebra-svg .mps-ap31-card.target{fill:#fff8e8;stroke:#b77900;stroke-dasharray:7 5}
.mps-advanced-p3-algebra-svg .mps-ap31-heading{font-size:14px;font-weight:700;fill:#53627d;text-anchor:middle}
.mps-advanced-p3-algebra-svg .mps-ap31-value{font-size:18px;font-weight:700;fill:#172033;text-anchor:middle}
.mps-advanced-p3-algebra-svg .mps-ap31-label{font-size:14px;font-weight:600;fill:#53627d;text-anchor:middle}
.mps-advanced-p3-algebra-svg .mps-ap31-target{font-size:26px;font-weight:900;fill:#9d6b00;text-anchor:middle}
@media(max-width:640px){.mps-advanced-p3-algebra-svg{min-width:0}.mps-advanced-p3-algebra-svg .mps-ap31-value{font-size:16px}.mps-advanced-p3-algebra-svg .mps-ap31-label{font-size:13px}}
@media print{.mps-advanced-p3-algebra-svg{break-inside:avoid;max-width:180mm}.mps-advanced-p3-algebra-svg .mps-ap31-panel,.mps-advanced-p3-algebra-svg .mps-ap31-card{fill:#fff}.mps-advanced-p3-algebra-svg .mps-ap31-card.target{fill:#fff}}

/* A Level Pure Mathematics 3 — AP3.2 internal learning visuals.
 * AP3.2 intentionally shares the proven AP2.2 child geometry while using a
 * separate outer namespace and A Level metadata.
 */
.mps-advanced-p3-log-exp-svg{--mps-ap32-section:"AP3.2"}


/* A Level Pure Mathematics 3 — AP3.3 internal trigonometry visuals. */
.mps-advanced-p3-trigonometry-svg{display:block;width:100%;height:auto;max-width:760px;margin-inline:auto;overflow:visible}
.mps-advanced-p3-trigonometry-svg .mps-ap23-panel{fill:#f8fafc;stroke:#cbd5e1;stroke-width:2}
.mps-advanced-p3-trigonometry-svg .mps-ap23-badge{font:800 14px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#17243c;text-anchor:middle;dominant-baseline:middle}
.mps-advanced-p3-trigonometry-svg .mps-ap23-axis{fill:none;stroke:#475569;stroke-width:2.2;stroke-linecap:round}
.mps-advanced-p3-trigonometry-svg .mps-ap23-asymptote{fill:none;stroke:#b45309;stroke-width:2.2;stroke-dasharray:8 7}
.mps-advanced-p3-trigonometry-svg .mps-ap23-curve{fill:none;stroke:#7c3aed;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.mps-advanced-p3-trigonometry-svg .mps-ap23-resultant{fill:none;stroke:#2563eb;stroke-width:4;stroke-linecap:round}
.mps-advanced-p3-trigonometry-svg .mps-ap23-component{fill:none;stroke:#0f766e;stroke-width:3;stroke-dasharray:8 6;stroke-linecap:round}
.mps-advanced-p3-trigonometry-svg .mps-ap23-angle-arc{fill:none;stroke:#b45309;stroke-width:3}
.mps-advanced-p3-trigonometry-svg .mps-ap23-card{fill:#fff;stroke:#94a3b8;stroke-width:2}
.mps-advanced-p3-trigonometry-svg .mps-ap23-card.target{fill:#fff7ed;stroke:#c2410c;stroke-dasharray:7 5}
.mps-advanced-p3-trigonometry-svg .mps-ap23-card-heading{font:800 12px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#475569;text-anchor:middle;dominant-baseline:middle}
.mps-advanced-p3-trigonometry-svg .mps-ap23-card-value{font:800 16px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#17243c;text-anchor:middle;dominant-baseline:middle}
.mps-advanced-p3-trigonometry-svg .mps-ap23-label{font:800 14px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#17243c;text-anchor:middle;dominant-baseline:middle;paint-order:stroke;stroke:#fff;stroke-width:2px;stroke-linejoin:round}
.mps-advanced-p3-trigonometry-svg .mps-ap23-caption{font:700 13px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#475569;text-anchor:middle;dominant-baseline:middle}
@media(max-width:640px){.mps-advanced-p3-trigonometry-svg .mps-ap23-card-value{font-size:14px}.mps-advanced-p3-trigonometry-svg .mps-ap23-caption{font-size:12px}.mps-advanced-p3-trigonometry-svg .mps-ap23-badge{font-size:12px}}
@media print{.mps-advanced-p3-trigonometry-svg{break-inside:avoid;max-width:100%}.mps-advanced-p3-trigonometry-svg .mps-ap23-panel,.mps-advanced-p3-trigonometry-svg .mps-ap23-card{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
.mps-advanced-p3-trigonometry-svg{--mps-ap33-section:"AP3.3"}

/* v4.26.0 — isolated A Level Pure Mathematics 3 AP3.5 Integration visuals. */
#mps-app .mps-advanced-p3-integration-svg{
  display:block;
  width:100%;
  max-width:760px;
  height:auto;
  margin:12px auto;
  overflow:hidden;
  border:1px solid #c9d7e8;
  border-radius:18px;
  background:#fff;
  font-family:inherit;
}
#mps-app .mps-advanced-p3-integration-svg text{font-family:inherit}
#mps-app .mps-advanced-p3-integration-svg .mps-ap35-panel,
#mps-app .mps-advanced-p3-integration-svg .mps-ap25-panel{fill:#f7fbff;stroke:#20364f;stroke-width:2}
#mps-app .mps-advanced-p3-integration-svg .mps-ap35-badge,
#mps-app .mps-advanced-p3-integration-svg .mps-ap25-badge{font-size:15px;font-weight:900;fill:#173d6d;text-anchor:middle;dominant-baseline:middle;letter-spacing:.12px}
#mps-app .mps-advanced-p3-integration-svg .mps-ap35-card,
#mps-app .mps-advanced-p3-integration-svg .mps-ap25-card{fill:#fff;stroke:#9db5cf;stroke-width:2.2}
#mps-app .mps-advanced-p3-integration-svg .mps-ap35-card.target,
#mps-app .mps-advanced-p3-integration-svg .mps-ap25-card.target{fill:#eef5ff;stroke:#23569a;stroke-width:2.2;stroke-dasharray:7 5}
#mps-app .mps-advanced-p3-integration-svg .mps-ap35-card-heading,
#mps-app .mps-advanced-p3-integration-svg .mps-ap25-card-heading{font-size:14px;font-weight:850;fill:#26415f;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-advanced-p3-integration-svg .mps-ap35-card-value,
#mps-app .mps-advanced-p3-integration-svg .mps-ap25-card-value{font-size:16px;font-weight:800;fill:#17243c;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-advanced-p3-integration-svg .mps-ap35-card-value.mps-answer-concealed,
#mps-app .mps-advanced-p3-integration-svg .mps-ap25-card-value.mps-answer-concealed{fill:#9b3e1e}
#mps-app .mps-advanced-p3-integration-svg .mps-ap35-arrow,
#mps-app .mps-advanced-p3-integration-svg .mps-ap25-arrow{fill:none;stroke:#23569a;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
#mps-app .mps-advanced-p3-integration-svg .mps-ap35-caption,
#mps-app .mps-advanced-p3-integration-svg .mps-ap25-caption{font-size:14px;font-weight:750;fill:#3e5875;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-ap35-method-card,
#mps-app .mps-ap35-rule-card{min-width:0;overflow-wrap:anywhere}
@media(max-width:640px){
  #mps-app .mps-advanced-p3-integration-svg{border-radius:14px;margin:8px auto}
  #mps-app .mps-advanced-p3-integration-svg .mps-ap35-badge,
  #mps-app .mps-advanced-p3-integration-svg .mps-ap25-badge{font-size:12px}
  #mps-app .mps-advanced-p3-integration-svg .mps-ap35-card-heading,
  #mps-app .mps-advanced-p3-integration-svg .mps-ap25-card-heading{font-size:12px}
  #mps-app .mps-advanced-p3-integration-svg .mps-ap35-card-value,
  #mps-app .mps-advanced-p3-integration-svg .mps-ap25-card-value{font-size:14px}
  #mps-app .mps-advanced-p3-integration-svg .mps-ap35-caption,
  #mps-app .mps-advanced-p3-integration-svg .mps-ap25-caption{font-size:12px}
}
@media print{
  #mps-app .mps-advanced-p3-integration-svg{max-width:170mm;break-inside:avoid;page-break-inside:avoid;border-color:#777}
  #mps-app .mps-advanced-p3-integration-svg .mps-ap35-panel,
  #mps-app .mps-advanced-p3-integration-svg .mps-ap25-panel,
  #mps-app .mps-advanced-p3-integration-svg .mps-ap35-card,
  #mps-app .mps-advanced-p3-integration-svg .mps-ap25-card,
  #mps-app .mps-advanced-p3-integration-svg .mps-ap35-card.target,
  #mps-app .mps-advanced-p3-integration-svg .mps-ap25-card.target{fill:#fff}
  #mps-app .mps-advanced-p3-integration-svg *{stroke:#000!important}
  #mps-app .mps-advanced-p3-integration-svg text{fill:#000!important;stroke:none!important}
}

/* v4.27.0 — isolated A Level Pure Mathematics 3 AP3.6 numerical-solution visuals. */
.mps-advanced-p3-numerical-svg{display:block;width:100%;height:auto;max-width:760px;margin-inline:auto;overflow:visible}
.mps-advanced-p3-numerical-svg .mps-ap26-panel{fill:#f8fafc;stroke:#cbd5e1;stroke-width:2}
.mps-advanced-p3-numerical-svg .mps-ap26-badge{fill:#173d6d;font-size:15px;font-weight:800;letter-spacing:.45px;text-anchor:middle}
.mps-advanced-p3-numerical-svg .mps-ap26-axis{fill:none;stroke:#52667d;stroke-width:2.2;stroke-linecap:round}
.mps-advanced-p3-numerical-svg .mps-ap26-curve{fill:none;stroke:#087f73;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.mps-advanced-p3-numerical-svg .mps-ap26-line{fill:none;stroke:#6d3fd3;stroke-width:3;stroke-dasharray:8 6;stroke-linecap:round}
.mps-advanced-p3-numerical-svg .mps-ap26-positive-point{fill:#0f766e;stroke:#fff;stroke-width:3}
.mps-advanced-p3-numerical-svg .mps-ap26-negative-point{fill:#b45309;stroke:#fff;stroke-width:3}
.mps-advanced-p3-numerical-svg .mps-ap26-target{fill:#fff7ed;stroke:#c2410c;stroke-width:3;stroke-dasharray:6 4}
.mps-advanced-p3-numerical-svg .mps-ap26-label{fill:#263d58;font-size:14px;font-weight:750;text-anchor:middle}
.mps-advanced-p3-numerical-svg .mps-ap26-card{fill:#fff;stroke:#9db5cf;stroke-width:2}
.mps-advanced-p3-numerical-svg .mps-ap26-card.target{fill:#eef5ff;stroke:#23569a;stroke-dasharray:7 5}
.mps-advanced-p3-numerical-svg .mps-ap26-card-value{fill:#173d6d;font-size:17px;font-weight:750;text-anchor:middle}
.mps-advanced-p3-numerical-svg .mps-ap26-card-value.mps-answer-concealed{fill:#9b3e1e}
.mps-advanced-p3-numerical-svg .mps-ap26-arrow{fill:none;stroke:#23569a;stroke-width:3;stroke-linecap:round}
.mps-advanced-p3-numerical-svg .mps-ap26-caption{fill:#42566d;font-size:15px;font-weight:650;text-anchor:middle}
@media (max-width:640px){.mps-advanced-p3-numerical-svg{max-width:100%;overflow:visible}.mps-advanced-p3-numerical-svg .mps-ap26-card-value{font-size:14px}.mps-advanced-p3-numerical-svg .mps-ap26-caption{font-size:12px}}
@media print{.mps-advanced-p3-numerical-svg{break-inside:avoid;page-break-inside:avoid;max-width:100%}.mps-advanced-p3-numerical-svg .mps-ap26-panel,.mps-advanced-p3-numerical-svg .mps-ap26-card{fill:#fff}.mps-advanced-p3-numerical-svg text{fill:#000!important}}


/* v4.28.0 — isolated A Level Pure Mathematics 3 AP3.7 vector visuals. */
#mps-app .mps-advanced-p3-vectors-svg{display:block;width:100%;height:auto;max-width:760px;margin:8px auto;overflow:hidden;border:1px solid #b9c8d8;border-radius:16px;background:#fff}
#mps-app .mps-advanced-p3-vectors-svg text{font-family:inherit}
#mps-app .mps-advanced-p3-vectors-svg .mps-ap37-panel{fill:#f7fbff;stroke:#20364f;stroke-width:2}
#mps-app .mps-advanced-p3-vectors-svg .mps-ap37-badge{font-size:15px;font-weight:900;fill:#173d6d;text-anchor:middle;dominant-baseline:middle;letter-spacing:.12px}
#mps-app .mps-advanced-p3-vectors-svg .mps-ap37-axis{fill:none;stroke:#66788d;stroke-width:2;stroke-linecap:round}
#mps-app .mps-advanced-p3-vectors-svg .mps-ap37-vector,#mps-app .mps-advanced-p3-vectors-svg .mps-ap37-line{fill:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
#mps-app .mps-advanced-p3-vectors-svg .mps-ap37-vector.primary,#mps-app .mps-advanced-p3-vectors-svg .mps-ap37-line.primary{stroke:#245fbd}
#mps-app .mps-advanced-p3-vectors-svg .mps-ap37-vector.secondary,#mps-app .mps-advanced-p3-vectors-svg .mps-ap37-line.secondary{stroke:#a64b16}
#mps-app .mps-advanced-p3-vectors-svg .mps-ap37-arrowhead{fill:#245fbd;stroke:none}
#mps-app .mps-advanced-p3-vectors-svg .mps-ap37-card{fill:#fff;stroke:#9db5cf;stroke-width:2.2}
#mps-app .mps-advanced-p3-vectors-svg .mps-ap37-card.target{fill:#eef5ff;stroke:#23569a;stroke-dasharray:7 5}
#mps-app .mps-advanced-p3-vectors-svg .mps-ap37-card-heading{font-size:14px;font-weight:850;fill:#26415f;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-advanced-p3-vectors-svg .mps-ap37-card-value{font-size:16px;font-weight:800;fill:#17243c;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-advanced-p3-vectors-svg .mps-ap37-target{font-size:30px;font-weight:900;fill:#9b3e1e;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-advanced-p3-vectors-svg .mps-ap37-caption{font-size:14px;font-weight:750;fill:#3e5875;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-advanced-p3-vectors-svg .mps-ap37-solid{fill:none;stroke:#566b83;stroke-width:2.5;stroke-linejoin:round}
#mps-app .mps-advanced-p3-vectors-svg .mps-ap37-point{fill:#9b3e1e;stroke:#fff;stroke-width:3}
#mps-app .mps-advanced-p3-vectors-svg .mps-ap37-right-angle{fill:none;stroke:#0f766e;stroke-width:3;stroke-linejoin:round}
@media(max-width:640px){#mps-app .mps-advanced-p3-vectors-svg{max-width:100%;border-radius:12px}#mps-app .mps-advanced-p3-vectors-svg .mps-ap37-badge{font-size:12px}#mps-app .mps-advanced-p3-vectors-svg .mps-ap37-card-heading{font-size:12px}#mps-app .mps-advanced-p3-vectors-svg .mps-ap37-card-value{font-size:13px}#mps-app .mps-advanced-p3-vectors-svg .mps-ap37-caption{font-size:12px}}
@media print{#mps-app .mps-advanced-p3-vectors-svg{max-width:170mm;break-inside:avoid;page-break-inside:avoid;border-color:#777;background:#fff}#mps-app .mps-advanced-p3-vectors-svg .mps-ap37-panel,#mps-app .mps-advanced-p3-vectors-svg .mps-ap37-card,#mps-app .mps-advanced-p3-vectors-svg .mps-ap37-card.target{fill:#fff}#mps-app .mps-advanced-p3-vectors-svg text{fill:#000!important;stroke:none!important}#mps-app .mps-advanced-p3-vectors-svg .mps-ap37-vector,#mps-app .mps-advanced-p3-vectors-svg .mps-ap37-line,#mps-app .mps-advanced-p3-vectors-svg .mps-ap37-solid,#mps-app .mps-advanced-p3-vectors-svg .mps-ap37-axis,#mps-app .mps-advanced-p3-vectors-svg .mps-ap37-right-angle{stroke:#000!important}#mps-app .mps-advanced-p3-vectors-svg .mps-ap37-arrowhead,#mps-app .mps-advanced-p3-vectors-svg .mps-ap37-point{fill:#000!important}}


/* v4.29.0 — isolated A Level Pure Mathematics 3 AP3.8 differential-equation visuals. */
#mps-app .mps-advanced-p3-differential-equations-svg{display:block;width:100%;height:auto;max-width:760px;margin:8px auto;overflow:hidden;border:1px solid #b9c8d8;border-radius:16px;background:#fff}
#mps-app .mps-advanced-p3-differential-equations-svg text{font-family:inherit}
#mps-app .mps-advanced-p3-differential-equations-svg .mps-ap38-panel{fill:#f7fbff;stroke:#20364f;stroke-width:2}
#mps-app .mps-advanced-p3-differential-equations-svg .mps-ap38-badge{font-size:15px;font-weight:900;fill:#173d6d;text-anchor:middle;dominant-baseline:middle;letter-spacing:.12px}
#mps-app .mps-advanced-p3-differential-equations-svg .mps-ap38-card{fill:#fff;stroke:#9db5cf;stroke-width:2.2}
#mps-app .mps-advanced-p3-differential-equations-svg .mps-ap38-card.target{fill:#eef5ff;stroke:#23569a;stroke-dasharray:7 5}
#mps-app .mps-advanced-p3-differential-equations-svg .mps-ap38-stage{font-size:24px;font-weight:900;fill:#245fbd;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-advanced-p3-differential-equations-svg .mps-ap38-card-heading{font-size:14px;font-weight:850;fill:#26415f;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-advanced-p3-differential-equations-svg .mps-ap38-card-value{font-size:13px;font-weight:750;fill:#3e5875;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-advanced-p3-differential-equations-svg .mps-ap38-arrow{fill:none;stroke:#23569a;stroke-width:3;stroke-linecap:round}
#mps-app .mps-advanced-p3-differential-equations-svg .mps-ap38-caption{font-size:14px;font-weight:750;fill:#3e5875;text-anchor:middle;dominant-baseline:middle}
@media(max-width:640px){#mps-app .mps-advanced-p3-differential-equations-svg{max-width:100%;border-radius:12px}#mps-app .mps-advanced-p3-differential-equations-svg .mps-ap38-badge{font-size:12px}#mps-app .mps-advanced-p3-differential-equations-svg .mps-ap38-card-heading{font-size:11px}#mps-app .mps-advanced-p3-differential-equations-svg .mps-ap38-card-value{font-size:10px}#mps-app .mps-advanced-p3-differential-equations-svg .mps-ap38-caption{font-size:12px}}
@media print{#mps-app .mps-advanced-p3-differential-equations-svg{max-width:170mm;break-inside:avoid;page-break-inside:avoid;border-color:#777;background:#fff}#mps-app .mps-advanced-p3-differential-equations-svg .mps-ap38-panel,#mps-app .mps-advanced-p3-differential-equations-svg .mps-ap38-card,#mps-app .mps-advanced-p3-differential-equations-svg .mps-ap38-card.target{fill:#fff}#mps-app .mps-advanced-p3-differential-equations-svg text{fill:#000!important;stroke:none!important}#mps-app .mps-advanced-p3-differential-equations-svg .mps-ap38-arrow{stroke:#000!important}}


/* A Level Pure Mathematics 3 — AP3.9 Complex numbers */
#mps-app .mps-advanced-p3-complex-svg{display:block;width:100%;height:auto;max-width:760px;margin:8px auto;overflow:hidden;border:1px solid #b9c8d8;border-radius:16px;background:#fff}
#mps-app .mps-advanced-p3-complex-svg text{font-family:inherit}
#mps-app .mps-advanced-p3-complex-svg .mps-ap39-panel{fill:#f8fbff;stroke:#20364f;stroke-width:2}
#mps-app .mps-advanced-p3-complex-svg .mps-ap39-badge{font-size:15px;font-weight:900;fill:#173d6d;text-anchor:middle;dominant-baseline:middle;letter-spacing:.12px}
#mps-app .mps-advanced-p3-complex-svg .mps-ap39-card{fill:#fff;stroke:#9db5cf;stroke-width:2.2}
#mps-app .mps-advanced-p3-complex-svg .mps-ap39-card.target{fill:#eef5ff;stroke:#23569a;stroke-dasharray:7 5}
#mps-app .mps-advanced-p3-complex-svg .mps-ap39-stage{font-size:23px;font-weight:900;fill:#245fbd;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-advanced-p3-complex-svg .mps-ap39-card-heading{font-size:14px;font-weight:850;fill:#26415f;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-advanced-p3-complex-svg .mps-ap39-card-value{font-size:13px;font-weight:750;fill:#3e5875;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-advanced-p3-complex-svg .mps-ap39-arrow{fill:none;stroke:#23569a;stroke-width:3;stroke-linecap:round}
#mps-app .mps-advanced-p3-complex-svg .mps-ap39-argand{fill:#fff;stroke:#9db5cf;stroke-width:2.2}
#mps-app .mps-advanced-p3-complex-svg .mps-ap39-axis{stroke:#20364f;stroke-width:2;stroke-linecap:round}
#mps-app .mps-advanced-p3-complex-svg .mps-ap39-axis-label{font-size:12px;font-weight:800;fill:#26415f;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-advanced-p3-complex-svg .mps-ap39-question{font-size:25px;font-weight:900;fill:#245fbd;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-advanced-p3-complex-svg .mps-ap39-caption{font-size:14px;font-weight:750;fill:#3e5875;text-anchor:middle;dominant-baseline:middle}
@media(max-width:640px){#mps-app .mps-advanced-p3-complex-svg{max-width:100%;border-radius:12px}#mps-app .mps-advanced-p3-complex-svg .mps-ap39-badge{font-size:12px}#mps-app .mps-advanced-p3-complex-svg .mps-ap39-card-heading{font-size:11px}#mps-app .mps-advanced-p3-complex-svg .mps-ap39-card-value{font-size:10px}#mps-app .mps-advanced-p3-complex-svg .mps-ap39-caption{font-size:11px}}
@media print{#mps-app .mps-advanced-p3-complex-svg{max-width:170mm;break-inside:avoid;page-break-inside:avoid;border-color:#777;background:#fff}#mps-app .mps-advanced-p3-complex-svg .mps-ap39-panel,#mps-app .mps-advanced-p3-complex-svg .mps-ap39-card,#mps-app .mps-advanced-p3-complex-svg .mps-ap39-card.target,#mps-app .mps-advanced-p3-complex-svg .mps-ap39-argand{fill:#fff}#mps-app .mps-advanced-p3-complex-svg text{fill:#000!important;stroke:none!important}#mps-app .mps-advanced-p3-complex-svg .mps-ap39-arrow,#mps-app .mps-advanced-p3-complex-svg .mps-ap39-axis{stroke:#000!important}}

/* v4.32.0 — A Level Probability & Statistics 2, AS2.1 Poisson distribution */
#mps-app .mps-advanced-s2-poisson-svg{display:block;width:100%;height:auto;max-width:760px;margin:12px auto;border:1px solid #c9d7e8;border-radius:18px;background:#fff;overflow:visible}
#mps-app .mps-as21-panel{fill:#f8fbff;stroke:#b9cce2;stroke-width:2}
#mps-app .mps-as21-badge{font-size:15px;font-weight:800;fill:#173b69;text-anchor:middle;dominant-baseline:middle;letter-spacing:.1px}
#mps-app .mps-as21-heading{font-size:16px;font-weight:800;fill:#203b5f;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as21-formula{font-size:22px;font-weight:900;fill:#17315f;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as21-small{font-size:14px;font-weight:800;fill:#435c77;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as21-caption{font-size:14px;font-weight:700;fill:#334b67;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as21-card{fill:#eaf3ff;stroke:#245fbd;stroke-width:2.5}
#mps-app .mps-as21-card.secondary{fill:#f1eafe;stroke:#6d48b5}
#mps-app .mps-as21-caption-band{fill:#fff;stroke:#aabbd2;stroke-width:1.8}
#mps-app .mps-as21-arrow{fill:none;stroke:#64748b;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
#mps-app .mps-as21-axis{stroke:#536d88;stroke-width:2.5;stroke-linecap:round}
#mps-app .mps-as21-bar{fill:#b8d7ff;stroke:#245fbd;stroke-width:1.8}
#mps-app .mps-as21-bar.target{fill:#d8b4fe;stroke:#6d28d9;stroke-width:2.2}
#mps-app .mps-as21-tick{font-size:12px;font-weight:750;fill:#334b67;text-anchor:middle;dominant-baseline:middle}
@media(max-width:600px){#mps-app .mps-advanced-s2-poisson-svg{border-radius:14px;margin:8px auto}#mps-app .mps-as21-badge{font-size:12px}#mps-app .mps-as21-heading{font-size:14px}#mps-app .mps-as21-formula{font-size:18px}#mps-app .mps-as21-caption{font-size:12px}#mps-app .mps-as21-small{font-size:12px}#mps-app .mps-as21-tick{font-size:10px}}
@media print{#mps-app .mps-advanced-s2-poisson-svg{max-width:170mm;break-inside:avoid;page-break-inside:avoid;border-color:#777}#mps-app .mps-as21-panel,#mps-app .mps-as21-card,#mps-app .mps-as21-card.secondary,#mps-app .mps-as21-caption-band{fill:#fff}#mps-app .mps-advanced-s2-poisson-svg *{stroke:#000!important}#mps-app .mps-advanced-s2-poisson-svg text{fill:#000!important;stroke:none!important}#mps-app .mps-as21-bar{fill:#ddd!important}#mps-app .mps-as21-bar.target{fill:#aaa!important}}


/* A Level Probability & Statistics 2 — AS2.2 linear combinations */
#mps-app .mps-advanced-s2-linear-svg{display:block;width:100%;height:auto;max-width:760px;margin:12px auto;border:1px solid #c9d7e8;border-radius:18px;background:#fff;overflow:visible}
#mps-app .mps-as22-panel{fill:#f8fbff;stroke:#b9cce2;stroke-width:2}
#mps-app .mps-as22-badge{font-size:15px;font-weight:800;fill:#173b69;text-anchor:middle;dominant-baseline:middle;letter-spacing:.1px}
#mps-app .mps-as22-heading{font-size:15px;font-weight:800;fill:#203b5f;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as22-formula{font-size:20px;font-weight:900;fill:#17315f;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as22-small{font-size:13px;font-weight:750;fill:#435c77;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as22-caption{font-size:13px;font-weight:700;fill:#334b67;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as22-card{fill:#eaf3ff;stroke:#245fbd;stroke-width:2.5}
#mps-app .mps-as22-card.secondary{fill:#f1eafe;stroke:#6d48b5}
#mps-app .mps-as22-combination{fill:#eafaf4;stroke:#1f8a65;stroke-width:2.5}
#mps-app .mps-as22-target{fill:#fff7d6;stroke:#c58a00;stroke-width:2.3}
#mps-app .mps-as22-question{font-size:34px;font-weight:900;fill:#7a5200;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as22-caption-band{fill:#fff;stroke:#aabbd2;stroke-width:1.8}
#mps-app .mps-as22-arrow{fill:none;stroke:#64748b;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
#mps-app .mps-as22-curve{fill:none;stroke:#245fbd;stroke-width:4;stroke-linecap:round}
#mps-app .mps-as22-curve.secondary{stroke:#6d48b5}
@media(max-width:600px){#mps-app .mps-advanced-s2-linear-svg{border-radius:14px;margin:8px auto}#mps-app .mps-as22-badge{font-size:12px}#mps-app .mps-as22-heading{font-size:13px}#mps-app .mps-as22-formula{font-size:17px}#mps-app .mps-as22-caption,#mps-app .mps-as22-small{font-size:11px}#mps-app .mps-as22-question{font-size:28px}}
@media print{#mps-app .mps-advanced-s2-linear-svg{max-width:170mm;break-inside:avoid;page-break-inside:avoid;border-color:#777}#mps-app .mps-as22-panel,#mps-app .mps-as22-card,#mps-app .mps-as22-card.secondary,#mps-app .mps-as22-combination,#mps-app .mps-as22-target,#mps-app .mps-as22-caption-band{fill:#fff}#mps-app .mps-advanced-s2-linear-svg *{stroke:#000!important}#mps-app .mps-advanced-s2-linear-svg text{fill:#000!important;stroke:none!important}}

/* v4.34.0 — A Level Probability & Statistics 2, AS2.3 Continuous random variables */
#mps-app .mps-advanced-s2-continuous-svg{display:block;width:100%;height:auto;max-width:760px;margin:12px auto;border:1px solid #c9d7e8;border-radius:18px;background:#fff;overflow:hidden}
#mps-app .mps-advanced-s2-continuous-svg text{font-family:inherit}
#mps-app .mps-as23-panel{fill:#f8fbff;stroke:#b9cce2;stroke-width:2}
#mps-app .mps-as23-badge{font-size:15px;font-weight:800;fill:#173b69;text-anchor:middle;dominant-baseline:middle;letter-spacing:.1px}
#mps-app .mps-as23-axis{stroke:#536d88;stroke-width:2.5;stroke-linecap:round}
#mps-app .mps-as23-curve{fill:none;stroke:#245fbd;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
#mps-app .mps-as23-shade{fill:#d8b4fe;fill-opacity:.42;stroke:none}
#mps-app .mps-as23-caption-band{fill:#fff;stroke:#aabbd2;stroke-width:1.8}
#mps-app .mps-as23-caption{font-size:13px;font-weight:700;fill:#334b67;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as23-small{font-size:14px;font-weight:800;fill:#435c77;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as23-tick{font-size:12px;font-weight:750;fill:#334b67;text-anchor:middle;dominant-baseline:middle}
@media(max-width:600px){#mps-app .mps-advanced-s2-continuous-svg{border-radius:14px;margin:8px auto;max-width:100%}#mps-app .mps-as23-badge{font-size:12px}#mps-app .mps-as23-caption{font-size:11px}#mps-app .mps-as23-small{font-size:12px}#mps-app .mps-as23-tick{font-size:10px}}
@media print{#mps-app .mps-advanced-s2-continuous-svg{max-width:170mm;break-inside:avoid;page-break-inside:avoid;border-color:#777;background:#fff}#mps-app .mps-as23-panel,#mps-app .mps-as23-caption-band{fill:#fff}#mps-app .mps-advanced-s2-continuous-svg *{stroke:#000!important}#mps-app .mps-advanced-s2-continuous-svg text{fill:#000!important;stroke:none!important}#mps-app .mps-as23-shade{fill:#bbb!important;fill-opacity:.45!important}}


/* v4.35.0 — A Level Probability & Statistics 2, AS2.4 Sampling and estimation */
#mps-app .mps-advanced-s2-sampling-svg{display:block;width:100%;max-width:760px;height:auto;margin:10px auto;border:1px solid #c6d4e3;border-radius:18px;background:#fff;overflow:visible}
#mps-app .mps-as24-panel{fill:#f8fbff;stroke:#b9cce2;stroke-width:2}
#mps-app .mps-as24-badge{font-size:15px;font-weight:800;fill:#173b69;text-anchor:middle;dominant-baseline:middle;letter-spacing:.1px}
#mps-app .mps-as24-population{fill:#e8f1ff;stroke:#6e93bd;stroke-width:2}
#mps-app .mps-as24-sample{fill:#fff7df;stroke:#ad8125;stroke-width:2}
#mps-app .mps-as24-dot{fill:#8ba9c8;stroke:#355c84;stroke-width:1.5}
#mps-app .mps-as24-selected{fill:#f2b84b;stroke:#7e5b12;stroke-width:2}
#mps-app .mps-as24-arrow{fill:none;stroke:#385f89;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
#mps-app .mps-as24-axis{stroke:#536d88;stroke-width:2.5;stroke-linecap:round}
#mps-app .mps-as24-curve{fill:none;stroke:#245fbd;stroke-width:4;stroke-linecap:round}
#mps-app .mps-as24-guide{stroke:#8b5cf6;stroke-width:2;stroke-dasharray:7 6}
#mps-app .mps-as24-table{fill:#eef5fd;stroke:#7898ba;stroke-width:2}
#mps-app .mps-as24-cell{fill:#fff;stroke:#9db2c9;stroke-width:1.5}
#mps-app .mps-as24-cell-text{font-size:14px;font-weight:800;fill:#334b67;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as24-limit{stroke:#7c3aed;stroke-width:3}
#mps-app .mps-as24-estimate{fill:#245fbd;stroke:#173b69;stroke-width:2}
#mps-app .mps-as24-interval{stroke:#7c3aed;stroke-width:7;stroke-linecap:round}
#mps-app .mps-as24-proportion-bar{fill:#e7edf5;stroke:#7898ba;stroke-width:2}
#mps-app .mps-as24-success{fill:#9ed4b2;stroke:#397557;stroke-width:2}
#mps-app .mps-as24-caption-band{fill:#fff;stroke:#aabbd2;stroke-width:1.8}
#mps-app .mps-as24-caption{font-size:13px;font-weight:700;fill:#334b67;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as24-label{font-size:17px;font-weight:800;fill:#243f5e;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as24-small{font-size:13px;font-weight:750;fill:#435c77;text-anchor:middle;dominant-baseline:middle}
@media(max-width:600px){#mps-app .mps-advanced-s2-sampling-svg{border-radius:14px;margin:8px auto;max-width:100%}#mps-app .mps-as24-badge{font-size:12px}#mps-app .mps-as24-caption{font-size:11px}#mps-app .mps-as24-label{font-size:14px}#mps-app .mps-as24-small,#mps-app .mps-as24-cell-text{font-size:11px}}
@media print{#mps-app .mps-advanced-s2-sampling-svg{max-width:170mm;break-inside:avoid;page-break-inside:avoid;border-color:#777;background:#fff}#mps-app .mps-as24-panel,#mps-app .mps-as24-caption-band,#mps-app .mps-as24-table,#mps-app .mps-as24-cell{fill:#fff}#mps-app .mps-advanced-s2-sampling-svg *{stroke:#000!important}#mps-app .mps-advanced-s2-sampling-svg text{fill:#000!important;stroke:none!important}#mps-app .mps-as24-success,#mps-app .mps-as24-selected,#mps-app .mps-as24-estimate{fill:#bbb!important}}

/* v4.36.0 — A Level Probability & Statistics 2, AS2.5 Hypothesis tests */
#mps-app .mps-advanced-s2-hypothesis-svg{display:block;width:100%;max-width:760px;height:auto;margin:10px auto;border:1px solid #c6d4e3;border-radius:18px;background:#fff;overflow:hidden}
#mps-app .mps-advanced-s2-hypothesis-svg text{font-family:inherit}
#mps-app .mps-as25-panel{fill:#f8fbff;stroke:#b9cce2;stroke-width:2}
#mps-app .mps-as25-heading{font-size:22px;font-weight:900;fill:#173b69;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as25-card{fill:#fff;stroke:#7898ba;stroke-width:2.2}
#mps-app .mps-as25-label{font-size:15px;font-weight:850;fill:#243f5e;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as25-note{font-size:13px;font-weight:700;fill:#526d89;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as25-arrow{fill:none;stroke:#385f89;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
#mps-app .mps-as25-axis{stroke:#536d88;stroke-width:2.5;stroke-linecap:round}
#mps-app .mps-as25-curve{fill:none;stroke:#245fbd;stroke-width:4;stroke-linecap:round}
#mps-app .mps-as25-tail{fill:#c9b0f6;fill-opacity:.65;stroke:#7048bd;stroke-width:1.5}
#mps-app .mps-as25-axis-label{font-size:13px;font-weight:800;fill:#334b67;text-anchor:middle;dominant-baseline:middle}
#mps-app .mps-as25-caption{font-size:13px;font-weight:750;fill:#435c77;text-anchor:middle;dominant-baseline:middle}
@media(max-width:600px){#mps-app .mps-advanced-s2-hypothesis-svg{border-radius:14px;margin:8px auto;max-width:100%}#mps-app .mps-as25-heading{font-size:18px}#mps-app .mps-as25-label{font-size:12px}#mps-app .mps-as25-note,#mps-app .mps-as25-axis-label,#mps-app .mps-as25-caption{font-size:10px}}
@media print{#mps-app .mps-advanced-s2-hypothesis-svg{max-width:170mm;break-inside:avoid;page-break-inside:avoid;border-color:#777;background:#fff}#mps-app .mps-as25-panel,#mps-app .mps-as25-card{fill:#fff}#mps-app .mps-advanced-s2-hypothesis-svg *{stroke:#000!important}#mps-app .mps-advanced-s2-hypothesis-svg text{fill:#000!important;stroke:none!important}#mps-app .mps-as25-tail{fill:#bbb!important;fill-opacity:.5!important}}

/* v4.38.0 route-aware advanced course builder */
#mps-app .mps-route-field[hidden]{display:none!important}
#mps-app .mps-route-field{padding:12px 14px 10px;border:1px solid #c7d7ef;border-radius:14px;background:#f8fbff}
#mps-app .mps-route-help{display:block;margin-top:7px;color:#445b78;font-size:.82rem;line-height:1.45}
#mps-app .mps-route-field select{margin-bottom:0}
@media (max-width:520px){
  #mps-app .mps-route-field{padding:11px 12px 9px}
  #mps-app .mps-route-help{font-size:.78rem}
}
@media print{
  #mps-app .mps-route-field{display:none!important}
}

/* v4.43.0 — longitudinal route-specific study-cycle history */
#mps-app .mps-route-study-history{margin-top:11px;padding:12px;border:1px solid #b9c8e2;border-radius:13px;background:linear-gradient(180deg,#fbfdff,#f2f6fc);min-width:0;overflow:hidden}
#mps-app .mps-route-study-history[hidden]{display:none!important}
#mps-app .mps-route-study-history-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0}
#mps-app .mps-route-study-history-head>div{min-width:0}
#mps-app .mps-route-study-history-head h5{margin:0;color:#17315f;font-size:15px;line-height:1.35}
#mps-app .mps-route-study-history-head p{margin:4px 0 0;color:#435c77;font-size:12px;line-height:1.45;overflow-wrap:anywhere}
#mps-app .mps-route-study-history-head>span{flex:0 0 auto;padding:5px 8px;border-radius:999px;background:#e8eef9;color:#244c84;font-size:10px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}
#mps-app .mps-route-study-history-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
#mps-app .mps-route-study-history-summary article{min-width:0;padding:10px;border:1px solid #cbd6e8;border-radius:10px;background:#fff}
#mps-app .mps-route-study-history-summary span{display:block;color:#5b6f89;font-size:9px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;overflow-wrap:anywhere}
#mps-app .mps-route-study-history-summary strong{display:block;margin-top:4px;color:#17315f;font-size:14px;line-height:1.35;overflow-wrap:anywhere}
#mps-app .mps-route-study-history-list{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin-top:9px;min-width:0}
#mps-app .mps-route-study-history-item{min-width:0;padding:11px;border:1px solid #cbd6e8;border-radius:11px;background:#fff}
#mps-app .mps-route-study-history-item>div{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
#mps-app .mps-route-study-history-item>div strong{min-width:0;color:#243f5e;font-size:12px;line-height:1.35;overflow-wrap:anywhere}
#mps-app .mps-route-study-history-item>div span{flex:0 0 auto;padding:4px 8px;border-radius:999px;background:#e8f1ff;color:#173b69;font-size:12px;font-weight:900}
#mps-app .mps-route-study-history-item dl{display:grid;gap:6px;margin:9px 0 0}
#mps-app .mps-route-study-history-item dl>div{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:8px;align-items:start;min-width:0}
#mps-app .mps-route-study-history-item dt{color:#64748b;font-size:10px;font-weight:800;line-height:1.4}
#mps-app .mps-route-study-history-item dd{min-width:0;margin:0;color:#243b53;font-size:11px;font-weight:800;line-height:1.4;text-align:right;overflow-wrap:anywhere}
#mps-app .mps-route-study-history-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
#mps-app .mps-route-study-history-actions .mps-btn{width:100%;min-width:0;min-height:44px;padding:10px 11px;font-size:12px;white-space:normal;overflow-wrap:anywhere}
@media(max-width:480px){
  #mps-app .mps-route-study-history{padding:10px}
  #mps-app .mps-route-study-history-head{display:block}
  #mps-app .mps-route-study-history-head>span{display:inline-block;margin-top:8px}
  #mps-app .mps-route-study-history-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  #mps-app .mps-route-study-history-summary article{padding:9px 8px}
  #mps-app .mps-route-study-history-summary strong{font-size:13px}
  #mps-app .mps-route-study-history-item dl>div{grid-template-columns:minmax(0,1fr)}
  #mps-app .mps-route-study-history-item dd{text-align:left}
  #mps-app .mps-route-study-history-actions{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:390px){
  #mps-app .mps-route-study-history,#mps-app .mps-route-study-history *{max-width:100%;box-sizing:border-box}
  #mps-app .mps-route-study-history-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  #mps-app .mps-route-study-history-item>div{align-items:flex-start}
}
@media print{#mps-app .mps-route-study-history{display:none!important}}

/* v4.44.0 — cycle comparison and progress insights */
#mps-app .mps-route-study-history-trend,
#mps-app .mps-route-study-history-comparison{margin-top:10px;padding:11px;border:1px solid #c7d4e8;border-radius:11px;background:#fff;min-width:0;overflow:hidden}
#mps-app .mps-route-study-history-comparison[hidden]{display:none!important}
#mps-app .mps-route-study-history-subhead{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-width:0}
#mps-app .mps-route-study-history-subhead>div{min-width:0}
#mps-app .mps-route-study-history-subhead h6,
#mps-app .mps-route-study-history-recent-title{margin:0;color:#17315f;font-size:13px;line-height:1.4}
#mps-app .mps-route-study-history-subhead p{margin:3px 0 0;color:#536a84;font-size:10px;line-height:1.45;overflow-wrap:anywhere}
#mps-app .mps-route-study-history-subhead>span{flex:0 0 auto;padding:4px 7px;border-radius:999px;background:#edf3fb;color:#31567f;font-size:9px;font-weight:900;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}
#mps-app .mps-route-study-history-trend-chart{display:grid;grid-template-columns:repeat(var(--mps-cycle-count,1),minmax(0,1fr));gap:6px;align-items:end;min-width:0;min-height:166px;margin-top:10px;padding:10px 7px 7px;border:1px solid #d7e0ed;border-radius:9px;background:repeating-linear-gradient(to top,#f8fafc 0,#f8fafc 27px,#dce5f1 28px);overflow:hidden}
#mps-app .mps-route-study-trend-column{display:grid;grid-template-rows:18px 104px 15px 15px;gap:2px;align-items:end;justify-items:stretch;min-width:0;text-align:center}
#mps-app .mps-route-study-trend-column>strong{color:#17315f;font-size:10px;line-height:1.2;white-space:nowrap}
#mps-app .mps-route-study-trend-bar{display:flex;align-items:flex-end;justify-content:center;width:100%;height:104px;min-width:0;border-radius:6px 6px 3px 3px;background:#eaf0f8;overflow:hidden}
#mps-app .mps-route-study-trend-bar>i{display:block;width:min(22px,68%);min-height:2px;border-radius:5px 5px 2px 2px;background:#2f67a7}
#mps-app .mps-route-study-trend-column>small{color:#264866;font-size:9px;font-weight:900;line-height:1.25;white-space:nowrap}
#mps-app .mps-route-study-trend-column>em{min-width:0;color:#64748b;font-size:8px;font-style:normal;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#mps-app .mps-route-study-history-trend>.mps-mini{margin:7px 0 0;color:#405a76;line-height:1.45}
#mps-app .mps-route-study-history-comparison-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:9px}
#mps-app .mps-route-study-history-comparison-summary article{min-width:0;padding:9px;border:1px solid #d3dce9;border-radius:9px;background:#f8fafc}
#mps-app .mps-route-study-history-comparison-summary span{display:block;color:#5b6f89;font-size:8px;font-weight:900;letter-spacing:.045em;line-height:1.35;text-transform:uppercase;overflow-wrap:anywhere}
#mps-app .mps-route-study-history-comparison-summary strong{display:block;margin-top:4px;color:#17315f;font-size:12px;line-height:1.35;overflow-wrap:anywhere}
#mps-app .mps-route-study-history-comparison-list{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;margin-top:8px;min-width:0}
#mps-app .mps-route-study-comparison-card{min-width:0;padding:10px;border:1px solid #d1dbea;border-left-width:4px;border-radius:9px;background:#fff;overflow:hidden}
#mps-app .mps-route-study-comparison-card.is-improved{border-left-color:#237a4b;background:#f4fbf7}
#mps-app .mps-route-study-comparison-card.is-attention{border-left-color:#b33b3b;background:#fff7f7}
#mps-app .mps-route-study-comparison-card.is-steady{border-left-color:#4d6f97;background:#f7f9fc}
#mps-app .mps-route-study-comparison-card.is-new{border-left-color:#9a6b1b;background:#fffaf0}
#mps-app .mps-route-study-comparison-card>div{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;min-width:0}
#mps-app .mps-route-study-comparison-card>div strong{min-width:0;color:#203b58;font-size:11px;line-height:1.35;overflow-wrap:anywhere}
#mps-app .mps-route-study-comparison-card>div span{flex:0 0 auto;padding:3px 7px;border-radius:999px;background:#e8eef6;color:#254766;font-size:9px;font-weight:900;line-height:1.3;white-space:nowrap}
#mps-app .mps-route-study-comparison-card p{margin:5px 0 0;color:#536a84;font-size:10px;line-height:1.4;overflow-wrap:anywhere}
#mps-app .mps-route-study-comparison-card dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:8px 0 0}
#mps-app .mps-route-study-comparison-card dl>div{min-width:0;padding:6px;border-radius:7px;background:#f1f5f9;text-align:center}
#mps-app .mps-route-study-comparison-card dt{color:#64748b;font-size:8px;font-weight:800;line-height:1.3}
#mps-app .mps-route-study-comparison-card dd{margin:3px 0 0;color:#203b58;font-size:10px;font-weight:900;line-height:1.3;overflow-wrap:anywhere}
#mps-app .mps-route-study-history-recent-title{margin-top:11px}
@media(max-width:480px){
  #mps-app .mps-route-study-history-trend,#mps-app .mps-route-study-history-comparison{padding:9px}
  #mps-app .mps-route-study-history-subhead{display:block}
  #mps-app .mps-route-study-history-subhead>span{display:inline-block;margin-top:6px}
  #mps-app .mps-route-study-history-trend-chart{gap:4px;padding-left:4px;padding-right:4px}
  #mps-app .mps-route-study-comparison-card dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
}
@media(max-width:390px){
  #mps-app .mps-route-study-history-trend,#mps-app .mps-route-study-history-trend *,#mps-app .mps-route-study-history-comparison,#mps-app .mps-route-study-history-comparison *{max-width:100%;box-sizing:border-box}
  #mps-app .mps-route-study-history-trend-chart{gap:3px;min-height:158px}
  #mps-app .mps-route-study-trend-column{grid-template-rows:18px 98px 14px 14px}
  #mps-app .mps-route-study-trend-bar{height:98px}
  #mps-app .mps-route-study-trend-column>strong{font-size:9px}
  #mps-app .mps-route-study-trend-column>em{font-size:7px}
  #mps-app .mps-route-study-history-comparison-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  #mps-app .mps-route-study-history-comparison-summary article{padding:8px 7px}
  #mps-app .mps-route-study-comparison-card>div{display:block}
  #mps-app .mps-route-study-comparison-card>div span{display:inline-block;margin-top:5px}
  #mps-app .mps-route-study-comparison-card dl{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media print{
  #mps-app .mps-route-study-history-trend,#mps-app .mps-route-study-history-comparison{display:none!important}
}


/* v4.45.0 — long-term component trajectories */
#mps-app .mps-route-study-history-trajectory{margin-top:10px;padding:11px;border:1px solid #c7d4e8;border-radius:11px;background:#fff;min-width:0;overflow:hidden}
#mps-app .mps-route-study-history-trajectory[hidden]{display:none!important}
#mps-app .mps-route-study-history-trajectory-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:9px}
#mps-app .mps-route-study-history-trajectory-summary article{min-width:0;padding:9px;border:1px solid #d3dce9;border-radius:9px;background:#f8fafc}
#mps-app .mps-route-study-history-trajectory-summary span{display:block;color:#5b6f89;font-size:8px;font-weight:900;letter-spacing:.045em;line-height:1.35;text-transform:uppercase;overflow-wrap:anywhere}
#mps-app .mps-route-study-history-trajectory-summary strong{display:block;margin-top:4px;color:#17315f;font-size:12px;line-height:1.35;overflow-wrap:anywhere}
#mps-app .mps-route-study-history-trajectory-list{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin-top:8px;min-width:0}
#mps-app .mps-route-study-trajectory-card{min-width:0;padding:10px;border:1px solid #d1dbea;border-left-width:4px;border-radius:9px;background:#fff;overflow:hidden}
#mps-app .mps-route-study-trajectory-card.is-improving{border-left-color:#237a4b;background:#f4fbf7}
#mps-app .mps-route-study-trajectory-card.is-declining{border-left-color:#b33b3b;background:#fff7f7}
#mps-app .mps-route-study-trajectory-card.is-consistent{border-left-color:#2f67a7;background:#f5f9ff}
#mps-app .mps-route-study-trajectory-card.is-steady{border-left-color:#60758f;background:#f8fafc}
#mps-app .mps-route-study-trajectory-card.is-limited{border-left-color:#9a6b1b;background:#fffaf0}
#mps-app .mps-route-study-trajectory-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;min-width:0}
#mps-app .mps-route-study-trajectory-card-head>div{min-width:0}
#mps-app .mps-route-study-trajectory-card-head strong{display:block;color:#203b58;font-size:11px;line-height:1.35;overflow-wrap:anywhere}
#mps-app .mps-route-study-trajectory-card-head small{display:block;margin-top:3px;color:#64748b;font-size:9px;line-height:1.35;overflow-wrap:anywhere}
#mps-app .mps-route-study-trajectory-card-head>span{flex:0 0 auto;padding:3px 7px;border-radius:999px;background:#e8eef6;color:#254766;font-size:9px;font-weight:900;line-height:1.3;white-space:nowrap}
#mps-app .mps-route-study-component-spark{display:grid;grid-template-columns:repeat(var(--mps-component-count,1),minmax(0,1fr));gap:5px;align-items:end;min-width:0;height:88px;margin-top:9px;padding:6px 6px 4px;border:1px solid #d7e0ed;border-radius:8px;background:repeating-linear-gradient(to top,#f8fafc 0,#f8fafc 21px,#e1e8f1 22px);overflow:hidden}
#mps-app .mps-route-study-component-spark>span{display:grid;grid-template-rows:64px 12px;gap:2px;align-items:end;justify-items:stretch;min-width:0}
#mps-app .mps-route-study-component-spark i{display:block;align-self:end;justify-self:center;width:min(18px,70%);min-height:2px;border-radius:4px 4px 2px 2px;background:#2f67a7}
#mps-app .mps-route-study-component-spark small{display:block;color:#375674;font-size:8px;font-weight:900;line-height:1.2;text-align:center;white-space:nowrap}
#mps-app .mps-route-study-trajectory-card dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:8px 0 0}
#mps-app .mps-route-study-trajectory-card dl>div{min-width:0;padding:6px;border-radius:7px;background:#f1f5f9;text-align:center}
#mps-app .mps-route-study-trajectory-card dt{color:#64748b;font-size:8px;font-weight:800;line-height:1.3}
#mps-app .mps-route-study-trajectory-card dd{margin:3px 0 0;color:#203b58;font-size:10px;font-weight:900;line-height:1.3;overflow-wrap:anywhere}
#mps-app .mps-route-study-history-trajectory-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin-top:9px}
#mps-app .mps-route-study-history-trajectory-actions .mps-btn{width:100%;min-width:0;min-height:44px;padding:10px 11px;font-size:12px;white-space:normal;overflow-wrap:anywhere}
#mps-app .mps-route-study-history-trajectory>.mps-mini{margin:7px 0 0;color:#405a76;line-height:1.45}
@media(max-width:480px){
  #mps-app .mps-route-study-history-trajectory{padding:9px}
  #mps-app .mps-route-study-trajectory-card dl{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:390px){
  #mps-app .mps-route-study-history-trajectory,#mps-app .mps-route-study-history-trajectory *{max-width:100%;box-sizing:border-box}
  #mps-app .mps-route-study-history-trajectory-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  #mps-app .mps-route-study-history-trajectory-summary article{padding:8px 7px}
  #mps-app .mps-route-study-trajectory-card-head{display:block}
  #mps-app .mps-route-study-trajectory-card-head>span{display:inline-block;margin-top:5px}
  #mps-app .mps-route-study-component-spark{gap:3px;padding-left:4px;padding-right:4px}
  #mps-app .mps-route-study-component-spark i{width:min(15px,68%)}
  #mps-app .mps-route-study-trajectory-card dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
}
@media print{
  #mps-app .mps-route-study-history-trajectory{display:none!important}
}

/* v4.46.0 — advanced course roadmap and completion map */
#mps-app .mps-advanced-course-roadmap{margin-top:14px;padding:12px;border:1px solid #9fcbbf;border-radius:13px;background:linear-gradient(180deg,#ffffff,#f1fbf7);min-width:0;overflow:hidden}
#mps-app .mps-advanced-course-roadmap[hidden]{display:none!important}
#mps-app .mps-advanced-course-roadmap-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0}
#mps-app .mps-advanced-course-roadmap-head>div{min-width:0}
#mps-app .mps-advanced-course-roadmap-head h4{margin:0;color:#143f37;font-size:16px;line-height:1.35}
#mps-app .mps-advanced-course-roadmap-head p{margin:4px 0 0;color:#405c56;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
#mps-app .mps-advanced-course-roadmap-head>span{flex:0 0 auto;padding:5px 9px;border-radius:999px;background:#d8f3e9;color:#166534;font-size:10px;font-weight:900;letter-spacing:.04em;line-height:1.3;text-transform:uppercase;white-space:nowrap}
#mps-app .mps-advanced-course-roadmap-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px;min-width:0}
#mps-app .mps-advanced-course-roadmap-summary article{min-width:0;padding:9px;border:1px solid #c8ded8;border-radius:10px;background:#fff;overflow:hidden}
#mps-app .mps-advanced-course-roadmap-summary span{display:block;color:#5a716b;font-size:9px;font-weight:900;letter-spacing:.045em;line-height:1.35;text-transform:uppercase;overflow-wrap:anywhere}
#mps-app .mps-advanced-course-roadmap-summary strong{display:block;margin-top:4px;color:#143f37;font-size:17px;line-height:1.25;overflow-wrap:anywhere}
#mps-app .mps-advanced-course-roadmap-summary small{display:block;margin-top:3px;color:#52606d;font-size:9px;line-height:1.4;overflow-wrap:anywhere}
#mps-app .mps-advanced-course-roadmap-list{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin-top:10px;min-width:0}
#mps-app .mps-advanced-course-roadmap-card{min-width:0;padding:10px;border:1px solid #c8ded8;border-left:4px solid #277c69;border-radius:11px;background:#fff;overflow:hidden}
#mps-app .mps-advanced-course-roadmap-card>div{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;min-width:0}
#mps-app .mps-advanced-course-roadmap-card>div>span{color:#52606d;font-size:10px;font-weight:900;letter-spacing:.045em;line-height:1.3;text-transform:uppercase}
#mps-app .mps-advanced-course-roadmap-card>div>em{flex:0 0 auto;padding:3px 7px;border-radius:999px;background:#dff4ec;color:#166534;font-size:9px;font-style:normal;font-weight:900;line-height:1.3;white-space:nowrap}
#mps-app .mps-advanced-course-roadmap-card>strong{display:block;margin-top:6px;color:#143f37;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
#mps-app .mps-advanced-course-roadmap-card>small{display:block;margin-top:4px;color:#52606d;font-size:10px;line-height:1.45;overflow-wrap:anywhere}
#mps-app .mps-advanced-course-roadmap-card>p{margin:6px 0 0;padding-top:6px;border-top:1px solid #e4ece9;color:#334e48;font-size:10px;font-weight:800;line-height:1.4;overflow-wrap:anywhere}
#mps-app .mps-advanced-course-roadmap-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px;min-width:0}
#mps-app .mps-advanced-course-roadmap-actions .mps-btn{width:100%;min-width:0;min-height:44px;padding:10px 11px;font-size:12px;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
#mps-app .mps-advanced-course-roadmap>.mps-mini{margin:7px 0 0;color:#405c56;line-height:1.45;overflow-wrap:anywhere}
@media(max-width:620px){
  #mps-app .mps-advanced-course-roadmap-head{display:block}
  #mps-app .mps-advanced-course-roadmap-head>span{display:inline-block;margin-top:7px}
}
@media(max-width:390px){
  #mps-app .mps-advanced-course-roadmap,#mps-app .mps-advanced-course-roadmap *{max-width:100%;box-sizing:border-box}
  #mps-app .mps-advanced-course-roadmap{padding:10px}
  #mps-app .mps-advanced-course-roadmap-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  #mps-app .mps-advanced-course-roadmap-summary article{padding:8px 7px}
  #mps-app .mps-advanced-course-roadmap-actions{grid-template-columns:minmax(0,1fr)}
  #mps-app .mps-advanced-course-roadmap-card>div{display:block}
  #mps-app .mps-advanced-course-roadmap-card>div>em{display:inline-block;margin-top:5px}
}
@media print{#mps-app .mps-advanced-course-roadmap{display:none!important}}


/* v4.47.0 — AS-to-A Level progression planner */
#mps-app .mps-advanced-transition-planner{margin-top:14px;padding:12px;border:1px solid #c8b7e8;border-radius:13px;background:linear-gradient(180deg,#ffffff,#f7f3ff);min-width:0;overflow:hidden}
#mps-app .mps-advanced-transition-planner[hidden]{display:none!important}
#mps-app .mps-advanced-transition-planner-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0}
#mps-app .mps-advanced-transition-planner-head>div{min-width:0}
#mps-app .mps-advanced-transition-planner-head h4{margin:0;color:#3b2463;font-size:16px;line-height:1.35}
#mps-app .mps-advanced-transition-planner-head p{margin:4px 0 0;color:#5f4a7a;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
#mps-app .mps-advanced-transition-planner-head>span{flex:0 0 auto;padding:5px 9px;border-radius:999px;background:#ece4fb;color:#5b21b6;font-size:10px;font-weight:900;letter-spacing:.04em;line-height:1.3;text-transform:uppercase;white-space:nowrap}
#mps-app .mps-advanced-transition-planner-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px;min-width:0}
#mps-app .mps-advanced-transition-planner-summary article{min-width:0;padding:9px;border:1px solid #d9cdee;border-radius:10px;background:#fff;overflow:hidden}
#mps-app .mps-advanced-transition-planner-summary span{display:block;color:#665779;font-size:9px;font-weight:900;letter-spacing:.045em;line-height:1.35;text-transform:uppercase;overflow-wrap:anywhere}
#mps-app .mps-advanced-transition-planner-summary strong{display:block;margin-top:4px;color:#3b2463;font-size:17px;line-height:1.25;overflow-wrap:anywhere}
#mps-app .mps-advanced-transition-planner-summary small{display:block;margin-top:3px;color:#5f5870;font-size:9px;line-height:1.4;overflow-wrap:anywhere}
#mps-app .mps-advanced-transition-planner-list{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin-top:10px;min-width:0}
#mps-app .mps-advanced-transition-card{min-width:0;padding:10px;border:1px solid #d9cdee;border-left:4px solid #7c3aed;border-radius:11px;background:#fff;overflow:hidden}
#mps-app .mps-advanced-transition-card.is-selected{border-color:#7c3aed;box-shadow:0 0 0 2px rgba(124,58,237,.12)}
#mps-app .mps-advanced-transition-card.is-standalone{border-left-color:#9a6700;background:#fffdf5}
#mps-app .mps-advanced-transition-card>div{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;min-width:0}
#mps-app .mps-advanced-transition-card>div>span{color:#5f5870;font-size:10px;font-weight:900;letter-spacing:.045em;line-height:1.3;text-transform:uppercase;overflow-wrap:anywhere}
#mps-app .mps-advanced-transition-card>div>em{flex:0 0 auto;padding:3px 7px;border-radius:999px;background:#ece4fb;color:#5b21b6;font-size:9px;font-style:normal;font-weight:900;line-height:1.3;white-space:nowrap}
#mps-app .mps-advanced-transition-card>strong{display:block;margin-top:6px;color:#3b2463;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
#mps-app .mps-advanced-transition-card>small{display:block;margin-top:4px;color:#5f5870;font-size:10px;line-height:1.45;overflow-wrap:anywhere}
#mps-app .mps-advanced-transition-card>p{margin:6px 0 0;padding-top:6px;border-top:1px solid #eee8f7;color:#4e4260;font-size:10px;font-weight:700;line-height:1.45;overflow-wrap:anywhere}
#mps-app .mps-advanced-transition-card .mps-transition-choose{width:100%;min-height:44px;margin-top:8px;padding:9px 10px;white-space:normal;overflow-wrap:anywhere}
#mps-app .mps-advanced-transition-planner-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px;min-width:0}
#mps-app .mps-advanced-transition-planner-actions .mps-btn{width:100%;min-width:0;min-height:44px;padding:10px 11px;font-size:12px;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
#mps-app .mps-advanced-transition-planner>.mps-mini{margin:7px 0 0;color:#5f4a7a;line-height:1.45;overflow-wrap:anywhere}
@media (max-width:520px){
  #mps-app .mps-advanced-transition-planner,#mps-app .mps-advanced-transition-planner *{max-width:100%;box-sizing:border-box}
  #mps-app .mps-advanced-transition-planner{padding:10px}
  #mps-app .mps-advanced-transition-planner-head{display:block}
  #mps-app .mps-advanced-transition-planner-head>span{display:inline-block;margin-top:7px}
  #mps-app .mps-advanced-transition-planner-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  #mps-app .mps-advanced-transition-planner-summary article{padding:8px 7px}
  #mps-app .mps-advanced-transition-planner-actions{grid-template-columns:minmax(0,1fr)}
  #mps-app .mps-advanced-transition-card>div{display:block}
  #mps-app .mps-advanced-transition-card>div>em{display:inline-block;margin-top:5px}
}
@media print{#mps-app .mps-advanced-transition-planner{display:none!important}}

/* v4.48.0 — advanced qualification readiness dashboard */
#mps-app .mps-advanced-readiness-dashboard{margin-top:14px;padding:12px;border:1px solid #9eb9dc;border-radius:13px;background:linear-gradient(180deg,#ffffff,#f2f7fd);min-width:0;overflow:hidden}
#mps-app .mps-advanced-readiness-dashboard[hidden]{display:none!important}
#mps-app .mps-advanced-readiness-dashboard-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-width:0}
#mps-app .mps-advanced-readiness-dashboard-head>div{min-width:0}
#mps-app .mps-advanced-readiness-dashboard-head h4{margin:0;color:#173d6d;font-size:16px;line-height:1.35}
#mps-app .mps-advanced-readiness-dashboard-head p{margin:4px 0 0;color:#49627f;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
#mps-app .mps-advanced-readiness-dashboard-head>span{flex:0 0 auto;padding:5px 9px;border-radius:999px;background:#dbeafe;color:#1d4f91;font-size:10px;font-weight:900;letter-spacing:.04em;line-height:1.3;text-transform:uppercase;white-space:nowrap}
#mps-app .mps-advanced-readiness-dashboard-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px;min-width:0}
#mps-app .mps-advanced-readiness-dashboard-summary article{min-width:0;padding:9px;border:1px solid #c8d7ea;border-radius:10px;background:#fff;overflow:hidden}
#mps-app .mps-advanced-readiness-dashboard-summary span{display:block;color:#5b6f87;font-size:9px;font-weight:900;letter-spacing:.045em;line-height:1.35;text-transform:uppercase;overflow-wrap:anywhere}
#mps-app .mps-advanced-readiness-dashboard-summary strong{display:block;margin-top:4px;color:#173d6d;font-size:17px;line-height:1.25;overflow-wrap:anywhere}
#mps-app .mps-advanced-readiness-dashboard-summary small{display:block;margin-top:3px;color:#52606d;font-size:9px;line-height:1.4;overflow-wrap:anywhere}
#mps-app .mps-advanced-readiness-dashboard-list{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin-top:10px;min-width:0}
#mps-app .mps-advanced-readiness-card{min-width:0;padding:10px;border:1px solid #c8d7ea;border-left:4px solid #4779b8;border-radius:11px;background:#fff;overflow:hidden}
#mps-app .mps-advanced-readiness-card.is-priority{border-left-color:#c2410c;background:#fffaf5}
#mps-app .mps-advanced-readiness-card.is-secure{border-left-color:#18794e;background:#f7fcf9}
#mps-app .mps-advanced-readiness-card>div:first-child{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;min-width:0}
#mps-app .mps-advanced-readiness-card>div:first-child>span{color:#5b6f87;font-size:10px;font-weight:900;letter-spacing:.045em;line-height:1.3;text-transform:uppercase}
#mps-app .mps-advanced-readiness-card>div:first-child>em{flex:0 0 auto;padding:3px 7px;border-radius:999px;background:#e8f1fb;color:#1d4f91;font-size:9px;font-style:normal;font-weight:900;line-height:1.3;white-space:nowrap}
#mps-app .mps-advanced-readiness-card.is-priority>div:first-child>em{background:#ffedd5;color:#9a3412}
#mps-app .mps-advanced-readiness-card.is-secure>div:first-child>em{background:#dcfce7;color:#166534}
#mps-app .mps-advanced-readiness-card>strong{display:block;margin-top:6px;color:#173d6d;font-size:13px;line-height:1.4;overflow-wrap:anywhere}
#mps-app .mps-advanced-readiness-card>small{display:block;margin-top:4px;color:#52606d;font-size:10px;line-height:1.45;overflow-wrap:anywhere}
#mps-app .mps-advanced-readiness-card>p{margin:6px 0 0;color:#40566f;font-size:10px;line-height:1.45;overflow-wrap:anywhere}
#mps-app .mps-advanced-readiness-meter{height:8px;margin-top:8px;border-radius:999px;background:#dce6f2;overflow:hidden}
#mps-app .mps-advanced-readiness-meter>span{display:block;height:100%;max-width:100%;border-radius:inherit;background:#2f6fb7}
#mps-app .mps-advanced-readiness-card.is-priority .mps-advanced-readiness-meter>span{background:#c2410c}
#mps-app .mps-advanced-readiness-card.is-secure .mps-advanced-readiness-meter>span{background:#18794e}
#mps-app .mps-advanced-readiness-dashboard-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px;min-width:0}
#mps-app .mps-advanced-readiness-dashboard-actions .mps-btn{width:100%;min-width:0;min-height:44px;padding:10px 11px;font-size:12px;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
#mps-app .mps-advanced-readiness-dashboard>.mps-mini{margin:7px 0 0;color:#49627f;line-height:1.45;overflow-wrap:anywhere}
@media(max-width:520px){
  #mps-app .mps-advanced-readiness-dashboard,#mps-app .mps-advanced-readiness-dashboard *{max-width:100%;box-sizing:border-box}
  #mps-app .mps-advanced-readiness-dashboard{padding:10px}
  #mps-app .mps-advanced-readiness-dashboard-head{display:block}
  #mps-app .mps-advanced-readiness-dashboard-head>span{display:inline-block;margin-top:7px}
  #mps-app .mps-advanced-readiness-dashboard-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  #mps-app .mps-advanced-readiness-dashboard-summary article{padding:8px 7px}
  #mps-app .mps-advanced-readiness-dashboard-actions{grid-template-columns:minmax(0,1fr)}
  #mps-app .mps-advanced-readiness-card>div:first-child{display:block}
  #mps-app .mps-advanced-readiness-card>div:first-child>em{display:inline-block;margin-top:5px}
}
@media print{#mps-app .mps-advanced-readiness-dashboard{display:none!important}}

/* v4.49.0 — advanced question-variety assurance */
#mps-app .mps-advanced-variety-audit{min-width:0;overflow:hidden}
#mps-app .mps-advanced-variety-audit .mps-engine-coverage-grid strong.is-good{color:#166534}
#mps-app .mps-advanced-variety-audit .mps-engine-coverage-grid strong.is-error{color:#991b1b}
#mps-app .mps-advanced-variety-audit .mps-engine-coverage-actions .mps-btn{min-width:0;min-height:44px;white-space:normal;overflow-wrap:anywhere}
@media(max-width:520px){
  #mps-app .mps-advanced-variety-audit,#mps-app .mps-advanced-variety-audit *{max-width:100%;box-sizing:border-box}
  #mps-app .mps-advanced-variety-audit .mps-engine-coverage-grid{grid-template-columns:minmax(0,1fr)}
}
@media print{#mps-app .mps-advanced-variety-audit{display:none!important}}


/* v4.50.0 — examiner-aligned answer accuracy */
.mps-answer-verdict{margin:14px 0 16px;padding:12px 14px;border:1px solid #b8c6d8;border-left-width:5px;border-radius:10px;background:#f7f9fc;color:#24364b;font-weight:700;line-height:1.55;overflow-wrap:anywhere}
.mps-answer-verdict.accepted{border-color:#4f9b72;background:#eef9f2;color:#174c31}
.mps-answer-verdict.accepted.approximate{border-color:#2878bd;background:#eef6ff;color:#173f68}
.mps-answer-verdict.not-accepted{border-color:#c85c55;background:#fff1f0;color:#72241f}
@media (max-width:420px){.mps-answer-verdict{padding:12px;margin-top:12px}}
@media print{.mps-answer-verdict{break-inside:avoid}}

/* v4.51.0 — general numerical accuracy and answer-form assurance */


/* v4.53.0 — visual layout and overlap assurance */
#mps-app .mps-teacher-support>div{min-width:0;overflow-wrap:anywhere}
#mps-app .mps-advanced-solution-audit .mps-engine-coverage-grid>article{min-width:0}
@media(max-width:390px){#mps-app .mps-teacher-support{grid-template-columns:1fr}#mps-app .mps-advanced-solution-audit .mps-engine-coverage-actions{display:grid;grid-template-columns:1fr;width:100%}#mps-app .mps-advanced-solution-audit .mps-engine-coverage-actions .mps-btn{width:100%;min-height:44px;white-space:normal}}
@media print{#mps-app .mps-advanced-solution-audit{display:none!important}#mps-app .mps-teacher-support{grid-template-columns:repeat(2,minmax(0,1fr));break-inside:avoid}}


/* v4.53.0 — visual layout and overlap assurance */
#mps-app .mps-visual-layout-audit{min-width:0;overflow:hidden}
#mps-app .mps-visual-layout-audit .mps-engine-coverage-actions .mps-btn{min-width:0;min-height:44px;white-space:normal;overflow-wrap:anywhere}
.mps-visual-audit-sandbox{position:fixed;left:-20000px;top:0;width:360px;max-width:360px;visibility:hidden;pointer-events:none;z-index:-1;contain:layout style paint}
.mps-visual-audit-sandbox .mps-visual-audit-sample{width:360px;max-width:360px;min-width:0;overflow:hidden}
.mps-visual-audit-sandbox .mps-visual-audit-sample svg{display:block;width:100%;max-width:100%;height:auto}
@media(max-width:390px){#mps-app .mps-visual-layout-audit .mps-engine-coverage-actions{display:grid;grid-template-columns:1fr;width:100%}#mps-app .mps-visual-layout-audit .mps-engine-coverage-actions .mps-btn{width:100%}}
@media print{#mps-app .mps-visual-layout-audit,.mps-visual-audit-sandbox{display:none!important}}

/* v4.55.0 — backup, restore and upgrade assurance */
#mps-app .mps-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
#mps-app .mps-live-announcer{left:0;top:0}
#mps-app .mps-qtitle[tabindex="-1"],#mps-app #mps-report-title[tabindex="-1"]{scroll-margin-top:18px}
#mps-app .mps-qtitle[tabindex="-1"]:focus-visible,#mps-app #mps-report-title[tabindex="-1"]:focus-visible{outline:3px solid #f59e0b;outline-offset:5px;border-radius:5px}
#mps-app .mps-keyboard-guide{margin:12px 0;padding:10px 12px;border:1px solid #cbd8e8;border-radius:12px;background:#f8fbff;min-width:0}
#mps-app .mps-keyboard-guide>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:#173b7a;font-weight:900;line-height:1.35}
#mps-app .mps-keyboard-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
#mps-app .mps-keyboard-guide-grid>span{min-width:0;display:grid;grid-template-columns:auto auto auto auto 1fr;align-items:center;gap:4px;padding:9px;border:1px solid #dce5f1;border-radius:10px;background:#fff;overflow-wrap:anywhere}
#mps-app .mps-keyboard-guide-grid strong{grid-column:1/-1;margin-top:3px;color:#24364b;font-size:12px;line-height:1.4}
#mps-app kbd{display:inline-flex;align-items:center;justify-content:center;min-width:26px;min-height:24px;padding:2px 6px;border:1px solid #94a3b8;border-bottom-width:2px;border-radius:6px;background:#fff;color:#172554;font:800 11px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-shadow:0 1px 0 rgba(15,23,42,.08)}
#mps-app .mps-btn,#mps-app .mps-dot,#mps-app .mps-iconbtn,#mps-app details>summary{min-height:44px}
#mps-app .mps-dot{width:44px;height:44px;min-width:44px}
#mps-app input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),#mps-app select{min-height:44px}
#mps-app .mps-accessibility-audit{min-width:0;overflow:hidden}
#mps-app .mps-accessibility-audit .mps-engine-coverage-actions .mps-btn{min-width:0;min-height:44px;white-space:normal;overflow-wrap:anywhere}
#mps-app .mps-accessibility-audit .mps-engine-coverage-grid strong.is-good{color:#166534}
#mps-app .mps-accessibility-audit .mps-engine-coverage-grid strong.is-error{color:#991b1b}
#mps-app .mps-dialog-backdrop:not([hidden]){overscroll-behavior:contain}
@media(max-width:520px){#mps-app .mps-keyboard-guide-grid{grid-template-columns:1fr}#mps-app .mps-accessibility-audit .mps-engine-coverage-actions{display:grid;grid-template-columns:1fr;width:100%}#mps-app .mps-accessibility-audit .mps-engine-coverage-actions .mps-btn{width:100%}}
@media print{#mps-app .mps-keyboard-guide,#mps-app .mps-accessibility-audit,#mps-app .mps-live-announcer{display:none!important}}


/* v4.55.0 — backup, restore and upgrade assurance */
#mps-app .mps-data-actions{display:flex;flex-wrap:wrap;gap:10px}
#mps-app .mps-backup-preview-dialog{width:min(760px,calc(100vw - 28px));max-height:min(90vh,860px);overflow:auto}
#mps-app .mps-backup-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}
#mps-app .mps-backup-preview-grid article{min-width:0;padding:14px;border:1px solid #b9c9dc;border-radius:12px;background:#f5f9ff;overflow-wrap:anywhere}
#mps-app .mps-backup-preview-grid span,#mps-app .mps-backup-preview-grid small{display:block;color:#334155}
#mps-app .mps-backup-preview-grid strong{display:block;margin:5px 0;font-size:1.2rem;color:#0b2d56}
#mps-app .mps-backup-preview-details{max-width:100%;overflow-x:auto}
#mps-app .mps-backup-preview-warnings{margin:12px 0;padding:12px 14px;border:2px solid #b45309;border-radius:10px;background:#fff7ed;color:#7c2d12}
#mps-app .mps-backup-preview-warnings ul{margin:8px 0 0;padding-left:22px}
#mps-app #mps-backup-confirm,#mps-app #mps-backup-cancel,#mps-app #mps-download-backup-diagnostic,#mps-app #mps-backup-assurance-audit,#mps-app #mps-copy-backup-assurance{min-height:44px}
#mps-app .mps-backup-assurance-audit .mps-engine-coverage-grid article{min-width:0;overflow-wrap:anywhere}
@media (max-width:480px){
  #mps-app .mps-backup-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  #mps-app .mps-backup-preview-grid article{padding:11px}
  #mps-app .mps-backup-preview-grid strong{font-size:1.05rem}
  #mps-app .mps-backup-preview-dialog .mps-dialog-actions{display:grid;grid-template-columns:1fr}
}
@media print{
  #mps-app #mps-backup-preview,#mps-app .mps-backup-assurance-audit,#mps-app #mps-download-backup-diagnostic{display:none!important}
}

/* v4.56.0 — print and pagination assurance */
#mps-app .mps-print-document{box-sizing:border-box;max-width:100%;overflow-wrap:anywhere;orphans:3;widows:3}
#mps-app .mps-print-document *{box-sizing:border-box}
#mps-app .mps-print-document img,
#mps-app .mps-print-document svg,
#mps-app .mps-print-document canvas{max-width:100%;height:auto}
#mps-app .mps-print-document table{width:100%;max-width:100%;table-layout:fixed;border-collapse:collapse;overflow-wrap:anywhere;word-break:normal}
#mps-app .mps-print-document th,
#mps-app .mps-print-document td{max-width:100%;overflow-wrap:anywhere}
#mps-app .mps-print-question-core,
#mps-app .mps-print-marking-core{break-inside:avoid-page;page-break-inside:avoid}
#mps-app .mps-print-working-space span{break-inside:avoid;page-break-inside:avoid}
#mps-app .mps-print-question-head,
#mps-app .mps-print-prompt,
#mps-app .mps-print-shared-context>strong,
#mps-app .mps-print-worked-solution>strong{orphans:3;widows:3}
#mps-app .mps-print-response-grid>div,
#mps-app .mps-print-student-working,
#mps-app .mps-print-worked-solution,
#mps-app .mps-mark-scheme{break-inside:avoid-page;page-break-inside:avoid}
#mps-app .mps-print-measurement-host{--mps-print-page-body-px:930;position:absolute!important;left:-200vw!important;top:0!important;width:186mm!important;max-width:186mm!important;display:block!important;visibility:hidden!important;pointer-events:none!important;z-index:-9999!important;background:#fff!important}
#mps-app .mps-print-measurement-host .mps-print-document{display:block!important;width:100%!important;max-width:100%!important}
#mps-app .mps-print-pagination-audit .mps-engine-coverage-grid strong.is-good{color:#166534}
#mps-app .mps-print-pagination-audit .mps-engine-coverage-grid strong.is-error{color:#991b1b}

@media print{
  @page{
    size:A4 portrait;
    margin:14mm 12mm 17mm;
    @top-left{content:"Maths Practice Studio";font:700 8pt Arial,sans-serif;color:#475569}
    @top-right{content:"Mathematics";font:700 8pt Arial,sans-serif;color:#475569}
    @bottom-center{content:"Page " counter(page) " of " counter(pages);font:8pt Arial,sans-serif;color:#475569}
  }
  html,body{background:#fff!important}
  #mps-app .mps-print-document{width:100%!important;max-width:none!important;overflow:visible!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  #mps-app .mps-print-question-core,
  #mps-app .mps-print-marking-core,
  #mps-app .mps-print-shared-context,
  #mps-app .mps-print-visual,
  #mps-app .mps-print-response-grid,
  #mps-app .mps-print-student-working,
  #mps-app .mps-print-worked-solution,
  #mps-app .mps-mark-scheme{break-inside:avoid-page;page-break-inside:avoid}
  #mps-app .mps-print-question{break-inside:auto;page-break-inside:auto}
  #mps-app .mps-print-marking-question{break-inside:auto;page-break-inside:auto}
  #mps-app .mps-print-question-head,
  #mps-app .mps-print-prompt{break-after:avoid-page;page-break-after:avoid}
  #mps-app .mps-print-working-space{break-inside:auto;page-break-inside:auto}
  #mps-app .mps-print-working-space span{break-inside:avoid;page-break-inside:avoid}
  #mps-app .mps-print-document table{width:100%!important;max-width:100%!important;table-layout:fixed!important}
  #mps-app .mps-print-document img,
  #mps-app .mps-print-document svg,
  #mps-app .mps-print-document canvas{max-width:100%!important;height:auto!important}
  #mps-app .mps-print-pagination-audit,
  #mps-app .mps-print-measurement-host{display:none!important}
}

/* v4.58.0 — curriculum integrity and answer-leak assurance */
.mps-curriculum-integrity-audit .mps-engine-coverage-actions .mps-btn{min-height:44px}
.mps-curriculum-integrity-audit .mps-completion-table-wrap{max-width:100%;overflow-x:auto}
.mps-curriculum-integrity-audit .mps-test-diagnostic{overflow-wrap:anywhere}
@media (max-width:390px){
  .mps-curriculum-integrity-audit .mps-engine-coverage-head,
  .mps-curriculum-integrity-audit .mps-engine-coverage-actions{min-width:0}
  .mps-curriculum-integrity-audit .mps-engine-coverage-actions .mps-btn{width:100%}
}
@media print{
  .mps-curriculum-integrity-audit{display:none!important}
}


/* v4.58.0 — browser, timer, storage and full-platform overlap resilience */
#mps-app .mps-recovery-notice{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;width:100%;min-width:0;padding:14px;border:2px solid #b45309;border-radius:14px;background:#fff7ed;color:#431407;overflow-wrap:anywhere}
#mps-app .mps-recovery-notice[hidden]{display:none!important}
#mps-app .mps-recovery-notice p{margin:4px 0 0;color:#7c2d12}
#mps-app .mps-recovery-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-end;min-width:0}
#mps-app .mps-recovery-actions .mps-btn{min-height:44px;white-space:normal}
#mps-app .mps-browser-resilience-audit .mps-engine-coverage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#mps-app .mps-browser-resilience-audit .mps-engine-coverage-actions .mps-btn{min-height:44px}
#mps-app .mps-resilience-overlap-sandbox{width:360px;max-width:360px}
@media(max-width:390px){
  #mps-app .mps-recovery-notice{grid-template-columns:minmax(0,1fr);padding:12px}
  #mps-app .mps-recovery-actions{display:grid;grid-template-columns:minmax(0,1fr);justify-content:stretch}
  #mps-app .mps-recovery-actions .mps-btn{width:100%;max-width:100%}
  #mps-app .mps-browser-resilience-audit .mps-engine-coverage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media print{
  #mps-app .mps-recovery-notice,#mps-app .mps-browser-resilience-audit{display:none!important}
}

/* v4.66.0 — deterministic Stability Check, release-candidate assurance and cross-browser visual calibration */
#mps-app .mps-panel,
#mps-app .mps-question-card,
#mps-app .mps-report,
#mps-app .mps-test-panel,
#mps-app .mps-saved-item,
#mps-app .mps-route-progress-card,
#mps-app .mps-history-cycle,
#mps-app .mps-readiness-paper{min-width:0;max-width:100%}
#mps-app code,#mps-app .mps-math,#mps-app .mps-test-example,#mps-app .mps-test-diagnostic{max-width:100%;overflow-wrap:anywhere;word-break:break-word}
#mps-app .mps-responsive-audit-fixture{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:390px;max-width:390px;padding:8px;box-sizing:border-box;background:#fff}
#mps-app .mps-responsive-audit-fixture>article{min-width:0;max-width:100%;padding:10px;border:1px solid #cbd5e1;border-radius:10px;overflow:hidden;background:#fff}
#mps-app .mps-responsive-audit-fixture h3,#mps-app .mps-responsive-audit-fixture p{max-width:100%;margin:0 0 6px;overflow-wrap:anywhere}
#mps-app .mps-responsive-audit-fixture table{max-width:100%;table-layout:fixed}
#mps-app .mps-stability-failure-only{margin:0 0 14px;padding:14px 16px;border:2px solid #166534;border-radius:14px;background:#f0fdf4;color:#14532d;overflow-wrap:anywhere}
#mps-app .mps-stability-failure-only.is-fail{border-color:#b91c1c;background:#fff1f2;color:#881337}
#mps-app .mps-stability-failure-only h3{margin:0 0 6px;font-size:1rem}
#mps-app .mps-stability-failure-only p{margin:0;line-height:1.5}
#mps-app .mps-stability-failure-only ul{margin:8px 0 0;padding-left:20px}
#mps-app .mps-release-candidate-audit{min-width:0;overflow:hidden}
#mps-app .mps-release-candidate-audit .mps-engine-coverage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#mps-app .mps-release-candidate-audit .mps-engine-coverage-grid article{min-width:0;overflow-wrap:anywhere}
#mps-app .mps-release-candidate-audit .mps-engine-coverage-actions .mps-btn,
#mps-app #mps-copy-stability-failures{min-width:0;min-height:44px;white-space:normal;overflow-wrap:anywhere}
#mps-app .mps-admin-diagnostics-actions{flex-wrap:wrap}
@media(max-width:520px){
  #mps-app .mps-responsive-audit-fixture{grid-template-columns:repeat(2,minmax(0,1fr));width:390px;max-width:390px}
  #mps-app .mps-release-candidate-audit .mps-engine-coverage-actions{display:grid;grid-template-columns:1fr;width:100%}
  #mps-app .mps-release-candidate-audit .mps-engine-coverage-actions .mps-btn{width:100%}
  #mps-app .mps-admin-diagnostics-actions{display:grid;grid-template-columns:1fr;width:100%}
  #mps-app .mps-admin-diagnostics-actions .mps-btn{width:100%}
}
@media print{
  #mps-app .mps-release-candidate-audit,
  #mps-app .mps-stability-failure-only,
  #mps-app .mps-responsive-audit-fixture{display:none!important}
}
#mps-app .mps-resilience-overlap-sandbox{width:390px;max-width:390px}


/* v4.66.0 — Year 2 block-graph scale separation */
#mps-app .mps-svg-scale.mps-svg-block-scale{font:600 12px/1 Arial,Helvetica,sans-serif!important;letter-spacing:0!important}

/* v4.66.0 — theme-isolated visual-audit fixtures and semantic axis-tick calibration */
#mps-app .mps-visual-audit-sandbox{font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.4}


/* v4.66.0 — final production verification and maintenance baseline */
#mps-app .mps-final-production-audit{min-width:0;overflow:hidden}
#mps-app .mps-final-production-audit .mps-engine-coverage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#mps-app .mps-final-production-audit .mps-engine-coverage-grid article{min-width:0;overflow-wrap:anywhere}
#mps-app .mps-final-production-audit .mps-engine-coverage-actions .mps-btn{min-height:44px;white-space:normal}
@media(max-width:520px){
  #mps-app .mps-final-production-audit .mps-engine-coverage-actions{display:grid;grid-template-columns:1fr;width:100%}
  #mps-app .mps-final-production-audit .mps-engine-coverage-actions .mps-btn{width:100%}
}
@media print{#mps-app .mps-final-production-audit{display:none!important}}

/* v4.66.0 — maintenance integrity monitor and support bundle */
#mps-app .mps-maintenance-integrity-audit{min-width:0;overflow:hidden}
#mps-app .mps-maintenance-integrity-audit .mps-engine-coverage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#mps-app .mps-maintenance-integrity-audit .mps-engine-coverage-grid article{min-width:0;overflow-wrap:anywhere}
#mps-app .mps-maintenance-integrity-audit .mps-engine-coverage-actions .mps-btn{min-height:44px;white-space:normal}
#mps-app .mps-maintenance-integrity-audit code{overflow-wrap:anywhere;word-break:break-word}
@media(max-width:520px){
  #mps-app .mps-maintenance-integrity-audit .mps-engine-coverage-actions{display:grid;grid-template-columns:1fr;width:100%}
  #mps-app .mps-maintenance-integrity-audit .mps-engine-coverage-actions .mps-btn{width:100%}
}
@media print{#mps-app .mps-maintenance-integrity-audit{display:none!important}}


/* v4.66.0 — maintenance verification history and change detection */
#mps-app .mps-maintenance-history-list{display:grid;gap:10px;margin:14px 0;min-width:0}
#mps-app .mps-maintenance-history-item{border:1px solid #cbd5e1;border-radius:14px;padding:12px;background:#fff;min-width:0;overflow:hidden}
#mps-app .mps-maintenance-history-item>div{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;flex-wrap:wrap}
#mps-app .mps-maintenance-history-item>div span{font-size:.86rem;color:#475569}
#mps-app .mps-maintenance-history-item dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0 0}
#mps-app .mps-maintenance-history-item dl div{min-width:0;background:#f8fafc;border-radius:10px;padding:8px}
#mps-app .mps-maintenance-history-item dt{font-size:.75rem;font-weight:800;color:#475569;text-transform:uppercase;letter-spacing:.03em}
#mps-app .mps-maintenance-history-item dd{margin:2px 0 0;font-weight:700;overflow-wrap:anywhere}
#mps-app .mps-maintenance-integrity-audit .mps-engine-coverage-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
@media(max-width:520px){#mps-app .mps-maintenance-history-item dl,#mps-app .mps-maintenance-integrity-audit .mps-engine-coverage-actions{grid-template-columns:1fr}}
@media print{#mps-app .mps-maintenance-history-list{display:none!important}}


/* v4.66.0 — diagnostic root-cause triage and targeted rechecks */
#mps-app .mps-diagnostic-triage-audit{min-width:0;overflow:hidden}
#mps-app .mps-diagnostic-triage-audit .mps-engine-coverage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#mps-app .mps-diagnostic-triage-audit .mps-engine-coverage-grid article{min-width:0;overflow-wrap:anywhere}
#mps-app .mps-diagnostic-triage-audit .mps-engine-coverage-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#mps-app .mps-diagnostic-triage-audit .mps-btn{min-height:44px;white-space:normal}
#mps-app .mps-triage-root-list{display:grid;gap:10px;margin:12px 0}
#mps-app .mps-triage-root{border:1px solid #cbd5e1;border-radius:14px;padding:12px;background:#fff;min-width:0;overflow:hidden}
#mps-app .mps-triage-root-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;flex-wrap:wrap}
#mps-app .mps-triage-severity{display:inline-flex;align-items:center;min-height:28px;padding:3px 9px;border-radius:999px;font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.03em}
#mps-app .mps-triage-severity.critical{background:#7f1d1d;color:#fff}
#mps-app .mps-triage-severity.high{background:#b91c1c;color:#fff}
#mps-app .mps-triage-severity.medium{background:#f59e0b;color:#111827}
#mps-app .mps-triage-severity.low{background:#dbeafe;color:#1e3a8a}
#mps-app .mps-triage-root ul{margin:8px 0 0;padding-left:20px}
#mps-app .mps-triage-root code{overflow-wrap:anywhere;word-break:break-word}
@media(max-width:520px){#mps-app .mps-diagnostic-triage-audit .mps-engine-coverage-actions{grid-template-columns:1fr}}
@media print{#mps-app .mps-diagnostic-triage-audit{display:none!important}}

/* v4.66.0 — multi-course architecture foundation */
#mps-app .mps-multi-course-foundation-audit{min-width:0;overflow:hidden}
#mps-app .mps-multi-course-foundation-audit .mps-engine-coverage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#mps-app .mps-multi-course-foundation-audit .mps-engine-coverage-grid article{min-width:0;overflow-wrap:anywhere}
#mps-app .mps-multi-course-foundation-audit .mps-engine-coverage-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#mps-app .mps-multi-course-foundation-audit .mps-btn{min-height:44px;white-space:normal}
@media(max-width:520px){#mps-app .mps-multi-course-foundation-audit .mps-engine-coverage-actions{grid-template-columns:1fr}#mps-app .mps-multi-course-foundation-audit .mps-btn{width:100%}}
@media print{#mps-app .mps-multi-course-foundation-audit{display:none!important}}


/* v6.3.0 Additional Mathematics: all fourteen curriculum sections implemented */
.mps-additional-functions-svg,.mps-additional-quadratics-svg,.mps-additional-equations-graphs-svg,.mps-additional-log-exp-svg,.mps-additional-straight-lines-svg,.mps-additional-circle-svg,.mps-additional-circular-svg,.mps-additional-trigonometry-svg,.mps-additional-counting-svg,.mps-additional-series-svg,.mps-additional-vectors-svg,.mps-additional-calculus-svg{display:block;box-sizing:border-box;width:100%;height:auto;max-width:760px;margin:12px auto;border:1px solid #d8e1eb;border-radius:16px;background:#fff}
@media(max-width:390px){.mps-additional-functions-svg,.mps-additional-quadratics-svg,.mps-additional-equations-graphs-svg,.mps-additional-log-exp-svg,.mps-additional-straight-lines-svg,.mps-additional-circle-svg,.mps-additional-circular-svg,.mps-additional-trigonometry-svg,.mps-additional-counting-svg,.mps-additional-series-svg,.mps-additional-vectors-svg,.mps-additional-calculus-svg{border-radius:12px}}
@media print{.mps-additional-foundation-audit{display:none!important}.mps-additional-functions-svg,.mps-additional-quadratics-svg,.mps-additional-equations-graphs-svg,.mps-additional-log-exp-svg,.mps-additional-straight-lines-svg,.mps-additional-circle-svg,.mps-additional-circular-svg,.mps-additional-trigonometry-svg,.mps-additional-counting-svg,.mps-additional-series-svg,.mps-additional-vectors-svg,.mps-additional-calculus-svg{max-width:100%;page-break-inside:avoid}#mps-app button,#mps-app select,#mps-app input,#mps-app textarea{display:none!important}}

/* v5.4.0 submitted-report recovery retained */
#mps-app .mps-report-render-warning{margin-top:12px;padding:10px 12px;border:1px solid #f59e0b;border-radius:10px;background:#fffbeb;color:#78350f;font-weight:700}

/* v5.8.0 Additional Mathematics Circular measure */
.mps-additional-circular-svg .mps-ap14-region{fill:#dbeafe;fill-opacity:.72;stroke:#2563eb;stroke-width:2.5;stroke-linejoin:round}.mps-additional-circular-svg .mps-ap14-hole{fill:#fff;stroke:#7c3aed;stroke-width:2}.mps-additional-circular-svg .mps-ap14-arc{fill:none;stroke:#0f766e;stroke-width:6;stroke-linecap:round}.mps-additional-circular-svg .mps-ap14-inner-arc{fill:none;stroke:#7c3aed;stroke-width:4;stroke-linecap:round}.mps-additional-circular-svg .mps-ap14-radius,.mps-additional-circular-svg .mps-ap14-edge{stroke:#334155;stroke-width:3;stroke-linecap:round}.mps-additional-circular-svg .mps-ap14-chord{stroke:#b45309;stroke-width:4;stroke-linecap:round}@media(max-width:390px){.mps-additional-circular-svg{max-width:100%;overflow:visible}}@media print{.mps-additional-circular-svg{break-inside:avoid;max-width:100%}}

/* Additional Mathematics Trigonometry */
.mps-additional-trigonometry-svg{display:block;box-sizing:border-box;width:100%;height:auto;max-width:760px;margin:12px auto;border:1px solid #d8e1eb;border-radius:16px;background:#fff}
@media(max-width:390px){.mps-additional-trigonometry-svg{max-width:100%;border-radius:12px;overflow:visible}}
@media print{.mps-additional-trigonometry-svg{max-width:100%;page-break-inside:avoid;break-inside:avoid}}

/* v6.0.0 — explicit light SVG canvases and AM11 presentation */
#mps-app .mps-additional-circular-svg,#mps-app .mps-additional-counting-svg{background:#fff!important;color-scheme:only light;forced-color-adjust:none}
#mps-app .mps-additional-circular-svg .mps-svg-light-canvas,#mps-app .mps-additional-counting-svg .mps-svg-light-canvas{fill:#fff!important;opacity:1!important}
#mps-app .mps-additional-circular-svg .mps-ap1-panel{fill:#f8fbff!important;stroke:#c8d8e8!important}
#mps-app .mps-additional-circular-svg .mps-ap1-card{fill:#fff!important;stroke:#aac0d6!important}
#mps-app .mps-additional-circular-svg .mps-ap1-card.target{fill:#fff7ed!important;stroke:#ea580c!important}
#mps-app .mps-additional-circular-svg .mps-ap1-heading,#mps-app .mps-additional-circular-svg .mps-ap1-caption{fill:#334155!important}
#mps-app .mps-additional-circular-svg .mps-ap1-value{fill:#17315f!important}
@media(max-width:390px){#mps-app .mps-additional-counting-svg{max-width:100%;border-radius:12px}}
@media print{#mps-app .mps-additional-circular-svg,#mps-app .mps-additional-counting-svg{background:#fff!important;color-scheme:only light;break-inside:avoid;print-color-adjust:exact;-webkit-print-color-adjust:exact}}


/* v6.1.0 — Series diagrams and historical-report compatibility release */
#mps-app .mps-additional-series-svg{display:block;box-sizing:border-box;width:100%;height:auto;max-width:760px;margin:12px auto;border:1px solid #d8e1eb;border-radius:16px;background:#fff!important;color-scheme:only light;forced-color-adjust:none}
#mps-app .mps-additional-series-svg .mps-svg-light-canvas{fill:#fff!important;opacity:1!important}
@media(max-width:390px){#mps-app .mps-additional-series-svg{max-width:100%;border-radius:12px;overflow:visible}}
@media print{#mps-app .mps-additional-series-svg{max-width:100%;background:#fff!important;color-scheme:only light;page-break-inside:avoid;break-inside:avoid;print-color-adjust:exact;-webkit-print-color-adjust:exact}}


/* v6.2.0 — Vectors in two dimensions and resume-target regression hardening */
#mps-app .mps-additional-vectors-svg{display:block;box-sizing:border-box;width:100%;height:auto;max-width:760px;margin:12px auto;border:1px solid #d8e1eb;border-radius:16px;background:#fff!important;color-scheme:only light;forced-color-adjust:none}
#mps-app .mps-additional-vectors-svg .mps-svg-light-canvas{fill:#fff!important;opacity:1!important}
@media(max-width:390px){#mps-app .mps-additional-vectors-svg{max-width:100%;border-radius:12px;overflow:visible}}
@media print{#mps-app .mps-additional-vectors-svg{max-width:100%;background:#fff!important;color-scheme:only light;page-break-inside:avoid;break-inside:avoid;print-color-adjust:exact;-webkit-print-color-adjust:exact}}


/* v6.3.0 — Calculus and continuous quadratic-curve clipping */
#mps-app .mps-additional-calculus-svg{display:block;box-sizing:border-box;width:100%;height:auto;max-width:760px;margin:12px auto;border:1px solid #d8e1eb;border-radius:16px;background:#fff!important;color-scheme:only light;forced-color-adjust:none}
#mps-app .mps-additional-calculus-svg [data-light-canvas="true"]{fill:#fff!important;opacity:1!important}
@media(max-width:390px){#mps-app .mps-additional-calculus-svg{max-width:100%;border-radius:12px;overflow:visible}}
@media print{#mps-app .mps-additional-calculus-svg{max-width:100%;background:#fff!important;color-scheme:only light;page-break-inside:avoid;break-inside:avoid;print-color-adjust:exact;-webkit-print-color-adjust:exact}}

/* v6.5.0 activity continuity centre */
#mps-app .mps-saved-group{margin-top:12px;padding:10px;border:1px solid #d8e3f0;border-radius:12px;background:#f8fbff}
#mps-app .mps-saved-group:first-child{margin-top:0}
#mps-app .mps-saved-group>h4{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 6px;color:#173b7a;font-size:14px}
#mps-app .mps-saved-group>h4 span{display:inline-flex;min-width:28px;min-height:28px;align-items:center;justify-content:center;border-radius:999px;background:#e5eefb;color:#173b7a;font-size:12px}
#mps-app .mps-saved-group .mps-saved-item:first-of-type{border-top:0}
#mps-app .mps-saved-item-actions .mps-saved-resume,
#mps-app .mps-saved-item-actions .mps-saved-continue-report{background:#173b7a;color:#fff;border-color:#173b7a}
#mps-app .mps-saved-item-actions .mps-saved-report{background:#eef4fb;color:#173b7a;border-color:#b9c9dc}
@media(max-width:700px){#mps-app .mps-saved-item-actions{flex-wrap:wrap}#mps-app .mps-saved-item-actions button{flex:1 1 150px}}
@media print{#mps-app .mps-saved-group{break-inside:avoid}}

/* v6.7.0 Additional Mathematics qualification readiness */
#mps-app .mps-additional-readiness{margin-top:18px;padding:18px;border:1px solid #c9d9ea;border-radius:18px;background:#f8fbff;box-shadow:0 8px 22px rgba(28,65,105,.06)}
#mps-app .mps-additional-readiness[hidden]{display:none!important}
#mps-app .mps-additional-readiness-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}
#mps-app .mps-additional-readiness-head h3{margin:0 0 4px;color:#173b7a;font-size:22px;line-height:1.2}
#mps-app .mps-additional-readiness-head p{margin:0;color:#526579}
#mps-app #mps-additional-readiness-badge{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:6px 12px;border-radius:999px;background:#e6f0ff;color:#173b7a;font-weight:800;text-align:center}
#mps-app .mps-additional-readiness-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}
#mps-app .mps-additional-readiness-summary article{min-width:0;padding:14px;border:1px solid #d7e3ef;border-radius:14px;background:#fff}
#mps-app .mps-additional-readiness-summary span,#mps-app .mps-additional-readiness-summary small{display:block;color:#5d6d7e}
#mps-app .mps-additional-readiness-summary strong{display:block;margin:5px 0;color:#173b7a;font-size:22px;overflow-wrap:anywhere}
#mps-app .mps-additional-readiness-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#mps-app .mps-additional-readiness-card{min-width:0;padding:13px;border:1px solid #d7e3ef;border-radius:14px;background:#fff}
#mps-app .mps-additional-readiness-card>div:first-child{display:flex;justify-content:space-between;gap:10px;align-items:center}
#mps-app .mps-additional-readiness-card span{font-weight:800;color:#245fbd}
#mps-app .mps-additional-readiness-card em{font-style:normal;font-size:12px;font-weight:800;color:#526579;text-align:right}
#mps-app .mps-additional-readiness-card strong{display:block;margin:6px 0 4px;color:#17263d;overflow-wrap:anywhere}
#mps-app .mps-additional-readiness-card small{display:block;color:#5d6d7e}
#mps-app .mps-additional-readiness-card.is-priority{border-color:#e8b6aa;background:#fff8f6}
#mps-app .mps-additional-readiness-card.is-secure{border-color:#add9c4;background:#f4fcf8}
#mps-app .mps-additional-readiness-meter{height:9px;margin-top:10px;border-radius:999px;background:#e5edf5;overflow:hidden}
#mps-app .mps-additional-readiness-meter span{display:block;height:100%;border-radius:inherit;background:#245fbd}
#mps-app .mps-additional-readiness-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}
#mps-app .mps-additional-readiness-actions .mps-btn{width:100%;min-height:44px}
@media(max-width:900px){#mps-app .mps-additional-readiness-summary,#mps-app .mps-additional-readiness-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){#mps-app .mps-additional-readiness-head{display:block}#mps-app #mps-additional-readiness-badge{margin-top:10px}#mps-app .mps-additional-readiness-summary,#mps-app .mps-additional-readiness-list,#mps-app .mps-additional-readiness-actions{grid-template-columns:1fr}}
@media print{#mps-app .mps-additional-readiness{break-inside:avoid;background:#fff;box-shadow:none}#mps-app .mps-additional-readiness-actions{display:none!important}}

/* v6.7.0 — Additional Mathematics qualification completion map */
#mps-app .mps-additional-completion-map{margin:14px 0 18px;padding:15px;border:1px solid #c5dacd;border-radius:16px;background:#f5fcf8}
#mps-app .mps-additional-completion-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:12px}
#mps-app .mps-additional-completion-head h4,#mps-app .mps-additional-evidence-heading{margin:0 0 4px;color:#145a3a;font-size:18px}
#mps-app .mps-additional-completion-head p{margin:0;color:#526579}
#mps-app #mps-additional-completion-badge{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:5px 11px;border-radius:999px;background:#dff4e8;color:#145a3a;font-weight:800;text-align:center}
#mps-app .mps-additional-completion-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}
#mps-app .mps-additional-completion-summary article{min-width:0;padding:12px;border:1px solid #cfe3d7;border-radius:13px;background:#fff}
#mps-app .mps-additional-completion-summary span,#mps-app .mps-additional-completion-summary small{display:block;color:#5d6d7e}
#mps-app .mps-additional-completion-summary strong{display:block;margin:4px 0;color:#145a3a;font-size:21px;overflow-wrap:anywhere}
#mps-app .mps-additional-completion-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
#mps-app .mps-additional-completion-card{min-width:0;padding:11px;border:1px solid #cfe3d7;border-radius:13px;background:#fff}
#mps-app .mps-additional-completion-card>div{display:flex;justify-content:space-between;gap:10px;align-items:center}
#mps-app .mps-additional-completion-card span{font-weight:800;color:#1f6e49}
#mps-app .mps-additional-completion-card em{font-style:normal;font-size:12px;font-weight:800;color:#26734d;text-align:right}
#mps-app .mps-additional-completion-card strong{display:block;margin:5px 0 3px;color:#17263d;overflow-wrap:anywhere}
#mps-app .mps-additional-completion-card small{display:block;color:#5d6d7e}
#mps-app .mps-additional-evidence-heading{margin-top:4px;color:#173b7a}
@media(max-width:900px){#mps-app .mps-additional-completion-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){#mps-app .mps-additional-completion-head{display:block}#mps-app #mps-additional-completion-badge{margin-top:9px}#mps-app .mps-additional-completion-summary,#mps-app .mps-additional-completion-list{grid-template-columns:1fr}}
@media print{#mps-app .mps-additional-completion-map{break-inside:avoid;background:#fff;box-shadow:none}}

/* v6.8.0 Additional Mathematics examination-paper performance */
#mps-app .mps-additional-paper-performance{margin:16px 0;padding:16px;border:1px solid #c8d8e9;border-radius:16px;background:#fff}
#mps-app .mps-additional-paper-performance-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:12px}
#mps-app .mps-additional-paper-performance-head h4{margin:0 0 4px;color:#173b7a;font-size:19px;line-height:1.25}
#mps-app .mps-additional-paper-performance-head p{margin:0;color:#526579}
#mps-app #mps-additional-paper-performance-badge{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:5px 11px;border-radius:999px;background:#e8f1ff;color:#173b7a;font-weight:800;text-align:center}
#mps-app .mps-additional-paper-performance-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}
#mps-app .mps-additional-paper-performance-summary article{min-width:0;padding:12px;border:1px solid #d7e3ef;border-radius:13px;background:#f8fbff}
#mps-app .mps-additional-paper-performance-summary span,#mps-app .mps-additional-paper-performance-summary small{display:block;color:#5d6d7e}
#mps-app .mps-additional-paper-performance-summary strong{display:block;margin:4px 0;color:#173b7a;font-size:20px;overflow-wrap:anywhere}
#mps-app .mps-additional-paper-performance-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#mps-app .mps-additional-paper-performance-card{min-width:0;padding:14px;border:1px solid #d7e3ef;border-radius:14px;background:#fff}
#mps-app .mps-additional-paper-performance-card>div:first-child{display:flex;justify-content:space-between;gap:10px;align-items:center}
#mps-app .mps-additional-paper-performance-card span{font-weight:800;color:#245fbd}
#mps-app .mps-additional-paper-performance-card em{font-style:normal;font-size:12px;font-weight:800;color:#526579;text-align:right}
#mps-app .mps-additional-paper-performance-card>strong{display:block;margin:8px 0 4px;color:#173b7a;font-size:26px}
#mps-app .mps-additional-paper-performance-card small,#mps-app .mps-additional-paper-performance-card p{display:block;margin:4px 0;color:#5d6d7e}
#mps-app .mps-additional-paper-performance-card.is-priority{border-color:#e8b6aa;background:#fff8f6}
#mps-app .mps-additional-paper-performance-card.is-secure{border-color:#add9c4;background:#f4fcf8}
#mps-app .mps-additional-paper-performance-meter{height:9px;margin:10px 0;border-radius:999px;background:#e5edf5;overflow:hidden}
#mps-app .mps-additional-paper-performance-meter span{display:block;height:100%;border-radius:inherit;background:#245fbd}
#mps-app .mps-additional-paper-performance-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
#mps-app .mps-additional-paper-performance-actions .mps-btn{width:100%;min-height:44px}
@media(max-width:900px){#mps-app .mps-additional-paper-performance-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){#mps-app .mps-additional-paper-performance-head{display:block}#mps-app #mps-additional-paper-performance-badge{margin-top:10px}#mps-app .mps-additional-paper-performance-summary,#mps-app .mps-additional-paper-performance-list,#mps-app .mps-additional-paper-performance-actions{grid-template-columns:1fr}}
@media print{#mps-app .mps-additional-paper-performance{break-inside:avoid;background:#fff}#mps-app .mps-additional-paper-performance-actions{display:none!important}}


/* v6.9.0 Additional Mathematics targeted revision builder */
#mps-app .mps-additional-targeted-revision{margin:16px 0;padding:16px;border:1px solid #d8c9e8;border-radius:16px;background:#fcf9ff}
#mps-app .mps-additional-targeted-revision-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:12px}
#mps-app .mps-additional-targeted-revision-head h4{margin:0 0 4px;color:#5b287f;font-size:19px;line-height:1.25}
#mps-app .mps-additional-targeted-revision-head p{margin:0;color:#526579}
#mps-app #mps-additional-targeted-revision-badge{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:5px 11px;border-radius:999px;background:#efe3f8;color:#5b287f;font-weight:800;text-align:center}
#mps-app .mps-additional-targeted-revision-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}
#mps-app .mps-additional-targeted-revision-summary article{min-width:0;padding:12px;border:1px solid #e3d8ed;border-radius:13px;background:#fff}
#mps-app .mps-additional-targeted-revision-summary span,#mps-app .mps-additional-targeted-revision-summary small{display:block;color:#5d6d7e}
#mps-app .mps-additional-targeted-revision-summary strong{display:block;margin:4px 0;color:#5b287f;font-size:20px;overflow-wrap:anywhere}
#mps-app .mps-additional-targeted-revision-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#mps-app .mps-additional-targeted-revision-card{min-width:0;padding:14px;border:1px solid #e3d8ed;border-radius:14px;background:#fff}
#mps-app .mps-additional-targeted-revision-card>div{display:flex;justify-content:space-between;gap:10px;align-items:center}
#mps-app .mps-additional-targeted-revision-card span{font-weight:800;color:#6b3291}
#mps-app .mps-additional-targeted-revision-card em{font-style:normal;font-size:12px;font-weight:800;color:#5b287f;text-align:right}
#mps-app .mps-additional-targeted-revision-card strong{display:block;margin:7px 0 4px;color:#17263d;overflow-wrap:anywhere}
#mps-app .mps-additional-targeted-revision-card small,#mps-app .mps-additional-targeted-revision-card p{display:block;margin:4px 0;color:#5d6d7e}
#mps-app .mps-additional-targeted-revision-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
#mps-app .mps-additional-targeted-revision-actions .mps-btn{width:100%;min-height:44px}
@media(max-width:900px){#mps-app .mps-additional-targeted-revision-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){#mps-app .mps-additional-targeted-revision-head{display:block}#mps-app #mps-additional-targeted-revision-badge{margin-top:10px}#mps-app .mps-additional-targeted-revision-summary,#mps-app .mps-additional-targeted-revision-list,#mps-app .mps-additional-targeted-revision-actions{grid-template-columns:1fr}}
@media print{#mps-app .mps-additional-targeted-revision{break-inside:avoid;background:#fff}#mps-app .mps-additional-targeted-revision-actions{display:none!important}}


/* v6.10.0 Additional Mathematics adaptive revision cycle */
#mps-app .mps-additional-revision-cycle{margin:16px 0;padding:16px;border:1px solid #e4cfa4;border-radius:16px;background:#fffaf0}
#mps-app .mps-additional-revision-cycle-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:12px}
#mps-app .mps-additional-revision-cycle-head h4{margin:0 0 4px;color:#7a4a08;font-size:19px;line-height:1.25}
#mps-app .mps-additional-revision-cycle-head p{margin:0;color:#526579}
#mps-app #mps-additional-revision-cycle-badge{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:5px 11px;border-radius:999px;background:#f8e9c8;color:#704306;font-weight:800;text-align:center}
#mps-app .mps-additional-revision-cycle-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}
#mps-app .mps-additional-revision-cycle-summary article{min-width:0;padding:12px;border:1px solid #ead9b8;border-radius:13px;background:#fff}
#mps-app .mps-additional-revision-cycle-summary span,#mps-app .mps-additional-revision-cycle-summary small{display:block;color:#5d6d7e}
#mps-app .mps-additional-revision-cycle-summary strong{display:block;margin:4px 0;color:#7a4a08;font-size:20px;overflow-wrap:anywhere}
#mps-app .mps-additional-revision-cycle-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#mps-app .mps-additional-revision-cycle-card{min-width:0;padding:14px;border:1px solid #ead9b8;border-radius:14px;background:#fff}
#mps-app .mps-additional-revision-cycle-card>div{display:flex;justify-content:space-between;gap:10px;align-items:center}
#mps-app .mps-additional-revision-cycle-card span{font-weight:800;color:#8a570d}
#mps-app .mps-additional-revision-cycle-card em{font-style:normal;font-size:12px;font-weight:800;color:#6a4b1c;text-align:right}
#mps-app .mps-additional-revision-cycle-card strong{display:block;margin:7px 0 4px;color:#17263d;overflow-wrap:anywhere}
#mps-app .mps-additional-revision-cycle-card small,#mps-app .mps-additional-revision-cycle-card p,#mps-app .mps-additional-revision-cycle-card b{display:block;margin:4px 0;color:#5d6d7e}
#mps-app .mps-additional-revision-cycle-card.is-next{border-color:#d29021;background:#fff7e5;box-shadow:0 0 0 2px rgba(210,144,33,.12)}
#mps-app .mps-additional-revision-cycle-card.is-complete{border-color:#add9c4;background:#f4fcf8}
#mps-app .mps-additional-revision-cycle-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}
#mps-app .mps-additional-revision-cycle-actions .mps-btn{width:100%;min-height:44px}
@media(max-width:900px){#mps-app .mps-additional-revision-cycle-summary,#mps-app .mps-additional-revision-cycle-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){#mps-app .mps-additional-revision-cycle-head{display:block}#mps-app #mps-additional-revision-cycle-badge{margin-top:10px}#mps-app .mps-additional-revision-cycle-summary,#mps-app .mps-additional-revision-cycle-list,#mps-app .mps-additional-revision-cycle-actions{grid-template-columns:1fr}}
@media print{#mps-app .mps-additional-revision-cycle{break-inside:avoid;background:#fff}#mps-app .mps-additional-revision-cycle-actions{display:none!important}}


/* v6.11.0 — Additional Mathematics mock-examination cycle */
#mps-app .mps-additional-mock-cycle{margin:16px 0;padding:16px;border:1px solid #b9cdef;border-radius:16px;background:#f5f8ff}
#mps-app .mps-additional-mock-cycle-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:12px}
#mps-app .mps-additional-mock-cycle-head h4{margin:0 0 4px;color:#173f78;font-size:19px;line-height:1.25}
#mps-app .mps-additional-mock-cycle-head p{margin:0;color:#526579}
#mps-app #mps-additional-mock-cycle-badge{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:5px 11px;border-radius:999px;background:#dfeaff;color:#173f78;font-weight:800;text-align:center}
#mps-app .mps-additional-mock-cycle-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}
#mps-app .mps-additional-mock-cycle-summary article{min-width:0;padding:12px;border:1px solid #ccd9ef;border-radius:13px;background:#fff}
#mps-app .mps-additional-mock-cycle-summary span,#mps-app .mps-additional-mock-cycle-summary small{display:block;color:#5d6d7e}
#mps-app .mps-additional-mock-cycle-summary strong{display:block;margin:4px 0;color:#173f78;font-size:20px;overflow-wrap:anywhere}
#mps-app .mps-additional-mock-cycle-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#mps-app .mps-additional-mock-cycle-card{min-width:0;padding:14px;border:1px solid #ccd9ef;border-radius:14px;background:#fff}
#mps-app .mps-additional-mock-cycle-card>div{display:flex;justify-content:space-between;gap:10px;align-items:center}
#mps-app .mps-additional-mock-cycle-card span{font-weight:800;color:#28538b}
#mps-app .mps-additional-mock-cycle-card em{font-style:normal;font-size:12px;font-weight:800;color:#315681;text-align:right}
#mps-app .mps-additional-mock-cycle-card strong{display:block;margin:7px 0 4px;color:#17263d;overflow-wrap:anywhere}
#mps-app .mps-additional-mock-cycle-card small,#mps-app .mps-additional-mock-cycle-card p,#mps-app .mps-additional-mock-cycle-card b{display:block;margin:4px 0;color:#5d6d7e}
#mps-app .mps-additional-mock-cycle-card.is-next{border-color:#3e75bd;background:#edf5ff;box-shadow:0 0 0 2px rgba(62,117,189,.12)}
#mps-app .mps-additional-mock-cycle-card.is-complete{border-color:#add9c4;background:#f4fcf8}
#mps-app .mps-additional-mock-cycle-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}
#mps-app .mps-additional-mock-cycle-actions .mps-btn{width:100%;min-height:44px}
@media(max-width:900px){#mps-app .mps-additional-mock-cycle-summary,#mps-app .mps-additional-mock-cycle-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){#mps-app .mps-additional-mock-cycle-head{display:block}#mps-app #mps-additional-mock-cycle-badge{margin-top:10px}#mps-app .mps-additional-mock-cycle-summary,#mps-app .mps-additional-mock-cycle-list,#mps-app .mps-additional-mock-cycle-actions{grid-template-columns:1fr}}
@media print{#mps-app .mps-additional-mock-cycle{break-inside:avoid;background:#fff}#mps-app .mps-additional-mock-cycle-actions{display:none!important}}


/* v6.12.0 — grouped mathematics pathway and planned Further Mathematics extension */
#mps-app #mps-level optgroup{font-weight:800;color:#17385f;background:#f3f7fc}
#mps-app #mps-level option{font-weight:600;color:#172b45;background:#fff}
#mps-app #mps-level option:disabled{color:#66758a;font-style:italic;background:#f3f5f8}
#mps-app .mps-level-pathway-note{margin:8px 0 0;padding:11px 13px;border:1px solid #d4deea;border-radius:13px;background:#f7f9fc;color:#324963;font-size:.82rem;line-height:1.48}
#mps-app .mps-level-pathway-note strong{color:#17385f}
#mps-app .mps-level-pathway-note.is-advanced{border-color:#b8d3f0;background:#eef6ff;color:#234b73}
#mps-app .mps-level-pathway-note.is-extension{border-color:#dcc9f4;background:#f8f2ff;color:#4b2c70}
#mps-app .mps-level-pathway-note.is-additional{border-color:#bde2d1;background:#effaf5;color:#245b44}
@media(max-width:560px){#mps-app .mps-level-pathway-note{font-size:.78rem;padding:10px 11px}}
@media print{#mps-app .mps-level-pathway-note{display:none!important}}


/* v6.13.0 — Further Pure Mathematics 1 roots visuals */
.mps-further-roots-svg{display:block;width:100%;height:auto;max-width:100%;background:#f8fbff;border-radius:22px}
.mps-fm-roots-panel{fill:#eef5ff;stroke:#b9cceb;stroke-width:2}
.mps-fm-roots-card{fill:#fff;stroke:#c9d8ee;stroke-width:1.5}
.mps-fm-roots-heading{font:700 25px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#13233f}
.mps-fm-roots-label{font:600 17px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#315078}
.mps-fm-roots-value{font:700 30px Georgia,"Times New Roman",serif;fill:#173f70}
.mps-fm-roots-caption{font:500 15px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#4b617d}
@media print{.mps-further-roots-svg{background:#fff!important}.mps-fm-roots-panel{fill:#f4f4f4!important}.mps-fm-roots-card{fill:#fff!important}}


/* v6.14.0 — Further Pure Mathematics 1 rational-functions visuals */
.mps-further-rational-svg{display:block;width:100%;height:auto;background:#fff}
.mps-fm-rational-panel{fill:#eef5ff;stroke:#b9cceb;stroke-width:2}
.mps-fm-rational-card{fill:#fff;stroke:#c9d8ee;stroke-width:1.5}
.mps-fm-rational-heading{font:700 25px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#13233f}
.mps-fm-rational-label{font:700 17px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#315078}
.mps-fm-rational-value{font:600 16px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#173f70}
.mps-fm-rational-caption{font:500 15px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#4b617d}
@media print{.mps-further-rational-svg{background:#fff!important}.mps-fm-rational-panel{fill:#f4f4f4!important}.mps-fm-rational-card{fill:#fff!important}}


/* v6.15.0 — Further Pure Mathematics 1: Summation of series */
.mps-further-summation-svg{display:block;width:100%;max-width:760px;height:auto;margin:0 auto;overflow:visible}
.mps-further-summation-svg .mps-fm-series-panel{fill:#f8fafc;stroke:#1e3a5f;stroke-width:3}
.mps-further-summation-svg .mps-fm-series-card{fill:#fff;stroke:#7794b5;stroke-width:2}
.mps-further-summation-svg .mps-fm-series-heading{font-size:23px;font-weight:800;fill:#112f4f}
.mps-further-summation-svg .mps-fm-series-value{font-size:24px;font-weight:750;fill:#173f68}
.mps-further-summation-svg .mps-fm-series-label{font-size:17px;font-weight:650;fill:#314c67}
.mps-further-summation-svg .mps-fm-series-caption{font-size:17px;font-weight:650;fill:#243b53}
@media(max-width:420px){.mps-further-summation-svg{min-width:0}.mps-further-summation-svg text{font-size:15px}.mps-further-summation-svg .mps-fm-series-heading{font-size:18px}.mps-further-summation-svg .mps-fm-series-value{font-size:18px}}
@media print{.mps-further-summation-svg{max-width:180mm;break-inside:avoid;page-break-inside:avoid}.mps-further-summation-svg .mps-fm-series-panel,.mps-further-summation-svg .mps-fm-series-card{fill:#fff!important;stroke:#000!important}}


/* v6.16.0 — Further Pure Mathematics 1: Matrices */
.mps-further-matrices-svg{display:block;width:100%;max-width:760px;height:auto;margin:0 auto;overflow:visible;background:#fff}
.mps-further-matrices-svg .mps-fm-matrix-panel{fill:#f8fafc;stroke:#1e3a5f;stroke-width:3}
.mps-further-matrices-svg .mps-fm-matrix-card{fill:#fff;stroke:#7794b5;stroke-width:2}
.mps-further-matrices-svg .mps-fm-matrix-heading{font-size:23px;font-weight:800;fill:#112f4f}
.mps-further-matrices-svg .mps-fm-matrix-label{font-size:16px;font-weight:700;fill:#314c67}
.mps-further-matrices-svg .mps-fm-matrix-value{font-size:21px;font-weight:750;fill:#173f68;font-family:Georgia,"Times New Roman",serif}
.mps-further-matrices-svg .mps-fm-matrix-caption{font-size:15px;font-weight:650;fill:#243b53}
.mps-further-matrices-svg .mps-fm-matrix-axis{stroke:#334e68;stroke-width:2.2}
.mps-further-matrices-svg .mps-fm-matrix-arrow{fill:#334e68}
.mps-further-matrices-svg .mps-fm-matrix-shape{fill:#dbeafe;stroke:#1d4ed8;stroke-width:3}
.mps-further-matrices-svg .mps-fm-matrix-image{fill:#dcfce7;stroke:#15803d;stroke-width:3}
.mps-further-matrices-svg .mps-fm-matrix-map{fill:none;stroke:#7c3aed;stroke-width:3;stroke-dasharray:8 7}
@media(max-width:420px){.mps-further-matrices-svg{min-width:0}.mps-further-matrices-svg .mps-fm-matrix-heading{font-size:18px}.mps-further-matrices-svg .mps-fm-matrix-label,.mps-further-matrices-svg .mps-fm-matrix-caption{font-size:13px}.mps-further-matrices-svg .mps-fm-matrix-value{font-size:17px}}
@media print{.mps-further-matrices-svg{max-width:180mm;break-inside:avoid;page-break-inside:avoid}.mps-further-matrices-svg .mps-fm-matrix-panel,.mps-further-matrices-svg .mps-fm-matrix-card{fill:#fff!important;stroke:#000!important}.mps-further-matrices-svg .mps-fm-matrix-shape,.mps-further-matrices-svg .mps-fm-matrix-image{fill:#fff!important;stroke:#000!important}.mps-further-matrices-svg .mps-fm-matrix-map{stroke:#000!important}}


/* Previous release — Further Pure Mathematics 1: Polar coordinates */
#mps-app .mps-further-polar-svg{display:block;width:100%;max-width:760px;height:auto;margin:0 auto;overflow:visible;background:#fff}
#mps-app .mps-further-polar-svg .mps-fm-polar-panel{fill:#f8fafc;stroke:#1e3a5f;stroke-width:3}
#mps-app .mps-further-polar-svg .mps-fm-polar-card{fill:#fff;stroke:#7794b5;stroke-width:2}
#mps-app .mps-further-polar-svg .mps-fm-polar-grid{fill:none;stroke:#c5d3e4;stroke-width:1.4}
#mps-app .mps-further-polar-svg .mps-fm-polar-axis{stroke:#334e68;stroke-width:2.2}
#mps-app .mps-further-polar-svg .mps-fm-polar-ray{stroke:#9fb2c8;stroke-width:1.2;stroke-dasharray:5 5}
#mps-app .mps-further-polar-svg .mps-fm-polar-pole{fill:#173f68}
#mps-app .mps-further-polar-svg .mps-fm-polar-heading{font:800 23px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#112f4f}
#mps-app .mps-further-polar-svg .mps-fm-polar-label{font:700 15px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#314c67}
#mps-app .mps-further-polar-svg .mps-fm-polar-formula{font:750 21px Georgia,"Times New Roman",serif;fill:#173f68}
#mps-app .mps-further-polar-svg .mps-fm-polar-note{font:650 15px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#40566f}
#mps-app .mps-further-polar-svg .mps-fm-polar-caption{font:650 14px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#243b53}
@media(max-width:420px){#mps-app .mps-further-polar-svg{min-width:0}#mps-app .mps-further-polar-svg .mps-fm-polar-heading{font-size:18px}#mps-app .mps-further-polar-svg .mps-fm-polar-label,#mps-app .mps-further-polar-svg .mps-fm-polar-note,#mps-app .mps-further-polar-svg .mps-fm-polar-caption{font-size:12px}#mps-app .mps-further-polar-svg .mps-fm-polar-formula{font-size:17px}}
@media print{#mps-app .mps-further-polar-svg{max-width:180mm;break-inside:avoid;page-break-inside:avoid;background:#fff!important}#mps-app .mps-further-polar-svg .mps-fm-polar-panel,#mps-app .mps-further-polar-svg .mps-fm-polar-card{fill:#fff!important;stroke:#000!important}#mps-app .mps-further-polar-svg .mps-fm-polar-grid,#mps-app .mps-further-polar-svg .mps-fm-polar-axis,#mps-app .mps-further-polar-svg .mps-fm-polar-ray{stroke:#000!important}}


/* v6.18.0 — Further Pure Mathematics 1: Vectors */
#mps-app .mps-further-vectors-svg{display:block;width:100%;max-width:760px;height:auto;margin:0 auto;overflow:visible;background:#fff}
#mps-app .mps-further-vectors-svg .mps-fm-vector-panel{fill:#f8fafc;stroke:#1e3a5f;stroke-width:3}
#mps-app .mps-further-vectors-svg .mps-fm-vector-plane{fill:#e6eef8;fill-opacity:.86;stroke:#345d8c;stroke-width:2.5}
#mps-app .mps-further-vectors-svg .mps-fm-vector-line{stroke:#8b2f4e;stroke-width:4;stroke-linecap:round}
#mps-app .mps-further-vectors-svg .mps-fm-vector-normal{stroke:#146c4b;stroke-width:4;stroke-linecap:round}
#mps-app .mps-further-vectors-svg .mps-fm-vector-arrow{fill:#146c4b}
#mps-app .mps-further-vectors-svg .mps-fm-vector-point{fill:#162f4f;stroke:#fff;stroke-width:2}
#mps-app .mps-further-vectors-svg .mps-fm-vector-right-angle{fill:none;stroke:#146c4b;stroke-width:2.5}
#mps-app .mps-further-vectors-svg .mps-fm-vector-heading{font:800 23px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#112f4f}
#mps-app .mps-further-vectors-svg .mps-fm-vector-label{font:700 15px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#314c67}
#mps-app .mps-further-vectors-svg .mps-fm-vector-formula{font:750 21px Georgia,"Times New Roman",serif;fill:#173f68}
#mps-app .mps-further-vectors-svg .mps-fm-vector-caption{font:650 14px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#243b53}
@media(max-width:420px){#mps-app .mps-further-vectors-svg{min-width:0}#mps-app .mps-further-vectors-svg .mps-fm-vector-heading{font-size:18px}#mps-app .mps-further-vectors-svg .mps-fm-vector-label,#mps-app .mps-further-vectors-svg .mps-fm-vector-caption{font-size:12px}#mps-app .mps-further-vectors-svg .mps-fm-vector-formula{font-size:16px}}
@media print{#mps-app .mps-further-vectors-svg{max-width:180mm;break-inside:avoid;page-break-inside:avoid;background:#fff!important}#mps-app .mps-further-vectors-svg .mps-fm-vector-panel,#mps-app .mps-further-vectors-svg .mps-fm-vector-plane{fill:#fff!important;stroke:#000!important}#mps-app .mps-further-vectors-svg .mps-fm-vector-line,#mps-app .mps-further-vectors-svg .mps-fm-vector-normal,#mps-app .mps-further-vectors-svg .mps-fm-vector-right-angle{stroke:#000!important}#mps-app .mps-further-vectors-svg .mps-fm-vector-arrow,#mps-app .mps-further-vectors-svg .mps-fm-vector-point{fill:#000!important}}


/* v6.19.0 — Further Pure Mathematics 1: Proof by induction */
.mps-further-induction-svg{display:block;width:100%;height:auto;max-width:760px;margin:0 auto;overflow:visible}
.mps-fm-induction-panel{fill:#f8fbff;stroke:#173f67;stroke-width:3}
.mps-fm-induction-heading{font-size:25px;font-weight:800;fill:#173f67}
.mps-fm-induction-card{fill:#fff;stroke:#4e78a0;stroke-width:2.4}
.mps-fm-induction-conclusion{fill:#edf8ef;stroke:#2e7d45;stroke-width:2.6}
.mps-fm-induction-label{font-size:18px;font-weight:800;fill:#173f67}
.mps-fm-induction-text{font-size:16px;font-weight:600;fill:#243746}
.mps-fm-induction-arrow,.mps-fm-induction-down{fill:none;stroke:#b44b19;stroke-width:4;stroke-linecap:round}
.mps-fm-induction-arrowhead{fill:#b44b19}
.mps-fm-induction-caption{font-size:15px;font-weight:600;fill:#334e68}
@media(max-width:520px){.mps-fm-induction-heading{font-size:23px}.mps-fm-induction-label{font-size:17px}.mps-fm-induction-text{font-size:15px}.mps-fm-induction-caption{font-size:14px}}
@media print{.mps-further-induction-svg{max-width:180mm;break-inside:avoid}.mps-fm-induction-panel,.mps-fm-induction-card,.mps-fm-induction-conclusion{stroke:#000}.mps-fm-induction-heading,.mps-fm-induction-label,.mps-fm-induction-text,.mps-fm-induction-caption{fill:#000}}


/* Further Mechanics: Motion of a projectile */
.mps-further-projectile-svg{display:block;width:100%;height:auto;max-width:760px;margin:1rem auto;background:#fff;border-radius:1rem;overflow:visible}
.mps-fm-projectile-panel{fill:#f8fbff;stroke:#b7c9e2;stroke-width:2}
.mps-fm-projectile-ground,.mps-fm-projectile-axis{fill:none;stroke:#26384f;stroke-width:3;stroke-linecap:round}
.mps-fm-projectile-path{fill:none;stroke:#205ea6;stroke-width:5;stroke-linecap:round;stroke-dasharray:10 7}
.mps-fm-projectile-vector{fill:none;stroke:#8a3f12;stroke-width:5;stroke-linecap:round}
.mps-fm-projectile-component{fill:none;stroke:#546a7b;stroke-width:3;stroke-dasharray:7 6}
.mps-fm-projectile-gravity{fill:none;stroke:#9b1c31;stroke-width:4;stroke-linecap:round}
.mps-fm-projectile-point{fill:#102a43;stroke:#fff;stroke-width:3}
.mps-fm-projectile-label{font:600 16px/1.25 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#102a43}
.mps-fm-projectile-caption{font:600 15px/1.25 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#334e68}
@media(max-width:480px){.mps-fm-projectile-label{font-size:15px}.mps-fm-projectile-caption{font-size:14px}}
@media print{.mps-further-projectile-svg{max-width:178mm;break-inside:avoid;page-break-inside:avoid}.mps-fm-projectile-panel{fill:#fff}.mps-fm-projectile-path,.mps-fm-projectile-vector,.mps-fm-projectile-gravity{stroke:#000}.mps-fm-projectile-component{stroke:#444}}

/* v6.21.0 — Further Mechanics: Equilibrium of a rigid body */
.mps-further-rigid-svg{display:block;width:100%;height:auto;max-width:760px;margin:1rem auto;background:#fff;border-radius:1rem;overflow:visible}
.mps-fm-rigid-panel{fill:#f8fbff;stroke:#b7c9e2;stroke-width:2}
.mps-fm-rigid-body,.mps-fm-rigid-ground,.mps-fm-rigid-axis{fill:none;stroke:#26384f;stroke-width:5;stroke-linecap:round}
.mps-fm-rigid-support{fill:#e8eef6;stroke:#26384f;stroke-width:3}
.mps-fm-rigid-pivot{fill:#102a43;stroke:#fff;stroke-width:3}
.mps-fm-rigid-force,.mps-fm-rigid-weight{fill:none;stroke:#9b1c31;stroke-width:5;stroke-linecap:round}
.mps-fm-rigid-reaction{fill:none;stroke:#205ea6;stroke-width:5;stroke-linecap:round}
.mps-fm-rigid-force-head,.mps-fm-rigid-weight-head{fill:#9b1c31}
.mps-fm-rigid-reaction-head{fill:#205ea6}
.mps-fm-rigid-shape{fill:#dbeafe;stroke:#205ea6;stroke-width:3}
.mps-fm-rigid-shape-alt{fill:#fef3c7;stroke:#8a5a12;stroke-width:3}
.mps-fm-rigid-guide{fill:none;stroke:#64748b;stroke-width:3;stroke-dasharray:8 7}
.mps-fm-rigid-label{font:600 16px/1.25 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#102a43}
.mps-fm-rigid-caption{font:600 15px/1.25 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;fill:#334e68}
@media(max-width:480px){.mps-fm-rigid-label{font-size:15px}.mps-fm-rigid-caption{font-size:14px}}
@media print{.mps-further-rigid-svg{max-width:178mm;break-inside:avoid;page-break-inside:avoid}.mps-fm-rigid-panel{fill:#fff}.mps-fm-rigid-body,.mps-fm-rigid-ground,.mps-fm-rigid-axis,.mps-fm-rigid-force,.mps-fm-rigid-weight,.mps-fm-rigid-reaction,.mps-fm-rigid-guide{stroke:#000}.mps-fm-rigid-shape,.mps-fm-rigid-shape-alt,.mps-fm-rigid-support{fill:#fff;stroke:#000}.mps-fm-rigid-force-head,.mps-fm-rigid-weight-head,.mps-fm-rigid-reaction-head,.mps-fm-rigid-pivot{fill:#000}}


/* v6.22.0 — Further Mechanics circular motion */
.mps-further-circular-svg{display:block;width:100%;height:auto;max-width:760px;margin:0 auto;overflow:visible}
.mps-fm-circular-panel{fill:#f7fbff;stroke:#244f70;stroke-width:2}
.mps-fm-circular-orbit{fill:none;stroke:#2b5f85;stroke-width:4}
.mps-fm-circular-particle{fill:#b7481c;stroke:#ffffff;stroke-width:3}
.mps-fm-circular-inward,.mps-fm-circular-tangent{fill:none;stroke:#b7481c;stroke-width:4;stroke-linecap:round}
.mps-fm-circular-tangent{stroke:#1f6f45}
.mps-fm-circular-head{fill:#b7481c}
.mps-fm-circular-label{font-size:18px;font-weight:700;fill:#173b57}
.mps-fm-circular-caption{font-size:16px;font-weight:600;fill:#29485f}
@media(max-width:390px){.mps-fm-circular-label{font-size:17px}.mps-fm-circular-caption{font-size:15px}}
@media print{.mps-further-circular-svg{max-width:100%;break-inside:avoid}.mps-fm-circular-panel{fill:#fff}.mps-fm-circular-label,.mps-fm-circular-caption{fill:#000}}


/* v6.23.0 — Further Mechanics: Hooke’s law */
.mps-further-hooke-svg{display:block;width:100%;height:auto;max-width:760px;margin:0 auto;overflow:visible}
.mps-fm-hooke-panel{fill:#f7fbff;stroke:#244f70;stroke-width:2}
.mps-fm-hooke-support{fill:none;stroke:#26384f;stroke-width:6;stroke-linecap:round}
.mps-fm-hooke-spring,.mps-fm-hooke-string{fill:none;stroke:#205ea6;stroke-width:5;stroke-linecap:round;stroke-linejoin:round}
.mps-fm-hooke-string{stroke:#7c3e9d}
.mps-fm-hooke-block{fill:#e4eef9;stroke:#244f70;stroke-width:3}
.mps-fm-hooke-mass{fill:#b7481c;stroke:#fff;stroke-width:3}
.mps-fm-hooke-anchor,.mps-fm-hooke-joint{fill:#26384f;stroke:#fff;stroke-width:2}
.mps-fm-hooke-incline{fill:#eef4fa;stroke:#26384f;stroke-width:3}
.mps-fm-hooke-motion{fill:none;stroke:#b7481c;stroke-width:4;stroke-linecap:round}
.mps-fm-hooke-arrow{fill:#b7481c}
.mps-fm-hooke-guide{fill:none;stroke:#64748b;stroke-width:2.5;stroke-dasharray:7 6}
.mps-fm-hooke-heading{font-size:21px;font-weight:800;fill:#173b57}
.mps-fm-hooke-label{font-size:17px;font-weight:700;fill:#173b57}
.mps-fm-hooke-caption{font-size:15px;font-weight:600;fill:#29485f}
@media(max-width:390px){.mps-fm-hooke-heading{font-size:18px}.mps-fm-hooke-label{font-size:15px}.mps-fm-hooke-caption{font-size:13px}}
@media print{.mps-further-hooke-svg{max-width:100%;break-inside:avoid;page-break-inside:avoid}.mps-fm-hooke-panel,.mps-fm-hooke-block,.mps-fm-hooke-incline{fill:#fff;stroke:#000}.mps-fm-hooke-support,.mps-fm-hooke-spring,.mps-fm-hooke-string,.mps-fm-hooke-motion,.mps-fm-hooke-guide{stroke:#000}.mps-fm-hooke-arrow,.mps-fm-hooke-mass,.mps-fm-hooke-anchor,.mps-fm-hooke-joint{fill:#000}.mps-fm-hooke-heading,.mps-fm-hooke-label,.mps-fm-hooke-caption{fill:#000}}


/* v6.24.0 — Further Mechanics: linear motion under a variable force */
.mps-further-variable-force-svg{display:block;width:100%;height:auto;max-width:760px;margin:0 auto;overflow:visible;background:#f8fbff;border-radius:18px}
.mps-fm-variable-panel{fill:#f8fbff;stroke:#244f73;stroke-width:3}
.mps-fm-variable-axis{stroke:#244f73;stroke-width:4;stroke-linecap:round}
.mps-fm-variable-axis-fill{fill:#244f73}
.mps-fm-variable-particle{fill:#e7f1fb;stroke:#244f73;stroke-width:3}
.mps-fm-variable-force{stroke:#b84f22;stroke-width:5;stroke-linecap:round}
.mps-fm-variable-force-fill{fill:#b84f22}
.mps-fm-variable-note{fill:#eef7ee;stroke:#3c8458;stroke-width:2.5}
.mps-fm-variable-heading{font:700 18px system-ui,-apple-system,"Segoe UI",sans-serif;fill:#173b59}
.mps-fm-variable-label{font:500 15px system-ui,-apple-system,"Segoe UI",sans-serif;fill:#20384d}
@media(max-width:430px){.mps-fm-variable-heading{font-size:16px}.mps-fm-variable-label{font-size:13px}}
@media print{.mps-further-variable-force-svg{max-width:170mm;break-inside:avoid}.mps-fm-variable-panel{fill:#fff}.mps-fm-variable-force,.mps-fm-variable-axis{stroke:#000}.mps-fm-variable-force-fill,.mps-fm-variable-axis-fill{fill:#000}}


/* v6.25.0 — Further Mechanics: momentum */
.mps-further-momentum-svg{display:block;width:100%;height:auto;max-width:760px;margin:0 auto;overflow:visible}
.mps-further-momentum-svg .mps-fm-momentum-panel{fill:#f8fbff;stroke:#244d70;stroke-width:3}
.mps-further-momentum-svg .mps-fm-momentum-ball{fill:#eef7ff;stroke:#1d4f73;stroke-width:4}
.mps-further-momentum-svg .mps-fm-momentum-ball.secondary{fill:#fff4e8;stroke:#8a4b18}
.mps-further-momentum-svg .mps-fm-momentum-wall{stroke:#334155;stroke-width:12;stroke-linecap:round}
.mps-further-momentum-svg .mps-fm-momentum-arrow,.mps-further-momentum-svg .mps-fm-momentum-tangent{stroke:#b44d20;stroke-width:5;stroke-linecap:round}
.mps-further-momentum-svg .mps-fm-momentum-arrow.secondary{stroke:#1d6a49}
.mps-further-momentum-svg .mps-fm-momentum-arrow.after{stroke:#1d6a49}
.mps-further-momentum-svg .mps-fm-momentum-head{fill:#b44d20}
.mps-further-momentum-svg .mps-fm-momentum-head.secondary,.mps-further-momentum-svg .mps-fm-momentum-head.after{fill:#1d6a49}
.mps-further-momentum-svg .mps-fm-momentum-normal{stroke:#64748b;stroke-width:3;stroke-dasharray:10 8}
.mps-further-momentum-svg .mps-fm-momentum-label{font-size:18px;fill:#17324a;font-weight:700}
.mps-further-momentum-svg .mps-fm-momentum-caption{font-size:17px;fill:#334155;font-weight:600}
@media(max-width:430px){.mps-further-momentum-svg .mps-fm-momentum-label{font-size:17px}.mps-further-momentum-svg .mps-fm-momentum-caption{font-size:16px}}
@media print{.mps-further-momentum-svg{break-inside:avoid;max-width:100%}.mps-further-momentum-svg .mps-fm-momentum-panel{fill:#fff}}


/* v6.26.0 — Further Probability & Statistics: continuous random variables */
.mps-fps41-svg{display:block;width:100%;max-width:760px;height:auto;margin:0 auto;overflow:visible;font-family:inherit}
.mps-fps41-panel{fill:#fff;stroke:#183153;stroke-width:3}
.mps-fps41-badge{font-size:17px;font-weight:800;fill:#183153;letter-spacing:.35px}
.mps-fps41-axis{stroke:#183153;stroke-width:3;stroke-linecap:round}
.mps-fps41-curve{fill:none;stroke:#126b63;stroke-width:6;stroke-linecap:round;stroke-linejoin:round}
.mps-fps41-card{fill:#eef6ff;stroke:#365f91;stroke-width:3}
.mps-fps41-arrow{fill:none;stroke:#126b63;stroke-width:5;stroke-linecap:round;stroke-linejoin:round}
.mps-fps41-heading{font-size:34px;font-weight:800;fill:#183153}
.mps-fps41-small{font-size:21px;font-weight:700;fill:#183153}
.mps-fps41-tick{font-size:17px;font-weight:700;fill:#183153}
.mps-fps41-caption-band{fill:#f1f6fb;stroke:#b8c8da;stroke-width:2}
.mps-fps41-caption{font-size:17px;font-weight:700;fill:#183153}
@media(max-width:420px){.mps-fps41-svg{max-width:100%}}
@media print{.mps-fps41-svg{max-width:100%;page-break-inside:avoid}.mps-fps41-panel,.mps-fps41-card,.mps-fps41-caption-band{fill:#fff!important}}

/* v6.27.0 — Further Probability & Statistics: inference using normal and t-distributions */
.mps-fps42-svg{display:block;width:100%;max-width:760px;height:auto;margin:0 auto;overflow:visible;font-family:inherit}
.mps-fps42-panel{fill:#fff;stroke:#183153;stroke-width:3}
.mps-fps42-sample{fill:#eef6ff;stroke:#365f91;stroke-width:3}
.mps-fps42-link,.mps-fps42-axis,.mps-fps42-limit,.mps-fps42-centre{fill:none;stroke:#183153;stroke-width:4;stroke-linecap:round}
.mps-fps42-link{stroke:#126b63;stroke-dasharray:10 8}
.mps-fps42-limit{stroke:#9b3f27}
.mps-fps42-centre{stroke:#64748b;stroke-dasharray:8 7}
.mps-fps42-curve{fill:none;stroke:#126b63;stroke-width:6;stroke-linecap:round}
.mps-fps42-estimate{fill:#9b3f27;stroke:#fff;stroke-width:3}
.mps-fps42-heading{font-size:22px;font-weight:800;fill:#183153}
.mps-fps42-caption{font-size:17px;font-weight:700;fill:#334e68}
@media(max-width:420px){.mps-fps42-svg{max-width:100%}.mps-fps42-heading{font-size:20px}.mps-fps42-caption{font-size:15px}}
@media print{.mps-fps42-svg{max-width:100%;page-break-inside:avoid}.mps-fps42-panel,.mps-fps42-sample{fill:#fff!important}.mps-fps42-link,.mps-fps42-axis,.mps-fps42-limit,.mps-fps42-centre,.mps-fps42-curve{stroke:#000}.mps-fps42-estimate{fill:#000}.mps-fps42-heading,.mps-fps42-caption{fill:#000}}

/* v6.28.0 — Further Probability & Statistics: chi-squared tests */
.mps-fps43-svg{display:block;width:100%;height:auto;max-width:760px;margin:0 auto;overflow:visible}
.mps-fps43-panel{fill:#f8fbff;stroke:#174a7e;stroke-width:3}
.mps-fps43-box,.mps-fps43-table{fill:#fff;stroke:#2e6ea5;stroke-width:3}
.mps-fps43-circle{fill:#eef6ff;stroke:#174a7e;stroke-width:3}
.mps-fps43-grid{stroke:#8aa9c4;stroke-width:2}
.mps-fps43-arrow{fill:none;stroke:#174a7e;stroke-width:4;stroke-linecap:round}
.mps-fps43-heading{font-size:20px;font-weight:700;fill:#17324d}
.mps-fps43-value{font-size:22px;font-weight:700;fill:#17324d}
.mps-fps43-caption{font-size:17px;fill:#35536f}
@media(max-width:430px){.mps-fps43-heading{font-size:18px}.mps-fps43-value{font-size:19px}.mps-fps43-caption{font-size:15px}}
@media print{.mps-fps43-svg{max-width:100%;page-break-inside:avoid}.mps-fps43-panel,.mps-fps43-box,.mps-fps43-table,.mps-fps43-circle{print-color-adjust:exact;-webkit-print-color-adjust:exact}}


/* v6.29.0 — Further Probability & Statistics: non-parametric tests */
.mps-fps44-svg{display:block;width:100%;height:auto;max-width:760px;margin:0 auto;overflow:visible;font-family:inherit}
.mps-fps44-panel{fill:#f8fbff;stroke:#174a7e;stroke-width:3}
.mps-fps44-card,.mps-fps44-table{fill:#fff;stroke:#2e6ea5;stroke-width:3}
.mps-fps44-circle{fill:#eef6ff;stroke:#174a7e;stroke-width:3}
.mps-fps44-grid{stroke:#8aa9c4;stroke-width:2}
.mps-fps44-arrow{fill:none;stroke:#174a7e;stroke-width:4;stroke-linecap:round}
.mps-fps44-heading{font-size:19px;font-weight:750;fill:#17324d}
.mps-fps44-value{font-size:21px;font-weight:800;fill:#17324d}
.mps-fps44-caption{font-size:17px;font-weight:600;fill:#35536f}
@media(max-width:430px){.mps-fps44-heading{font-size:17px}.mps-fps44-value{font-size:19px}.mps-fps44-caption{font-size:15px}}
@media print{.mps-fps44-svg{max-width:100%;page-break-inside:avoid;break-inside:avoid}.mps-fps44-panel,.mps-fps44-card,.mps-fps44-table,.mps-fps44-circle{fill:#fff!important}.mps-fps44-panel,.mps-fps44-card,.mps-fps44-table,.mps-fps44-circle,.mps-fps44-grid,.mps-fps44-arrow{stroke:#000!important}.mps-fps44-heading,.mps-fps44-value,.mps-fps44-caption{fill:#000!important}}


/* v6.30.0 — Further Probability & Statistics: probability generating functions */
.mps-fps45-svg{display:block;width:100%;height:auto;max-width:760px;margin:0 auto;overflow:visible}
.mps-fps45-panel{fill:#f8fafc;stroke:#0f172a;stroke-width:2}
.mps-fps45-card{fill:#ffffff;stroke:#2563eb;stroke-width:2}
.mps-fps45-target{fill:#fef3c7;stroke:#b45309;stroke-width:2}
.mps-fps45-band{fill:#ecfeff;stroke:#0e7490;stroke-width:2}
.mps-fps45-arrow{fill:none;stroke:#334155;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.mps-fps45-heading{font-size:18px;font-weight:800;fill:#0f172a;text-anchor:middle}
.mps-fps45-value{font-size:25px;font-weight:800;fill:#1d4ed8;text-anchor:middle}
.mps-fps45-caption{font-size:16px;font-weight:650;fill:#334155;text-anchor:middle}
@media(max-width:390px){.mps-fps45-heading{font-size:16px}.mps-fps45-value{font-size:22px}.mps-fps45-caption{font-size:14px}}
@media print{.mps-fps45-svg{break-inside:avoid;max-width:100%}.mps-fps45-panel,.mps-fps45-card,.mps-fps45-target,.mps-fps45-band{print-color-adjust:exact;-webkit-print-color-adjust:exact}}


/* v6.34.0 — AS Further Mathematics full-paper route guidance */
#mps-app .mps-exam-route-note{margin:0 0 12px;padding:9px 11px;border:1px solid #c7d7ee;border-radius:10px;background:#f4f8fd;color:#29466f;font-size:13px;line-height:1.45}
@media(max-width:390px){#mps-app .mps-exam-route-note{font-size:12px;padding:8px 9px}}
@media print{#mps-app .mps-exam-route-note{display:none!important}}


/* v6.34.0 — AS Further Mathematics route readiness and paper performance */
#mps-app .mps-further-readiness{margin-top:20px;padding:20px;border:1px solid #b9c9df;border-radius:22px;background:#f8fbff;box-shadow:0 10px 24px rgba(30,58,95,.08)}
#mps-app .mps-further-readiness[hidden]{display:none!important}
#mps-app .mps-further-readiness-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}
#mps-app .mps-further-readiness-head h3{margin:0 0 5px;color:#112f4f;font-size:1.2rem}
#mps-app .mps-further-readiness-head p{margin:0;color:#40566f}
#mps-app .mps-further-readiness-head>span{display:inline-flex;align-items:center;min-height:32px;padding:5px 11px;border-radius:999px;background:#e5effb;color:#173f68;font-weight:800;white-space:nowrap}
#mps-app .mps-further-readiness-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}
#mps-app .mps-further-readiness-summary article{min-width:0;padding:14px;border:1px solid #cad7e8;border-radius:16px;background:#fff}
#mps-app .mps-further-readiness-summary span,#mps-app .mps-further-readiness-summary small{display:block;color:#52677e}
#mps-app .mps-further-readiness-summary strong{display:block;margin:4px 0;color:#112f4f;font-size:1.25rem;overflow-wrap:anywhere}
#mps-app .mps-further-readiness-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:14px 0}
#mps-app .mps-further-readiness-card{min-width:0;padding:16px;border:2px solid #cad7e8;border-radius:18px;background:#fff}
#mps-app .mps-further-readiness-card.is-priority{border-color:#d97706;background:#fffaf0}
#mps-app .mps-further-readiness-card.is-secure{border-color:#15803d;background:#f2fbf5}
#mps-app .mps-further-readiness-card>div:first-child{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
#mps-app .mps-further-readiness-card span{font-weight:800;color:#173f68}
#mps-app .mps-further-readiness-card em{font-style:normal;font-size:.85rem;font-weight:750;color:#5a3b00;text-align:right}
#mps-app .mps-further-readiness-card>strong{display:block;margin:8px 0 4px;color:#112f4f;overflow-wrap:anywhere}
#mps-app .mps-further-readiness-card small,#mps-app .mps-further-readiness-card p{color:#52677e}
#mps-app .mps-further-readiness-meter{height:12px;margin:12px 0 8px;border-radius:999px;background:#dce6f2;overflow:hidden}
#mps-app .mps-further-readiness-meter span{display:block;height:100%;border-radius:inherit;background:#245c93}
#mps-app .mps-further-readiness-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#mps-app .mps-further-readiness-actions .mps-btn{min-height:44px}
@media(max-width:520px){#mps-app .mps-further-readiness{padding:16px}#mps-app .mps-further-readiness-head{display:block}#mps-app .mps-further-readiness-head>span{margin-top:10px}#mps-app .mps-further-readiness-summary,#mps-app .mps-further-readiness-list,#mps-app .mps-further-readiness-actions{grid-template-columns:1fr}}
@media print{#mps-app .mps-further-readiness{display:none!important}}

/* v6.34.0 — AS Further Mathematics route-aware targeted revision */
#mps-app .mps-further-targeted-revision{margin:18px 0 0;padding:16px;border:1px solid #b8cde4;border-radius:18px;background:#f3f8fe}
#mps-app .mps-further-targeted-revision-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:12px}
#mps-app .mps-further-targeted-revision-head h4{margin:0 0 4px;color:#173f68;font-size:19px;line-height:1.25}
#mps-app .mps-further-targeted-revision-head p{margin:0;color:#52677e}
#mps-app #mps-further-targeted-revision-badge{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:5px 11px;border-radius:999px;background:#dcecff;color:#173f68;font-weight:800;text-align:center}
#mps-app .mps-further-targeted-revision-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}
#mps-app .mps-further-targeted-revision-summary article{min-width:0;padding:12px;border:1px solid #cadced;border-radius:13px;background:#fff}
#mps-app .mps-further-targeted-revision-summary span,#mps-app .mps-further-targeted-revision-summary small{display:block;color:#5a6d82}
#mps-app .mps-further-targeted-revision-summary strong{display:block;margin:4px 0;color:#173f68;font-size:20px;overflow-wrap:anywhere}
#mps-app .mps-further-targeted-revision-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#mps-app .mps-further-targeted-revision-card{min-width:0;padding:14px;border:1px solid #cadced;border-radius:14px;background:#fff}
#mps-app .mps-further-targeted-revision-card>div{display:flex;justify-content:space-between;gap:10px;align-items:center}
#mps-app .mps-further-targeted-revision-card span{font-weight:800;color:#245c93}
#mps-app .mps-further-targeted-revision-card em{font-style:normal;font-size:12px;font-weight:800;color:#173f68;text-align:right}
#mps-app .mps-further-targeted-revision-card strong{display:block;margin:7px 0 4px;color:#17263d;overflow-wrap:anywhere}
#mps-app .mps-further-targeted-revision-card small,#mps-app .mps-further-targeted-revision-card p{display:block;margin:4px 0;color:#5a6d82}
#mps-app .mps-further-targeted-revision-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
#mps-app .mps-further-targeted-revision-actions .mps-btn{width:100%;min-height:44px}
@media(max-width:900px){#mps-app .mps-further-targeted-revision-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){#mps-app .mps-further-targeted-revision-head{display:block}#mps-app #mps-further-targeted-revision-badge{margin-top:10px}#mps-app .mps-further-targeted-revision-summary,#mps-app .mps-further-targeted-revision-list,#mps-app .mps-further-targeted-revision-actions{grid-template-columns:1fr}}
@media print{#mps-app .mps-further-targeted-revision{break-inside:avoid;background:#fff}#mps-app .mps-further-targeted-revision-actions{display:none!important}}


/* v6.34.0 — AS Further Mathematics adaptive revision cycle */
#mps-app .mps-further-revision-cycle{margin:18px 0 0;padding:16px;border:1px solid #b9d1c1;border-radius:18px;background:#f3fbf5}
#mps-app .mps-further-revision-cycle-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:12px}
#mps-app .mps-further-revision-cycle-head h4{margin:0 0 4px;color:#195a35;font-size:19px;line-height:1.25}
#mps-app .mps-further-revision-cycle-head p{margin:0;color:#52677e}
#mps-app #mps-further-revision-cycle-badge{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:5px 11px;border-radius:999px;background:#dff2e5;color:#195a35;font-weight:800;text-align:center}
#mps-app .mps-further-revision-cycle-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}
#mps-app .mps-further-revision-cycle-summary article{min-width:0;padding:12px;border:1px solid #c9dfcf;border-radius:13px;background:#fff}
#mps-app .mps-further-revision-cycle-summary span,#mps-app .mps-further-revision-cycle-summary small{display:block;color:#5a6d82}
#mps-app .mps-further-revision-cycle-summary strong{display:block;margin:4px 0;color:#195a35;font-size:20px;overflow-wrap:anywhere}
#mps-app .mps-further-revision-cycle-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#mps-app .mps-further-revision-cycle-card{min-width:0;padding:14px;border:1px solid #c9dfcf;border-radius:14px;background:#fff}
#mps-app .mps-further-revision-cycle-card.is-next{border-color:#d97706;background:#fffaf0}
#mps-app .mps-further-revision-cycle-card.is-complete{border-color:#15803d;background:#f2fbf5}
#mps-app .mps-further-revision-cycle-card>div{display:flex;justify-content:space-between;gap:10px;align-items:center}
#mps-app .mps-further-revision-cycle-card span{font-weight:800;color:#195a35}
#mps-app .mps-further-revision-cycle-card em{font-style:normal;font-size:12px;font-weight:800;color:#173f68;text-align:right}
#mps-app .mps-further-revision-cycle-card strong{display:block;margin:7px 0 4px;color:#17263d;overflow-wrap:anywhere}
#mps-app .mps-further-revision-cycle-card small,#mps-app .mps-further-revision-cycle-card p{display:block;margin:4px 0;color:#5a6d82}
#mps-app .mps-further-revision-cycle-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}
#mps-app .mps-further-revision-cycle-actions .mps-btn{width:100%;min-height:44px}
@media(max-width:900px){#mps-app .mps-further-revision-cycle-summary,#mps-app .mps-further-revision-cycle-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){#mps-app .mps-further-revision-cycle-head{display:block}#mps-app #mps-further-revision-cycle-badge{margin-top:10px}#mps-app .mps-further-revision-cycle-summary,#mps-app .mps-further-revision-cycle-list,#mps-app .mps-further-revision-cycle-actions{grid-template-columns:1fr}}
@media print{#mps-app .mps-further-revision-cycle{break-inside:avoid;background:#fff}#mps-app .mps-further-revision-cycle-actions{display:none!important}}


/* v6.35.0 — AS Further Mathematics mock-examination cycle */
#mps-app .mps-further-mock-cycle{margin:18px 0 0;padding:16px;border:1px solid #c7c4e8;border-radius:18px;background:#f8f7ff}
#mps-app .mps-further-mock-cycle-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:12px}
#mps-app .mps-further-mock-cycle-head h4{margin:0 0 4px;color:#40367f;font-size:19px;line-height:1.25}
#mps-app .mps-further-mock-cycle-head p{margin:0;color:#56667b}
#mps-app #mps-further-mock-cycle-badge{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:5px 11px;border-radius:999px;background:#e7e3ff;color:#40367f;font-weight:800;text-align:center}
#mps-app .mps-further-mock-cycle-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}
#mps-app .mps-further-mock-cycle-summary article{min-width:0;padding:12px;border:1px solid #d5d2ee;border-radius:13px;background:#fff}
#mps-app .mps-further-mock-cycle-summary span,#mps-app .mps-further-mock-cycle-summary small{display:block;color:#5a6d82}
#mps-app .mps-further-mock-cycle-summary strong{display:block;margin:4px 0;color:#40367f;font-size:20px;overflow-wrap:anywhere}
#mps-app .mps-further-mock-cycle-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#mps-app .mps-further-mock-cycle-card{min-width:0;padding:14px;border:1px solid #d5d2ee;border-radius:14px;background:#fff}
#mps-app .mps-further-mock-cycle-card.is-next{border-color:#d97706;background:#fffaf0;box-shadow:0 0 0 2px rgba(217,119,6,.08)}
#mps-app .mps-further-mock-cycle-card.is-complete{border-color:#15803d;background:#f2fbf5}
#mps-app .mps-further-mock-cycle-card>div{display:flex;justify-content:space-between;gap:10px;align-items:center}
#mps-app .mps-further-mock-cycle-card span{font-weight:800;color:#40367f}
#mps-app .mps-further-mock-cycle-card em{font-style:normal;font-size:12px;font-weight:800;color:#173f68;text-align:right}
#mps-app .mps-further-mock-cycle-card strong{display:block;margin:7px 0 4px;color:#17263d;overflow-wrap:anywhere}
#mps-app .mps-further-mock-cycle-card small,#mps-app .mps-further-mock-cycle-card p,#mps-app .mps-further-mock-cycle-card b{display:block;margin:4px 0;color:#5d6d7e}
#mps-app .mps-further-mock-cycle-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}
#mps-app .mps-further-mock-cycle-actions .mps-btn{width:100%;min-height:44px}
@media(max-width:900px){#mps-app .mps-further-mock-cycle-summary,#mps-app .mps-further-mock-cycle-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){#mps-app .mps-further-mock-cycle-head{display:block}#mps-app #mps-further-mock-cycle-badge{margin-top:10px}#mps-app .mps-further-mock-cycle-summary,#mps-app .mps-further-mock-cycle-list,#mps-app .mps-further-mock-cycle-actions{grid-template-columns:1fr}}
@media print{#mps-app .mps-further-mock-cycle{break-inside:avoid;background:#fff}#mps-app .mps-further-mock-cycle-actions{display:none!important}}


/* v6.36.0 — AS Further Mathematics mock review and recovery */
#mps-app .mps-further-mock-review{margin:18px 0 0;padding:16px;border:1px solid #bed8d7;border-radius:18px;background:#f3fbfa}
#mps-app .mps-further-mock-review-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:12px}
#mps-app .mps-further-mock-review-head h4{margin:0 0 4px;color:#135e5a;font-size:19px;line-height:1.25}
#mps-app .mps-further-mock-review-head p{margin:0;color:#56667b}
#mps-app #mps-further-mock-review-badge{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:5px 11px;border-radius:999px;background:#d8f1ef;color:#135e5a;font-weight:800;text-align:center}
#mps-app .mps-further-mock-review-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}
#mps-app .mps-further-mock-review-summary article{min-width:0;padding:12px;border:1px solid #c9e3e1;border-radius:13px;background:#fff}
#mps-app .mps-further-mock-review-summary span,#mps-app .mps-further-mock-review-summary small{display:block;color:#5a6d82}
#mps-app .mps-further-mock-review-summary strong{display:block;margin:4px 0;color:#135e5a;font-size:20px;overflow-wrap:anywhere}
#mps-app .mps-further-mock-review-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#mps-app .mps-further-mock-review-card{min-width:0;padding:14px;border:1px solid #c9e3e1;border-radius:14px;background:#fff}
#mps-app .mps-further-mock-review-card>div{display:flex;justify-content:space-between;gap:10px;align-items:center}
#mps-app .mps-further-mock-review-card span{font-weight:800;color:#135e5a}
#mps-app .mps-further-mock-review-card em{font-style:normal;font-size:12px;font-weight:800;color:#173f68;text-align:right}
#mps-app .mps-further-mock-review-card strong{display:block;margin:7px 0 4px;color:#17263d;overflow-wrap:anywhere}
#mps-app .mps-further-mock-review-card small{display:block;color:#5d6d7e}
#mps-app .mps-further-mock-review-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
#mps-app .mps-further-mock-review-actions .mps-btn{width:100%;min-height:44px}
@media(max-width:720px){#mps-app .mps-further-mock-review-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){#mps-app .mps-further-mock-review-head{display:block}#mps-app #mps-further-mock-review-badge{margin-top:10px}#mps-app .mps-further-mock-review-summary,#mps-app .mps-further-mock-review-list,#mps-app .mps-further-mock-review-actions{grid-template-columns:1fr}}
@media print{#mps-app .mps-further-mock-review{break-inside:avoid;background:#fff}#mps-app .mps-further-mock-review-actions{display:none!important}}


/* v6.44.0 — AS Further Mathematics recovery cycle and progression gate */
#mps-app .mps-further-recovery-cycle{margin:18px 0 0;padding:16px;border:1px solid #c7d2fe;border-radius:18px;background:#f7f8ff}
#mps-app .mps-further-recovery-cycle-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:12px}
#mps-app .mps-further-recovery-cycle-head h4{margin:0 0 4px;color:#3730a3;font-size:19px;line-height:1.25}
#mps-app .mps-further-recovery-cycle-head p{margin:0;color:#56667b}
#mps-app #mps-further-recovery-cycle-badge{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:5px 11px;border-radius:999px;background:#e0e7ff;color:#3730a3;font-weight:800;text-align:center}
#mps-app .mps-further-recovery-cycle-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}
#mps-app .mps-further-recovery-cycle-summary article{min-width:0;padding:12px;border:1px solid #d9def7;border-radius:13px;background:#fff}
#mps-app .mps-further-recovery-cycle-summary span,#mps-app .mps-further-recovery-cycle-summary small{display:block;color:#5a6d82}
#mps-app .mps-further-recovery-cycle-summary strong{display:block;margin:4px 0;color:#3730a3;font-size:19px;overflow-wrap:anywhere}
#mps-app .mps-further-recovery-cycle-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#mps-app .mps-further-recovery-cycle-card{min-width:0;padding:14px;border:1px solid #d9def7;border-radius:14px;background:#fff}
#mps-app .mps-further-recovery-cycle-card.is-next{border-color:#4f46e5;box-shadow:0 0 0 2px rgba(79,70,229,.12)}
#mps-app .mps-further-recovery-cycle-card.is-complete{background:#f0fdf4;border-color:#bbf7d0}
#mps-app .mps-further-recovery-cycle-card>div{display:flex;justify-content:space-between;gap:10px;align-items:center}
#mps-app .mps-further-recovery-cycle-card span{font-weight:800;color:#3730a3}
#mps-app .mps-further-recovery-cycle-card em{font-style:normal;font-size:12px;font-weight:800;color:#173f68;text-align:right}
#mps-app .mps-further-recovery-cycle-card strong{display:block;margin:7px 0 4px;color:#17263d;overflow-wrap:anywhere}
#mps-app .mps-further-recovery-cycle-card small,#mps-app .mps-further-recovery-cycle-card p,#mps-app .mps-further-recovery-cycle-card b{display:block;color:#5d6d7e;overflow-wrap:anywhere}
#mps-app .mps-further-recovery-cycle-card p{margin:7px 0}
#mps-app .mps-further-recovery-cycle-card b{color:#3730a3}
#mps-app .mps-further-recovery-cycle-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
#mps-app .mps-further-recovery-cycle-actions .mps-btn{width:100%;min-height:44px;white-space:normal}
@media(max-width:720px){#mps-app .mps-further-recovery-cycle-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){#mps-app .mps-further-recovery-cycle-head{display:block}#mps-app #mps-further-recovery-cycle-badge{margin-top:10px}#mps-app .mps-further-recovery-cycle-summary,#mps-app .mps-further-recovery-cycle-list,#mps-app .mps-further-recovery-cycle-actions{grid-template-columns:1fr}}
@media print{#mps-app .mps-further-recovery-cycle{break-inside:avoid;background:#fff}#mps-app .mps-further-recovery-cycle-actions{display:none!important}}

/* v6.44.0 — AS Further Mathematics qualification completion map */
#mps-app .mps-further-completion-map{margin:14px 0 18px;padding:16px;border:1px solid #b9c9df;border-radius:18px;background:#f1f7fe}
#mps-app .mps-further-completion-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:12px}
#mps-app .mps-further-completion-head h4{margin:0 0 4px;color:#112f4f;font-size:18px}
#mps-app .mps-further-completion-head p{margin:0;color:#52677e}
#mps-app #mps-further-completion-badge{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:5px 11px;border-radius:999px;background:#dceafb;color:#173f68;font-weight:800;text-align:center}
#mps-app .mps-further-completion-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}
#mps-app .mps-further-completion-summary article{min-width:0;padding:12px;border:1px solid #cad7e8;border-radius:13px;background:#fff}
#mps-app .mps-further-completion-summary span,#mps-app .mps-further-completion-summary small{display:block;color:#52677e}
#mps-app .mps-further-completion-summary strong{display:block;margin:4px 0;color:#112f4f;font-size:21px;overflow-wrap:anywhere}
#mps-app .mps-further-completion-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
#mps-app .mps-further-completion-card{min-width:0;padding:11px;border:1px solid #cad7e8;border-radius:13px;background:#fff}
#mps-app .mps-further-completion-card.is-planned{border-style:dashed;background:#f7f8fa}
#mps-app .mps-further-completion-card>div{display:flex;justify-content:space-between;gap:10px;align-items:center}
#mps-app .mps-further-completion-card span{font-weight:800;color:#245c93}
#mps-app .mps-further-completion-card em{font-style:normal;font-size:12px;font-weight:800;color:#245c63;text-align:right}
#mps-app .mps-further-completion-card.is-planned em{color:#6b7280}
#mps-app .mps-further-completion-card strong{display:block;margin:5px 0 3px;color:#17263d;overflow-wrap:anywhere}
#mps-app .mps-further-completion-card small{display:block;color:#52677e}
#mps-app .mps-further-completion-actions{display:grid;grid-template-columns:minmax(180px,auto) 1fr;align-items:center;gap:12px;margin-top:12px}
#mps-app .mps-further-completion-actions .mps-btn{min-height:44px}
@media(max-width:900px){#mps-app .mps-further-completion-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){#mps-app .mps-further-completion-head{display:block}#mps-app #mps-further-completion-badge{margin-top:9px}#mps-app .mps-further-completion-summary,#mps-app .mps-further-completion-list,#mps-app .mps-further-completion-actions{grid-template-columns:1fr}}
@media print{#mps-app .mps-further-completion-map{break-inside:auto;background:#fff;box-shadow:none}#mps-app .mps-further-completion-actions{display:none!important}#mps-app .mps-further-completion-card{break-inside:avoid}}


/* v6.44.0 — Further Pure Mathematics 2.1 hyperbolic functions */
.mps-fpm21-svg{display:block;width:100%;height:auto;max-width:760px;margin:12px auto;background:#fff;color:#172554}
.mps-fpm21-panel{fill:#f8fbff;stroke:#b8c8e8;stroke-width:2}
.mps-fpm21-card{fill:#fff;stroke:#7994c5;stroke-width:2}
.mps-fpm21-arrow{fill:none;stroke:#315b9d;stroke-width:3;marker-end:none}
.mps-fpm21-heading{fill:#172554;font-weight:750}
.mps-fpm21-caption{fill:#315b6b;font-weight:650}
.mps-fpm21-note{fill:#334155;font-weight:650}
@media (max-width:390px){.mps-fpm21-svg{max-width:100%;overflow:visible}}
@media print{.mps-fpm21-svg{break-inside:avoid;page-break-inside:avoid;max-width:180mm}}


/* v6.44.0 — Further Pure Mathematics 2.2 matrices */
.mps-fpm22-svg{display:block;width:100%;max-width:760px;height:auto;margin:14px auto;overflow:visible}
.mps-fpm22-svg .mps-fpm22-panel{fill:#f8fafc;stroke:#1e3a5f;stroke-width:3}
.mps-fpm22-svg .mps-fpm22-card{fill:#fff;stroke:#7794b5;stroke-width:2}
.mps-fpm22-svg .mps-fpm22-heading{font-size:21px;font-weight:800;fill:#112f4f}
.mps-fpm22-svg .mps-fpm22-caption{font-size:15px;font-weight:700;fill:#314c67}
.mps-fpm22-svg .mps-fpm22-note{font-size:15px;font-weight:650;fill:#243b53}
.mps-fpm22-svg .mps-fpm22-arrow{fill:none;stroke:#334e68;stroke-width:3;stroke-linecap:round}
@media(max-width:420px){.mps-fpm22-svg{min-width:0}.mps-fpm22-svg .mps-fpm22-heading{font-size:17px}.mps-fpm22-svg .mps-fpm22-caption,.mps-fpm22-svg .mps-fpm22-note{font-size:12px}}
@media print{.mps-fpm22-svg{max-width:180mm;break-inside:avoid;page-break-inside:avoid}.mps-fpm22-svg .mps-fpm22-panel,.mps-fpm22-svg .mps-fpm22-card{fill:#fff!important;stroke:#000!important}.mps-fpm22-svg .mps-fpm22-arrow{stroke:#000!important}}


/* v6.44.0 — Further Pure Mathematics 2.3 differentiation */
.mps-fpm23-svg{display:block;width:100%;height:auto;max-width:760px;margin:0 auto;overflow:visible}
.mps-fpm23-panel{fill:#f8fbff;stroke:#9fb7d9;stroke-width:2}
.mps-fpm23-card{fill:#fff;stroke:#264f7d;stroke-width:2}
.mps-fpm23-arrow{fill:none;stroke:#264f7d;stroke-width:3;stroke-linecap:round}
.mps-fpm23-heading{font-size:18px;font-weight:800;fill:#153b66;text-anchor:middle;dominant-baseline:middle}
.mps-fpm23-caption{font-size:14px;font-weight:650;fill:#405872;text-anchor:middle;dominant-baseline:middle}
.mps-fpm23-note{font-size:15px;font-weight:700;fill:#26384d;text-anchor:middle;dominant-baseline:middle}
@media (max-width:390px){.mps-fpm23-heading{font-size:17px}.mps-fpm23-caption,.mps-fpm23-note{font-size:14px}}
@media print{.mps-fpm23-svg{max-width:178mm;break-inside:avoid}.mps-fpm23-panel,.mps-fpm23-card{fill:#fff;stroke:#333}}


/* v6.44.0 — Further Pure Mathematics 2.4 integration */
.mps-fpm24-svg{display:block;width:100%;height:auto;max-width:760px;margin:0 auto;overflow:visible}
.mps-fpm24-panel{fill:#f8fbff;stroke:#9fb7d9;stroke-width:2}
.mps-fpm24-card{fill:#fff;stroke:#264f7d;stroke-width:2}
.mps-fpm24-arrow{fill:none;stroke:#264f7d;stroke-width:3;stroke-linecap:round}
.mps-fpm24-heading{font-size:17px;font-weight:800;fill:#153b66;text-anchor:middle;dominant-baseline:middle}
.mps-fpm24-caption{font-size:13px;font-weight:650;fill:#405872;text-anchor:middle;dominant-baseline:middle}
.mps-fpm24-note{font-size:15px;font-weight:700;fill:#26384d;text-anchor:middle;dominant-baseline:middle}
@media (max-width:390px){.mps-fpm24-heading{font-size:16px}.mps-fpm24-caption{font-size:12px}.mps-fpm24-note{font-size:13px}}
@media print{.mps-fpm24-svg{max-width:178mm;break-inside:avoid}.mps-fpm24-panel,.mps-fpm24-card{fill:#fff;stroke:#333}}


/* v6.44.0 — Further Pure Mathematics 2.5 complex-number visuals */
.mps-fpm25-svg{display:block;width:100%;height:auto;max-width:760px;margin:0 auto;overflow:visible}
.mps-fpm25-panel{fill:#f8fbff;stroke:#9fb7d9;stroke-width:2}
.mps-fpm25-card{fill:#fff;stroke:#264f7d;stroke-width:2}
.mps-fpm25-argand,.mps-fpm25-roots{fill:#fff;stroke:#8da8c8;stroke-width:2}
.mps-fpm25-axis{stroke:#61758c;stroke-width:2;stroke-linecap:round}
.mps-fpm25-vector{fill:none;stroke:#264f7d;stroke-width:4;stroke-linecap:round}
.mps-fpm25-arrowhead,.mps-fpm25-root{fill:#264f7d}
.mps-fpm25-heading{font-size:17px;font-weight:800;fill:#153b66;text-anchor:middle;dominant-baseline:middle}
.mps-fpm25-caption{font-size:13px;font-weight:650;fill:#405872;text-anchor:middle;dominant-baseline:middle}
@media (max-width:390px){.mps-fpm25-heading{font-size:16px}.mps-fpm25-caption{font-size:12px}}
@media print{.mps-fpm25-svg{max-width:178mm;break-inside:avoid}.mps-fpm25-panel,.mps-fpm25-card,.mps-fpm25-argand,.mps-fpm25-roots{fill:#fff;stroke:#333}.mps-fpm25-axis,.mps-fpm25-vector{stroke:#333}.mps-fpm25-arrowhead,.mps-fpm25-root{fill:#333}}


/* v6.44.0 — Further Pure Mathematics 2.6 differential-equation visuals */
.mps-fpm26-svg{display:block;width:100%;height:auto;max-width:760px;margin:0 auto;overflow:visible}
.mps-fpm26-panel{fill:#f8fbff;stroke:#91a9c8;stroke-width:2}
.mps-fpm26-card{fill:#fff;stroke:#264f7d;stroke-width:2}
.mps-fpm26-heading{font-size:18px;font-weight:800;fill:#153b66;text-anchor:middle;dominant-baseline:middle}
.mps-fpm26-caption{font-size:13px;font-weight:650;fill:#405872;text-anchor:middle;dominant-baseline:middle}
.mps-fpm26-note{font-size:15px;font-weight:750;fill:#26384d;text-anchor:middle;dominant-baseline:middle}
@media (max-width:390px){.mps-fpm26-heading{font-size:16px}.mps-fpm26-caption{font-size:12px}.mps-fpm26-note{font-size:13px}}
@media print{.mps-fpm26-svg{max-width:178mm;break-inside:avoid}.mps-fpm26-panel,.mps-fpm26-card{fill:#fff;stroke:#333}}


/* v6.51.0 — retained Stability Check history and regression comparison */
#mps-app .mps-stability-history-audit{min-width:0;overflow:hidden}
#mps-app .mps-stability-history-audit .mps-engine-coverage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#mps-app .mps-stability-history-audit .mps-engine-coverage-grid article{min-width:0;overflow-wrap:anywhere}
#mps-app .mps-stability-history-audit .mps-engine-coverage-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#mps-app .mps-stability-history-audit .mps-btn{min-height:44px;white-space:normal}
#mps-app .mps-stability-history-list{min-width:0;overflow:hidden}
#mps-app .mps-stability-history-item p{overflow-wrap:anywhere}
@media(max-width:520px){#mps-app .mps-stability-history-audit .mps-engine-coverage-actions,#mps-app .mps-stability-history-audit .mps-engine-coverage-grid{grid-template-columns:1fr}}
@media print{#mps-app .mps-stability-history-audit{display:none!important}}


/* v6.52.0 — exact deterministic Stability Check reproduction */
#mps-app .mps-stability-history-audit .mps-engine-coverage-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
#mps-app .mps-stability-history-audit .mps-engine-coverage-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
#mps-app .mps-stability-seed-form{display:grid;grid-template-columns:minmax(180px,.75fr) minmax(220px,1.25fr);gap:8px 12px;align-items:center;margin:12px 0;padding:12px;border:1px solid var(--mps-line,#d7dde8);border-radius:12px;min-width:0}
#mps-app .mps-stability-seed-form label{min-width:0}
#mps-app .mps-stability-seed-form input{width:100%;min-width:0;min-height:44px;box-sizing:border-box}
#mps-app .mps-stability-seed-form p{grid-column:1/-1;margin:0;overflow-wrap:anywhere}
#mps-app .mps-stability-history-item dl{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:760px){#mps-app .mps-stability-history-audit .mps-engine-coverage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#mps-app .mps-stability-history-item dl{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){#mps-app .mps-stability-history-audit .mps-engine-coverage-actions,#mps-app .mps-stability-history-audit .mps-engine-coverage-grid,#mps-app .mps-stability-seed-form{grid-template-columns:1fr}#mps-app .mps-stability-seed-form p{grid-column:1}}


/* v6.53.0 — Stability Check failed-group reproduction */
#mps-app .mps-stability-history-audit .mps-engine-coverage-actions{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
#mps-app .mps-stability-history-audit .mps-engine-coverage-actions .mps-btn{width:100%;min-height:44px;white-space:normal}
#mps-app .mps-stability-history-item dl{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:900px){#mps-app .mps-stability-history-audit .mps-engine-coverage-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){#mps-app .mps-stability-history-audit .mps-engine-coverage-actions,#mps-app .mps-stability-history-item dl{grid-template-columns:1fr}}

/* v6.57.0 — mobile, keyboard, touch and browser-lifecycle hardening */
#mps-app{overflow-wrap:anywhere;-webkit-tap-highlight-color:rgba(23,59,122,.14)}
#mps-app .mps-cube-scene{cursor:grab;user-select:none;-webkit-user-select:none;overscroll-behavior:contain;outline-offset:5px}
#mps-app .mps-cube-scene:active{cursor:grabbing}
#mps-app .mps-cube-scene:focus-visible{outline:4px solid #f59e0b;border-radius:14px}
#mps-app .mps-question-card,#mps-app .mps-panel,#mps-app .mps-report{scroll-margin-top:max(18px,env(safe-area-inset-top))}
#mps-app .mps-btn,#mps-app .mps-iconbtn,#mps-app .mps-dot{touch-action:manipulation}
@media(max-width:520px){#mps-app{padding-left:max(8px,env(safe-area-inset-left));padding-right:max(8px,env(safe-area-inset-right));padding-bottom:max(12px,env(safe-area-inset-bottom))}#mps-app textarea{font-size:16px}#mps-app .mps-cube-scene{max-width:100%}}


/* v6.58.0 — print, pagination and continuation-block hardening */
#mps-app .mps-print-continuation-block{break-inside:avoid-page;page-break-inside:avoid}
#mps-app .mps-print-mark-scheme-chunk{margin-top:4mm}
#mps-app .mps-print-mark-scheme-chunk:first-child{margin-top:0}
#mps-app .mps-print-response-grid.is-stacked{grid-template-columns:1fr}
#mps-app .mps-print-advice{margin:4mm 0;break-inside:avoid-page;page-break-inside:avoid}
#mps-app .mps-print-force-page{break-after:page;page-break-after:always}
#mps-app .mps-print-mark-scheme-chunk ol{margin:2mm 0 0;padding-left:7mm}
#mps-app .mps-print-mark-scheme-chunk li{margin-bottom:2mm}
@media print{
  #mps-app .mps-print-cover,
  #mps-app .mps-print-formula-page{break-after:page!important;page-break-after:always!important}
  #mps-app .mps-print-continuation-block,
  #mps-app .mps-print-advice,
  #mps-app .mps-print-reference{break-inside:avoid-page;page-break-inside:avoid}
  #mps-app .mps-print-response-grid.is-stacked{grid-template-columns:1fr!important}
  #mps-app .mps-print-marking-question{break-after:auto;page-break-after:auto}
  #mps-app .mps-print-working-space span{height:6.5mm}
}


/* v6.63.0 — SAT Mathematics response and formula-reference foundation */
#mps-app .mps-live-acceptance-audit .mps-engine-coverage-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#mps-app .mps-live-acceptance-audit .mps-engine-coverage-actions .mps-btn{width:100%;min-height:44px;white-space:normal}
#mps-app .mps-live-acceptance-manual{border:1px solid #cbd8e8;border-radius:14px;padding:14px;margin:16px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}
#mps-app .mps-live-acceptance-manual legend{font-weight:800;padding:0 8px;color:#18324f}
#mps-app .mps-live-acceptance-manual label{display:flex;gap:10px;align-items:flex-start;min-height:44px;padding:10px;border:1px solid #d8e2ef;border-radius:10px;background:#f8fbff;line-height:1.35;overflow-wrap:anywhere}
#mps-app .mps-live-acceptance-manual input{width:20px;height:20px;min-width:20px;margin-top:1px}
#mps-app .mps-live-acceptance-history-list{display:grid;gap:10px;margin:14px 0;min-width:0}
#mps-app .mps-live-acceptance-history-item{display:grid;gap:4px;border:1px solid #d8e2ef;border-radius:12px;padding:12px;background:#f8fbff;min-width:0}
#mps-app .mps-live-acceptance-history-item span,#mps-app .mps-live-acceptance-history-item small{overflow-wrap:anywhere}
@media(max-width:620px){#mps-app .mps-live-acceptance-audit .mps-engine-coverage-actions,#mps-app .mps-live-acceptance-manual{grid-template-columns:1fr}}
@media print{#mps-app .mps-live-acceptance-audit{display:none!important}}


/* v6.63.0 — SAT Mathematics response controls and independent formula reference. */
#mps-app .mps-sat-reference-tools{margin:14px 0 18px;border:1px solid #b9c8dc;border-radius:14px;background:#f7faff;overflow:hidden}
#mps-app .mps-sat-reference-tools summary{min-height:44px;display:flex;align-items:center;padding:10px 14px;cursor:pointer;font-weight:900;color:#173f68;background:#eaf2ff}
#mps-app .mps-sat-reference-tools[open] summary{border-bottom:1px solid #c8d6e8}
#mps-app .mps-sat-reference-tools>p{margin:12px 14px;color:#31465f;font-weight:700;line-height:1.5}
#mps-app .mps-sat-reference-sheet{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0 14px 14px}
#mps-app .mps-sat-reference-sheet>div{display:flex;flex-direction:column;gap:6px;min-width:0;padding:12px;border:1px solid #d5dfed;border-radius:12px;background:#fff;overflow-wrap:anywhere}
#mps-app .mps-sat-reference-sheet strong{color:#173f68}
#mps-app .mps-choice-response{min-width:0;margin:0;padding:0;border:0}
#mps-app .mps-choice-response legend{margin:0 0 8px;font-weight:800;color:#24364b}
#mps-app .mps-choice-options{display:grid;gap:10px}
#mps-app .mps-sat-choice{display:grid;grid-template-columns:auto 38px minmax(0,1fr);align-items:center;gap:10px;min-height:48px;padding:10px 12px;border:2px solid #cbd6e4;border-radius:13px;background:#fff;cursor:pointer;line-height:1.45}
#mps-app .mps-sat-choice:hover{border-color:#7195c8;background:#f7faff}
#mps-app .mps-sat-choice:has(input:checked){border-color:#245fa8;background:#eaf3ff;box-shadow:0 0 0 2px rgba(36,95,168,.13)}
#mps-app .mps-sat-choice input{width:20px;height:20px;margin:0;accent-color:#245fa8}
#mps-app .mps-sat-choice input:focus-visible{outline:3px solid #ffbf47;outline-offset:4px}
#mps-app .mps-sat-choice-letter{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#173f68;color:#fff;font-weight:900}
#mps-app .mps-sat-choice-text{min-width:0;font-size:16px;font-weight:750;overflow-wrap:anywhere}
#mps-app .mps-choice-hint,#mps-app .mps-spr-rules{margin:8px 2px 0;color:#526176;font-size:13px;font-weight:700;line-height:1.45}
#mps-app .mps-spr-rules{padding:8px 11px;border-left:4px solid #4f7fd3;border-radius:0 10px 10px 0;background:#f6f9fe}
@media (max-width:720px){#mps-app .mps-sat-reference-sheet{grid-template-columns:1fr}#mps-app .mps-sat-choice{grid-template-columns:auto 36px minmax(0,1fr);padding:10px}}
@media print{#mps-app .mps-sat-reference-tools{break-inside:avoid}#mps-app .mps-choice-response{break-inside:avoid}#mps-app .mps-sat-choice{box-shadow:none}}


/* v6.66.0 — theme-resistant touch targets and released SAT adaptive workflow. */
#mps-app .mps-btn,#mps-app .mps-iconbtn{
  box-sizing:border-box;
  min-height:44px!important;
  line-height:1.25;
}
#mps-app .mps-iconbtn{min-width:44px!important}
#mps-app .mps-sat-module-panel{margin:18px 0;padding:18px;border:2px solid #1d4f83;border-radius:18px;background:#f4f8ff;box-shadow:0 10px 26px rgba(19,52,87,.10)}
#mps-app .mps-sat-module-panel.mps-hidden{display:none!important}
#mps-app .mps-sat-module-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
#mps-app .mps-sat-module-head h2{margin:2px 0 0;color:#173f68;font-size:clamp(1.2rem,3vw,1.65rem)}
#mps-app .mps-sat-module-head>strong{display:inline-flex;align-items:center;min-height:44px;padding:8px 13px;border-radius:12px;background:#173f68;color:#fff;white-space:nowrap}
#mps-app .mps-sat-module-grid,#mps-app .mps-sat-report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 14px}
#mps-app .mps-sat-module-grid article,#mps-app .mps-sat-report-grid article{padding:14px;border:1px solid #b9c9dc;border-radius:14px;background:#fff;min-width:0}
#mps-app .mps-sat-module-grid span,#mps-app .mps-sat-report-grid span{display:block;color:#4b6077;font-size:.82rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
#mps-app .mps-sat-module-grid strong,#mps-app .mps-sat-report-grid strong{display:block;margin:5px 0;color:#173f68;font-size:1.05rem;overflow-wrap:anywhere}
#mps-app .mps-sat-module-grid small,#mps-app .mps-sat-report-grid small{display:block;color:#40556d;line-height:1.45}
#mps-app .mps-sat-report-panel{margin:16px 0 20px;padding:18px;border:2px solid #1d4f83;border-radius:18px;background:#f7faff}
#mps-app .mps-sat-report-panel h3{margin:0 0 8px;color:#173f68}
#mps-app .mps-sat-report-panel>p{margin:0 0 14px;line-height:1.55;color:#344a62}
#mps-app .mps-sat-domain-report{display:grid;gap:8px}
#mps-app .mps-sat-domain-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 12px;border-radius:12px;background:#fff;border:1px solid #ccd8e7}
#mps-app .mps-sat-domain-row span{font-weight:750;color:#27445f}
#mps-app .mps-sat-domain-row strong{color:#173f68}
#mps-app .mps-sat-development-label{display:inline-flex;margin-left:8px;padding:3px 7px;border-radius:999px;background:#e8edf4;color:#31465f;font-size:.75rem;font-style:normal;font-weight:800}
@media(max-width:640px){#mps-app .mps-sat-module-head{display:block}#mps-app .mps-sat-module-head>strong{margin-top:10px;width:max-content}#mps-app .mps-sat-module-grid,#mps-app .mps-sat-report-grid{grid-template-columns:1fr}}
@media print{#mps-app .mps-sat-report-panel{break-inside:avoid;box-shadow:none}#mps-app .mps-sat-module-panel{display:none!important}#mps-app .mps-sat-domain-row{break-inside:avoid}}


/* v6.66.0 — SAT mobile containment repair and GMAT Data Insights foundation. */
#mps-app #mps-question-card{
  width:100%;
  min-width:0;
  max-width:100%;
  overflow:hidden;
  box-sizing:border-box;
}
#mps-app #mps-question-card *,
#mps-app .mps-sat-module-panel *,
#mps-app .mps-gmat-di-panel *{box-sizing:border-box}
#mps-app #mps-question-card .mps-qhead{
  width:100%;
  min-width:0;
  max-width:100%;
}
#mps-app #mps-question-card .mps-qhead>div{
  flex:1 1 auto;
  min-width:0;
  max-width:100%;
}
#mps-app #mps-question-card .mps-qtitle,
#mps-app #mps-question-card .mps-qmeta,
#mps-app #mps-question-card .mps-qmark{
  min-width:0;
  max-width:100%;
  word-break:normal;
  overflow-wrap:break-word;
}
#mps-app #mps-question-card .mps-qmark{
  flex:0 1 44%;
  white-space:normal;
  text-align:right;
  line-height:1.35;
}
#mps-app #mps-question-card .mps-qbody,
#mps-app #mps-question-card .mps-answer-row,
#mps-app #mps-question-card .mps-answer-row>div,
#mps-app #mps-question-card .mps-choice-response,
#mps-app #mps-question-card .mps-choice-options,
#mps-app #mps-question-card .mps-sat-reference-tools,
#mps-app #mps-question-card #mps-visual-host{
  width:100%;
  min-width:0;
  max-width:100%;
}
#mps-app #mps-question-card .mps-prompt,
#mps-app #mps-question-card .mps-choice-hint,
#mps-app #mps-question-card .mps-answer-format-hint,
#mps-app #mps-question-card .mps-spr-rules{
  overflow-wrap:break-word;
  word-break:normal;
}
#mps-app .mps-sat-module-panel{
  width:100%;
  min-width:0;
  max-width:100%;
  overflow:hidden;
  box-sizing:border-box;
}
#mps-app .mps-sat-module-grid article,
#mps-app .mps-sat-module-grid article>*{
  min-width:0;
  max-width:100%;
  word-break:normal;
  overflow-wrap:break-word;
}
@media(max-width:720px){
  #mps-app #mps-question-card .mps-qhead{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    align-items:start;
    gap:10px;
  }
  #mps-app #mps-question-card .mps-qhead>div{
    width:100%;
  }
  #mps-app #mps-question-card .mps-qmark{
    width:100%;
    max-width:100%;
    padding:8px 10px;
    border:1px solid #f1b6ad;
    border-radius:10px;
    background:#fff7f5;
    text-align:left;
    white-space:normal;
  }
}
@media(max-width:390px){
  #mps-app #mps-question-card .mps-qhead{padding:14px}
  #mps-app #mps-question-card .mps-qbody{padding:16px 14px}
  #mps-app #mps-question-card .mps-qtitle{font-size:18px;line-height:1.35}
  #mps-app #mps-question-card .mps-qmeta{font-size:11px;line-height:1.45}
  #mps-app #mps-question-card .mps-qmark{font-size:13px}
  #mps-app .mps-sat-module-panel{padding:14px}
}

/* Hidden GMAT Data Insights interaction foundation. */
#mps-app .mps-gmat-di-panel{
  width:100%;
  min-width:0;
  max-width:100%;
  margin:18px 0;
  padding:18px;
  border:2px solid #4b5563;
  border-radius:18px;
  background:#f8fafc;
  box-shadow:0 10px 26px rgba(15,23,42,.09);
  overflow:hidden;
}
#mps-app .mps-gmat-di-panel.mps-hidden{display:none!important}
#mps-app .mps-gmat-di-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}
#mps-app .mps-gmat-di-head h2{margin:2px 0 0;font-size:clamp(1.2rem,3vw,1.65rem)}
#mps-app .mps-gmat-di-head>strong{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:8px 13px;
  border-radius:12px;
  background:#273548;
  color:#fff;
  white-space:nowrap;
}
#mps-app .mps-gmat-di-note{margin:12px 0;line-height:1.55}
#mps-app .mps-gmat-di-type-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin:12px 0 16px;
}
#mps-app .mps-gmat-di-type-grid span{
  display:flex;
  align-items:center;
  min-height:44px;
  min-width:0;
  padding:9px 11px;
  border:1px solid #cbd5e1;
  border-radius:12px;
  background:#fff;
  font-weight:800;
  overflow-wrap:break-word;
}
#mps-app .mps-gmat-di-workspace{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(240px,.42fr);
  gap:14px;
  align-items:start;
}
#mps-app .mps-gmat-source-panel,
#mps-app .mps-gmat-di-calculator,
#mps-app .mps-gmat-di-stimulus{
  min-width:0;
  max-width:100%;
  padding:14px;
  border:1px solid #cbd5e1;
  border-radius:14px;
  background:#fff;
}
#mps-app .mps-gmat-source-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:10px;
}
#mps-app .mps-gmat-source-tabs .mps-btn{
  flex:1 1 110px;
  min-width:0;
  min-height:44px;
  white-space:normal;
}
#mps-app .mps-gmat-source-tabs .is-active{box-shadow:inset 0 -4px 0 #1d4f83}
#mps-app .mps-gmat-source-panel article{
  min-width:0;
  min-height:100px;
  padding:12px;
  border-radius:10px;
  background:#f8fafc;
  line-height:1.55;
  overflow-wrap:break-word;
}
#mps-app .mps-gmat-di-calculator label{display:block;margin-bottom:7px;font-weight:900}
#mps-app .mps-gmat-di-calculator input{
  width:100%;
  min-width:0;
  min-height:48px;
  margin-bottom:8px;
  text-align:right;
  font-size:1.15rem;
  font-weight:800;
}
#mps-app .mps-gmat-calc-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(44px,1fr));
  gap:7px;
}
#mps-app .mps-gmat-calc-grid button{
  min-width:44px;
  min-height:44px;
  padding:7px;
  border:1px solid #9aa9ba;
  border-radius:10px;
  background:#fff;
  color:#172033;
  font:inherit;
  font-weight:900;
  cursor:pointer;
}
#mps-app .mps-gmat-calc-grid .mps-gmat-calc-equals{grid-column:1/-1}
#mps-app .mps-gmat-di-calculator p{margin:8px 0 0;font-size:.85rem}
#mps-app .mps-gmat-di-table-wrap,
#mps-app .mps-gmat-di-chart-wrap{
  width:100%;
  max-width:100%;
  overflow-x:auto;
}
#mps-app .mps-gmat-di-table{
  width:100%;
  min-width:520px;
  border-collapse:collapse;
}
#mps-app .mps-gmat-di-table th,
#mps-app .mps-gmat-di-table td{
  padding:9px 10px;
  border:1px solid #cbd5e1;
  text-align:left;
}
#mps-app .mps-gmat-di-table th button{
  width:100%;
  min-height:44px;
  padding:6px;
  border:0;
  background:transparent;
  color:inherit;
  text-align:left;
  font:inherit;
  font-weight:900;
  cursor:pointer;
}
#mps-app .mps-gmat-di-chart{
  display:block;
  width:100%;
  max-width:680px;
  height:auto;
  margin:auto;
}
#mps-app .mps-gmat-two-part{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
#mps-app .mps-gmat-two-part label{display:block;font-weight:900}
#mps-app .mps-gmat-two-part select{
  width:100%;
  min-height:44px;
  margin-top:6px;
}
@media(max-width:760px){
  #mps-app .mps-gmat-di-head{display:block}
  #mps-app .mps-gmat-di-head>strong{width:max-content;max-width:100%;margin-top:10px;white-space:normal}
  #mps-app .mps-gmat-di-type-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  #mps-app .mps-gmat-di-workspace{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:430px){
  #mps-app .mps-gmat-di-panel{padding:14px}
  #mps-app .mps-gmat-di-type-grid,
  #mps-app .mps-gmat-two-part{grid-template-columns:minmax(0,1fr)}
}
@media print{
  #mps-app .mps-gmat-di-panel{display:none!important}
  #mps-app .mps-gmat-di-table-wrap,
  #mps-app .mps-gmat-di-chart-wrap{overflow:visible}
  #mps-app .mps-gmat-di-table{min-width:0;table-layout:fixed}
}


/* Released GMAT Quantitative and Data Insights workflow. */
.mps-gmat-section-panel,.mps-gmat-break-panel,.mps-gmat-report-panel{background:#fff;border:1px solid #cbd5e1;border-radius:22px;box-shadow:0 12px 32px rgba(15,23,42,.08);padding:22px;min-width:0;max-width:100%;overflow-wrap:anywhere}
.mps-gmat-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px;min-width:0}
.mps-gmat-section-head>div{min-width:0}.mps-gmat-section-head h2{margin:0;line-height:1.2}.mps-gmat-section-head>strong{flex:0 0 auto;background:#e8f1fb;border-radius:999px;padding:10px 14px;color:#153b61}
.mps-gmat-section-grid,.mps-gmat-report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:16px 0}
.mps-gmat-section-grid article,.mps-gmat-report-grid article{border:1px solid #d8e2ec;border-radius:16px;padding:15px;display:flex;flex-direction:column;gap:5px;min-width:0}
.mps-gmat-section-grid span,.mps-gmat-report-grid span{font-size:.82rem;font-weight:800;text-transform:uppercase;letter-spacing:.035em;color:#52677d}
.mps-gmat-section-grid strong,.mps-gmat-report-grid strong{font-size:1.05rem;color:#172033}.mps-gmat-section-grid small,.mps-gmat-report-grid small{line-height:1.45;color:#52677d}
.mps-gmat-break-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px}.mps-gmat-break-panel>button{grid-column:1/-1}.mps-gmat-break-time{display:flex;flex-direction:column;align-items:center;background:#eff6ff;border-radius:16px;padding:14px 20px}.mps-gmat-break-time strong{font-size:1.55rem}
.mps-gmat-di-panel:not(.mps-hidden){display:block}.mps-gmat-di-panel .mps-gmat-source-panel{display:none}.mps-gmat-di-panel .mps-gmat-di-workspace{grid-template-columns:1fr}.mps-gmat-di-panel .mps-gmat-di-calculator{max-width:520px}
.mps-gmat-two-part{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.mps-gmat-two-part label{display:flex;flex-direction:column;gap:7px;font-weight:800}.mps-gmat-two-part select{min-height:48px;width:100%;max-width:100%}
.mps-gmat-domain-report{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.mps-gmat-domain-row{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #dbe4ed;padding:10px 0;min-width:0}.mps-gmat-domain-row span{min-width:0;overflow-wrap:anywhere}
#mps-question-card .mps-gmat-di-stimulus,#mps-question-card .mps-gmat-di-chart-wrap,#mps-question-card .mps-gmat-di-table-wrap{max-width:100%;min-width:0}.mps-gmat-di-chart{display:block;width:100%;height:auto;max-width:100%}
#mps-app[data-mps-gmat-phase="delivery"] #mps-prev{display:none}
#mps-app[data-mps-gmat-phase="review"] #mps-prev{display:inline-flex}
@media(max-width:640px){.mps-gmat-section-head{display:grid}.mps-gmat-section-head>strong{justify-self:start}.mps-gmat-section-grid,.mps-gmat-report-grid,.mps-gmat-domain-report,.mps-gmat-two-part{grid-template-columns:1fr}.mps-gmat-break-panel{grid-template-columns:1fr}.mps-gmat-break-time{align-items:flex-start}.mps-gmat-section-panel,.mps-gmat-break-panel,.mps-gmat-report-panel{padding:16px;border-radius:18px}}
@media print{.mps-gmat-section-panel,.mps-gmat-break-panel,.mps-gmat-di-panel{display:none!important}.mps-gmat-di-table-wrap{overflow:visible!important}.mps-gmat-di-chart{max-height:170mm}}


/* v6.76.0 — SAT and GMAT compact, rotation and print production hardening. */
#mps-app .mps-sat-module-panel,
#mps-app .mps-gmat-section-panel,
#mps-app .mps-gmat-break-panel,
#mps-app .mps-gmat-report-panel,
#mps-app .mps-gmat-di-panel{contain:inline-size;min-inline-size:0;max-inline-size:100%}
#mps-app .mps-gmat-source-tabs{max-width:100%;min-width:0}
#mps-app .mps-gmat-source-tabs .mps-btn{min-width:0;white-space:normal;overflow-wrap:anywhere}
#mps-app .mps-gmat-di-table-wrap,
#mps-app .mps-gmat-di-chart-wrap{overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable both-edges}
@media(max-width:420px){
  #mps-app .mps-gmat-source-tabs{display:grid;grid-template-columns:minmax(0,1fr)}
  #mps-app .mps-gmat-source-tabs .mps-btn{width:100%}
  #mps-app .mps-gmat-section-head>strong,#mps-app .mps-sat-module-head>strong{width:100%;justify-content:center}
  #mps-app .mps-gmat-break-panel{grid-template-columns:minmax(0,1fr)}
  #mps-app .mps-gmat-break-time{width:100%}
}
@media(max-height:500px) and (orientation:landscape){
  #mps-app .mps-sat-module-panel,#mps-app .mps-gmat-section-panel,#mps-app .mps-gmat-break-panel,#mps-app .mps-gmat-di-panel{padding:12px}
  #mps-app .mps-sat-module-grid,#mps-app .mps-gmat-section-grid{gap:8px;margin-block:8px}
  #mps-app .mps-gmat-di-type-grid{display:none}
}
@media print{
  #mps-app .mps-print-document .mps-print-module{break-before:page;page-break-before:always}
  #mps-app .mps-print-document .mps-print-question,
  #mps-app .mps-print-document .mps-print-marking-question,
  #mps-app .mps-print-document .mps-gmat-di-stimulus,
  #mps-app .mps-print-document table{break-inside:avoid-page;page-break-inside:avoid}
  #mps-app .mps-print-document .mps-gmat-di-table-wrap,
  #mps-app .mps-print-document .mps-gmat-di-chart-wrap{overflow:visible!important;max-width:100%!important}
  #mps-app .mps-print-document .mps-gmat-di-table{min-width:0!important;width:100%!important;table-layout:fixed}
}


/* v6.91.0 — self-contained Olympiad proof editor and provisional partial-credit assessment. */
#mps-app .mps-proof-response{min-width:0;border:1px solid #cbd5e1;border-radius:18px;background:#f8fafc;padding:18px;display:grid;gap:14px}
#mps-app .mps-proof-response[hidden]{display:none!important}
#mps-app .mps-proof-response-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}
#mps-app .mps-proof-response-head>div{display:grid;gap:4px}
#mps-app .mps-proof-response-head strong{font-size:1.15rem;color:#102c57}
#mps-app .mps-proof-response-head span{color:#526174}
#mps-app .mps-proof-provisional{display:inline-flex;align-items:center;min-height:32px;border-radius:999px;background:#fff7ed;border:1px solid #fb923c;color:#9a3412!important;padding:5px 10px;font-size:.82rem;font-weight:800}
#mps-app .mps-proof-response label{display:grid;gap:6px;font-weight:800;color:#24364b}
#mps-app .mps-proof-response textarea,#mps-app .mps-proof-response input,#mps-app .mps-proof-response select{width:100%;min-height:48px;border:1px solid #b8c5d6;border-radius:12px;background:#fff;color:#17243c;padding:10px 12px;font:inherit;box-sizing:border-box}
#mps-app .mps-proof-response textarea{resize:vertical;line-height:1.55}
#mps-app .mps-proof-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#mps-app .mps-proof-toolbar span{flex:1;min-width:220px;color:#526174}
#mps-app .mps-proof-steps{display:grid;gap:14px}
#mps-app .mps-proof-step{border:1px solid #cbd5e1;border-radius:16px;background:#fff;padding:14px;box-shadow:0 8px 24px rgba(15,45,82,.06)}
#mps-app .mps-proof-step-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
#mps-app .mps-proof-step-head strong{font-size:1.05rem;color:#102c57}
#mps-app .mps-proof-step-actions{display:flex;gap:8px;flex-wrap:wrap}
#mps-app .mps-proof-step-actions .mps-iconbtn{min-width:44px;min-height:44px;padding:8px 12px}
#mps-app .mps-proof-step-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
#mps-app .mps-proof-wide,#mps-app .mps-proof-dependencies{grid-column:1/-1}
#mps-app .mps-proof-dependencies{margin:0;padding:10px 12px;border:1px solid #d9e2ee;border-radius:12px;display:flex;gap:12px;flex-wrap:wrap}
#mps-app .mps-proof-dependencies legend{font-weight:800;color:#24364b;padding:0 4px}
#mps-app .mps-proof-dependencies label{display:flex;align-items:center;gap:6px;font-weight:700}
#mps-app .mps-proof-dependencies input{width:22px;min-height:22px;height:22px;padding:0}
#mps-app .mps-proof-assessment{border-left:5px solid #245fbd;border-radius:12px;background:#eef5ff;padding:14px}
#mps-app .mps-proof-assessment[hidden]{display:none!important}
#mps-app .mps-proof-assessment ul{margin:10px 0;padding-left:22px;display:grid;gap:7px}
#mps-app .mps-proof-assessment li.is-awarded{color:#166534}
#mps-app .mps-proof-assessment li.is-missing{color:#991b1b}
#mps-app .mps-proof-assessment li span{display:inline-flex;margin-left:6px;padding:2px 7px;border-radius:999px;background:#dbeafe;color:#1e3a8a;font-size:.78rem}
@media(max-width:720px){#mps-app .mps-proof-step-grid{grid-template-columns:1fr}#mps-app .mps-proof-step-actions{width:100%}#mps-app .mps-proof-step-actions .mps-iconbtn{flex:1}#mps-app .mps-proof-toolbar .mps-btn{width:100%}}
@media print{#mps-app .mps-proof-toolbar,#mps-app .mps-proof-step-actions{display:none!important}#mps-app .mps-proof-response,#mps-app .mps-proof-step,#mps-app .mps-proof-assessment{box-shadow:none;break-inside:avoid;background:#fff!important}#mps-app .mps-proof-response textarea,#mps-app .mps-proof-response input,#mps-app .mps-proof-response select{border-color:#777;background:#fff!important}}

/* v6.91.0 — Olympiad workflow diagnostics reuse the responsive four-card audit system. */
.mps-olympiad-workflow-audit .mps-engine-coverage-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
@media(max-width:720px){.mps-olympiad-workflow-audit .mps-engine-coverage-grid{grid-template-columns:1fr;}}


/* v6.91.0 Mathematical Olympiad public release and two-day contest simulation */
.mps-olympiad-intermission{border:2px solid #1f5aa6;background:linear-gradient(145deg,#f7fbff,#eef6ff)}
.mps-olympiad-intermission h2,.mps-olympiad-day-report h3{color:#163a68}
.mps-olympiad-day-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}
.mps-olympiad-day-grid article{border:1px solid #c9d9ec;border-radius:14px;background:#fff;padding:16px;min-width:0}
.mps-olympiad-day-grid span,.mps-olympiad-day-grid small{display:block;color:#56657a}
.mps-olympiad-day-grid strong{display:block;color:#163a68;font-size:1.35rem;margin-top:5px;overflow-wrap:anywhere}
.mps-olympiad-day-report{border:1px solid #c9d9ec;border-radius:16px;background:#f7fbff;padding:18px;margin:18px 0}
@media(max-width:560px){.mps-olympiad-day-grid{grid-template-columns:1fr}.mps-olympiad-intermission .mps-btn{min-height:48px}}
@media print{.mps-olympiad-day-report{break-inside:avoid}.mps-print-question-paper .mps-print-working-space[data-lines="18"]{min-height:340px}.mps-print-marking-pack .mps-print-marking-question{break-before:page}}

/* v9.8.0 Master’s readiness and targeted revision */
.mps-masters-readiness-report{margin:24px 0;padding:22px;border:1px solid var(--mps-border,#ccd5e0);border-radius:18px;background:var(--mps-surface,#fff)}
.mps-masters-readiness-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-wrap:wrap}
.mps-masters-readiness-head h3{margin:.2rem 0 .5rem}.mps-masters-readiness-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}
.mps-masters-readiness-grid article{min-width:0;padding:16px;border:1px solid var(--mps-border,#ccd5e0);border-radius:14px;overflow-wrap:anywhere}.mps-masters-readiness-grid article span,.mps-masters-readiness-grid article small{display:block}.mps-masters-readiness-grid article strong{display:block;font-size:1.55rem;margin:.25rem 0}.mps-masters-readiness-grid article p{margin:.5rem 0 0}.mps-masters-readiness-head .mps-btn{min-height:44px}
@media(max-width:620px){.mps-masters-readiness-grid{grid-template-columns:1fr}.mps-masters-readiness-head .mps-btn{width:100%}}
@media print{.mps-masters-readiness-head .mps-btn{display:none!important}.mps-masters-readiness-report{break-inside:avoid}}

/* v9.9.0 elite competition readiness */
.mps-v9090-readiness-panel{margin-top:1.25rem;padding:1rem;border:2px solid currentColor;border-radius:1rem;background:var(--mps-panel,#fff)}
.mps-v9090-readiness-head{display:flex;gap:1rem;align-items:flex-start;justify-content:space-between;flex-wrap:wrap}
.mps-v9090-readiness-head .mps-btn{min-height:44px}
.mps-v9090-readiness-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin-top:1rem}
.mps-v9090-readiness-card{min-width:0;padding:.85rem;border:1px solid currentColor;border-radius:.75rem;background:rgba(255,255,255,.7)}
.mps-v9090-readiness-card span,.mps-v9090-readiness-card small{display:block}
.mps-v9090-readiness-card strong{display:block;font-size:1.15rem;margin:.2rem 0}
.mps-v9090-readiness-card[data-band="secure"]{border-left-width:.45rem}
.mps-v9090-readiness-card[data-band="priority"]{border-left-width:.45rem}
@media(max-width:560px){.mps-v9090-readiness-grid{grid-template-columns:1fr}}

/* v10.1.0 — International Mathematics Competition for University Students */
#mps-imc-intermission{margin-block:1.25rem;border:2px solid currentColor;border-radius:1rem;padding:clamp(1rem,3vw,1.5rem)}
#mps-imc-intermission .mps-report-metrics{grid-template-columns:repeat(2,minmax(0,1fr));margin-block:1rem}
#mps-imc-start-day2{min-height:48px;width:100%;margin-top:.75rem}
.mps-imc-print .mps-print-disclaimer{font-size:.86rem;line-height:1.45;border:1px solid currentColor;padding:.65rem .8rem;border-radius:.4rem}
.mps-print-imc-day>h2{break-after:avoid-page;margin-bottom:1rem}
.mps-print-imc-day .mps-print-question{break-inside:avoid;page-break-inside:avoid;margin-bottom:1.25rem}
.mps-print-imc-day .mps-print-working-space{min-height:15.5cm}
.mps-imc-print .mps-print-question-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}
.mps-imc-print .mps-print-prompt{overflow-wrap:anywhere}
@media(max-width:520px){#mps-imc-intermission .mps-report-metrics{grid-template-columns:1fr}.mps-imc-print .mps-print-question-head{gap:.5rem}}
@media print{
  #mps-imc-intermission{display:none!important}
  .mps-imc-print{font-size:11pt;line-height:1.35}
  .mps-imc-print .mps-print-cover,.mps-imc-print .mps-print-imc-day,.mps-imc-print .mps-print-marking-question{page-break-before:always;break-before:page}
  .mps-imc-print .mps-print-cover:first-child{page-break-before:auto;break-before:auto}
  .mps-imc-print .mps-print-question-head,.mps-imc-print h2,.mps-imc-print h3{break-after:avoid-page;page-break-after:avoid}
  .mps-imc-print .mps-print-working-space span{display:block;min-height:.62cm;border-bottom:1px solid #777}
}


/* v11.0.1 — retained production accessibility and IMC A4 pagination hardening */
#mps-app[data-imc-accessibility-version="imc-accessibility-assurance-v1"] #mps-question-card[role="region"]:focus-within{scroll-margin-top:1rem}
#mps-app .mps-imc-production-print .mps-print-keep-heading{break-after:avoid-page;page-break-after:avoid;orphans:3;widows:3}
#mps-app .mps-imc-production-print p,#mps-app .mps-imc-production-print li{orphans:3;widows:3}
@media (prefers-contrast:more){#mps-app .mps-btn,#mps-app input,#mps-app select,#mps-app textarea,#mps-app .mps-card{border-width:2px}#mps-app .mps-qmark,#mps-app .mps-linked-badge{outline:2px solid currentColor}}
@media (forced-colors:active){#mps-app .mps-btn,#mps-app input,#mps-app select,#mps-app textarea,#mps-app .mps-card,#mps-app .mps-proof-response{forced-color-adjust:auto;border:2px solid ButtonText}#mps-app .mps-progress-fill{background:Highlight}#mps-app .mps-audit-status{border:1px solid currentColor}}
@media print{
  @page{size:A4;margin:14mm 12mm 16mm}
  #mps-app .mps-imc-production-print{font-size:10.5pt;line-height:1.36;color:#000;background:#fff;print-color-adjust:exact;-webkit-print-color-adjust:exact}
  #mps-app .mps-imc-production-print .mps-imc-print-page{break-before:page;page-break-before:always;break-inside:avoid-page;page-break-inside:avoid;min-height:245mm;box-sizing:border-box}
  #mps-app .mps-imc-production-print .mps-imc-print-page:first-of-type{break-before:auto;page-break-before:auto}
  #mps-app .mps-imc-production-print .mps-print-question-head{break-after:avoid-page;page-break-after:avoid}
  #mps-app .mps-imc-production-print .mps-print-working-space{min-height:150mm}
  #mps-app .mps-imc-production-print .mps-print-marking-question{min-height:auto;break-inside:auto;page-break-inside:auto}
  #mps-app .mps-imc-production-print svg,#mps-app .mps-imc-production-print table{max-width:100%;break-inside:avoid-page;page-break-inside:avoid}
}
