.fractions-module__BQ9d5a__page{--ink:#243e35;--muted:#59675f;--green:#285d46;color:#12243a;background:#fffdf8}.fractions-module__BQ9d5a__main{width:min(100%,780px);margin-inline:auto}.fractions-module__BQ9d5a__playground{min-width:0;color:var(--ink)}.fractions-module__BQ9d5a__titleRow{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;margin-bottom:18px;display:flex}.fractions-module__BQ9d5a__titleRow h1{color:#12243a;font-family:var(--font-heading);font-size:38px;font-weight:800;line-height:1.05}.fractions-module__BQ9d5a__progress{white-space:nowrap;color:#674b12;background:#fff2c9;border:1px solid #dec779;border-radius:9px;align-items:center;gap:5px;min-height:34px;padding:4px 8px;font-size:.875rem;display:inline-flex}.fractions-module__BQ9d5a__progress>span{color:#946b16;font-size:1.25rem;line-height:1}.fractions-module__BQ9d5a__progress strong{color:#674b12;font-size:1rem;font-weight:750}.fractions-module__BQ9d5a__scoreEarned{animation:.9s ease-out fractions-module__BQ9d5a__score-glow}@keyframes fractions-module__BQ9d5a__score-glow{0%,to{box-shadow:0 0 #d4a12900}35%{background:#ffe69a;box-shadow:0 0 0 6px #d4a12942}}.fractions-module__BQ9d5a__modeOptions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:16px;display:grid}.fractions-module__BQ9d5a__modeButton{border:3px solid var(--color-mh-ink);background:var(--color-mh-page);min-height:46px;color:var(--color-mh-ink);cursor:pointer;border-radius:999px;justify-content:center;align-items:center;gap:6px;padding:10px 8px;font-size:.875rem;font-weight:600;line-height:1.3;display:flex}.fractions-module__BQ9d5a__modeButton[aria-pressed=true]{background:var(--mh-fraction-difficulty-selected,var(--color-mh-yellow))}.fractions-module__BQ9d5a__modeCheck{flex-shrink:0;width:.875rem}.fractions-module__BQ9d5a__problemCard{background:var(--mh-fraction-card-background,var(--color-mh-cream));min-width:0;box-shadow:5px 5px 0 var(--mh-fraction-card-shadow,var(--color-mh-orange));border:3px solid #12243a;border-radius:22px;padding:10px 12px 16px;container-type:inline-size}.fractions-module__BQ9d5a__questionHeader{border-bottom:1px solid #edf0ea;justify-content:space-between;align-items:center;gap:8px;padding-bottom:8px;display:flex}.fractions-module__BQ9d5a__questionCaption{flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:.8125rem;line-height:1.4;display:flex}.fractions-module__BQ9d5a__questionCaption>span:first-child{font-weight:600}.fractions-module__BQ9d5a__difficulty{color:var(--muted)}.fractions-module__BQ9d5a__headerNext{min-width:68px;min-height:46px;color:var(--green);cursor:pointer;border-radius:8px;flex-shrink:0;padding:10px 8px;font-size:.875rem;font-weight:600}.fractions-module__BQ9d5a__headerNext span{padding-left:3px}.fractions-module__BQ9d5a__equation{justify-content:center;align-items:center;gap:clamp(10px,3vw,26px);padding:20px 0 22px;display:flex}.fractions-module__BQ9d5a__first{--fraction-colour:#b58623;color:var(--fraction-colour)}.fractions-module__BQ9d5a__second{--fraction-colour:#b54a44;color:var(--fraction-colour)}.fractions-module__BQ9d5a__answer{--fraction-colour:#1664ba;color:var(--fraction-colour)}.fractions-module__BQ9d5a__fraction{text-align:center;font-variant-numeric:tabular-nums;min-width:1.15em;text-shadow:none;-webkit-text-stroke:0;flex-direction:column;align-items:stretch;font-size:clamp(2rem,6vw,2.75rem);font-weight:700;line-height:1.04;display:inline-flex}.fractions-module__BQ9d5a__fractionBar{background:currentColor;border-radius:2px;height:2px;margin-block:5px}.fractions-module__BQ9d5a__fraction.fractions-module__BQ9d5a__compact{font-size:1.5rem}.fractions-module__BQ9d5a__compact .fractions-module__BQ9d5a__fractionBar{margin-block:3px}.fractions-module__BQ9d5a__operator{color:#6d7a70;font-size:1.875rem;font-weight:400}.fractions-module__BQ9d5a__questionMark{text-align:center;color:#1664ba;min-width:1.15em;font-size:2.75rem;font-weight:650}.fractions-module__BQ9d5a__helpControls{border-bottom:3px solid var(--color-mh-ink);grid-template-columns:repeat(auto-fit,minmax(min(100%,4.6rem),1fr));align-items:stretch;gap:4px;padding-top:3px;display:grid}.fractions-module__BQ9d5a__helpButton{border:3px solid var(--color-mh-ink);background:var(--color-mh-page);min-height:70px;color:var(--color-mh-ink);text-align:left;cursor:pointer;border-bottom:0;border-radius:9px 9px 0 0;flex-direction:column;gap:5px;padding:8px 6px 7px;font-size:.8125rem;font-weight:600;line-height:1.15;display:flex;position:relative}.fractions-module__BQ9d5a__helpIconRow{color:var(--color-mh-ink);justify-content:space-between;align-items:center;gap:4px;display:flex}.fractions-module__BQ9d5a__helpButton[aria-expanded=true]{background:var(--mh-fraction-help-open,var(--color-mh-page))}.fractions-module__BQ9d5a__helpButton[aria-expanded=true]:after{content:"";background:var(--mh-fraction-help-open,var(--color-mh-page));height:3px;position:absolute;bottom:-3px;left:0;right:0}.fractions-module__BQ9d5a__helpButton[aria-expanded=true] .fractions-module__BQ9d5a__chevron{transform:rotate(180deg)}.fractions-module__BQ9d5a__helpButton.fractions-module__BQ9d5a__suggestHint{box-shadow:inset 0 4px 0 var(--color-mh-yellow)}.fractions-module__BQ9d5a__helpPanel{background:var(--color-mh-page);color:var(--color-mh-ink);border:3px solid var(--color-mh-ink);border-top:0;border-radius:0 0 10px 10px;padding:14px 12px;font-size:.875rem;line-height:1.55}.fractions-module__BQ9d5a__helpPanel[hidden]{display:none}.fractions-module__BQ9d5a__helpPanel strong{font-weight:650}.fractions-module__BQ9d5a__helpPanel p+p,.fractions-module__BQ9d5a__helpPanel strong+p{margin-top:6px}.fractions-module__BQ9d5a__panelIntro{color:var(--muted)}.fractions-module__BQ9d5a__stripRow{margin-top:12px}.fractions-module__BQ9d5a__stripLabel{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px;display:flex}.fractions-module__BQ9d5a__stripLabel>span:first-child{color:var(--muted);font-size:.8125rem}.fractions-module__BQ9d5a__stripLabel>strong{background:#fff;border-radius:3px;padding:0 4px;font-size:1.25rem;font-weight:700}.fractions-module__BQ9d5a__conversion{background:#fff;border-radius:6px;align-items:center;gap:12px;padding:5px 8px;display:inline-flex}.fractions-module__BQ9d5a__conversion>span:nth-child(2){color:var(--muted);font-size:1.25rem}.fractions-module__BQ9d5a__strip{background:#fff;border:1px solid #647268;border-radius:5px;width:100%;height:32px;display:grid;overflow:hidden}.fractions-module__BQ9d5a__piece{border-left:1px solid #657367;min-width:0}.fractions-module__BQ9d5a__piece:first-child{border-left:0}.fractions-module__BQ9d5a__shaded{background:var(--fraction-colour)}.fractions-module__BQ9d5a__originalBoundary{border-left:2px solid #3c4f42}.fractions-module__BQ9d5a__textButton{text-align:left;text-underline-offset:4px;cursor:pointer;border-radius:5px;min-height:46px;padding-block:8px;font-weight:600;text-decoration:underline}.fractions-module__BQ9d5a__nextClue{border-top:1px solid #dce3d7;padding-top:8px}.fractions-module__BQ9d5a__confirmActions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.fractions-module__BQ9d5a__secondaryButton,.fractions-module__BQ9d5a__revealButton{cursor:pointer;border-radius:8px;min-height:46px;padding:10px 14px;font-size:.875rem;font-weight:600}.fractions-module__BQ9d5a__secondaryButton{background:#fff;border:1px solid #aebcad}.fractions-module__BQ9d5a__revealButton{color:#fff;background:#41644c;border:1px solid #41644c}.fractions-module__BQ9d5a__answerForm{margin-top:14px;container-type:inline-size}.fractions-module__BQ9d5a__answerHeading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;max-width:30rem;margin:0 auto 10px;display:flex}.fractions-module__BQ9d5a__answerHeading h2{font-size:1rem;font-weight:650;line-height:1.4}.fractions-module__BQ9d5a__answerHeading .fractions-module__BQ9d5a__progress{margin-left:auto}.fractions-module__BQ9d5a__answerBody{flex-wrap:wrap;justify-content:center;align-items:flex-start;gap:12px;max-width:30rem;margin-inline:auto;display:flex}.fractions-module__BQ9d5a__answerFields{flex:0 auto;grid-template-rows:auto .5rem auto;grid-template-columns:minmax(0,auto) 5.375rem;justify-content:center;align-items:center;column-gap:.5rem;max-width:100%;display:grid}.fractions-module__BQ9d5a__answerFields label{overflow-wrap:anywhere;color:var(--muted);font-size:.875rem;line-height:1.4}.fractions-module__BQ9d5a__answerFields input{border:3px solid var(--color-mh-ink);background:var(--color-mh-page);color:#1664ba;text-align:center;font-variant-numeric:tabular-nums;width:100%;min-width:0;height:3rem;min-height:46px;text-shadow:none;-webkit-text-stroke:0;border-radius:8px;font-size:1.75rem;font-weight:650}.fractions-module__BQ9d5a__answerFields input[aria-invalid=true]{border:2px solid #a74d2c}.fractions-module__BQ9d5a__answerBar{background:var(--color-mh-ink);border-radius:1px;grid-area:2/2;height:2px;margin-inline:-4px}.fractions-module__BQ9d5a__answerFields label[for=answer-denominator],.fractions-module__BQ9d5a__answerFields input:last-child{grid-row:3}.fractions-module__BQ9d5a__answerActions{flex:8rem;min-width:min(100%,8rem);max-width:15rem}.fractions-module__BQ9d5a__checkButton{background:var(--mh-fraction-action-background,var(--color-mh-vermilion));width:100%;min-height:48px;color:var(--mh-fraction-action-text,#fff);border:3px solid var(--color-mh-ink);box-shadow:4px 4px 0 var(--color-mh-ink);cursor:pointer;border-radius:999px;padding:12px 6px;font-size:1rem;font-weight:700;display:block}.fractions-module__BQ9d5a__checkButton:active{background:var(--mh-fraction-action-interactive,var(--color-mh-vermilion))}.fractions-module__BQ9d5a__checkButton span{margin-left:4px}.fractions-module__BQ9d5a__resultSpace{min-height:3rem;padding-top:6px}.fractions-module__BQ9d5a__feedback:empty{display:block}.fractions-module__BQ9d5a__feedback:not(:empty){border-radius:7px;align-items:flex-start;gap:5px;padding:5px 4px;font-size:.875rem;line-height:1.4;display:flex}.fractions-module__BQ9d5a__getHint{text-align:left;text-underline-offset:3px;cursor:pointer;border-radius:5px;min-width:46px;min-height:46px;padding:7px 3px;font-size:.875rem;font-weight:600;text-decoration:underline}.fractions-module__BQ9d5a__correct{color:#285d3e;background:#edf6ef}.fractions-module__BQ9d5a__incorrect,.fractions-module__BQ9d5a__invalid{color:#7a4327;background:#fff4e9}.fractions-module__BQ9d5a__revealed{color:#2d547e;background:#edf4fc}.fractions-module__BQ9d5a__feedbackIcon{flex:0 0 16px;justify-content:center;align-items:center;min-height:20px;font-size:1rem;font-weight:700;display:inline-flex}.fractions-module__BQ9d5a__page :is(button,a,input):focus-visible{outline-offset:3px;outline:3px solid #1664ba}.fractions-module__BQ9d5a__page .fractions-module__BQ9d5a__answerFields input:focus-visible{outline-color:var(--color-mh-ink)}@media (hover:hover){.fractions-module__BQ9d5a__modeButton:hover,.fractions-module__BQ9d5a__helpButton:hover,.fractions-module__BQ9d5a__checkButton:hover{text-underline-offset:4px;text-decoration:underline}.fractions-module__BQ9d5a__checkButton:hover{background:var(--mh-fraction-action-interactive,var(--color-mh-vermilion))}.fractions-module__BQ9d5a__headerNext:hover,.fractions-module__BQ9d5a__secondaryButton:hover{background:#edf3e9}.fractions-module__BQ9d5a__revealButton:hover{background:#234e3b}}@container (max-width:19rem){.fractions-module__BQ9d5a__helpControls{grid-template-columns:repeat(auto-fit,minmax(min(100%,7rem),1fr));gap:6px}.fractions-module__BQ9d5a__helpButton{border-bottom:3px solid var(--color-mh-ink);min-height:60px}.fractions-module__BQ9d5a__helpIconRow{position:absolute;top:8px;left:8px;right:8px}.fractions-module__BQ9d5a__helpButton>span:last-child{padding:20px 2px 0}}@media (min-width:640px){.fractions-module__BQ9d5a__titleRow h1{font-size:60px}.fractions-module__BQ9d5a__progress{font-size:.875rem}.fractions-module__BQ9d5a__modeOptions{grid-template-columns:repeat(4,minmax(0,1fr))}.fractions-module__BQ9d5a__problemCard{padding:12px 24px 22px}.fractions-module__BQ9d5a__questionCaption{gap:14px;font-size:.875rem}.fractions-module__BQ9d5a__difficulty{border-left:1px solid #d4ddd2;padding-left:14px}.fractions-module__BQ9d5a__equation{padding-block:24px}.fractions-module__BQ9d5a__helpButton{padding-inline:12px;font-size:.875rem}.fractions-module__BQ9d5a__helpPanel{padding:16px 20px}.fractions-module__BQ9d5a__answerBody{gap:20px}}@media (prefers-reduced-motion:reduce){.fractions-module__BQ9d5a__scoreEarned{animation:none}}
.math-sparkle-ribbons-module__A4Zjpq__overlay{z-index:100;pointer-events:none;visibility:hidden;contain:strict;width:100%;height:100%;position:fixed;inset:0;overflow:clip}.math-sparkle-ribbons-module__A4Zjpq__overlay[data-playing=true]{visibility:visible}.math-sparkle-ribbons-module__A4Zjpq__overlay svg{width:100%;height:100%;display:block;overflow:hidden}.math-sparkle-ribbons-module__A4Zjpq__particle{opacity:0;animation:math-sparkle-ribbons-module__A4Zjpq__travel var(--particle-duration) linear both;animation-delay:calc(var(--emerge) + var(--clock-offset,0s))}.math-sparkle-ribbons-module__A4Zjpq__ribbonTwist,.math-sparkle-ribbons-module__A4Zjpq__paperFlutter{transform-box:fill-box;transform-origin:50%;animation-duration:var(--particle-duration);animation-delay:calc(var(--emerge) + var(--clock-offset,0s));animation-timing-function:ease-in-out;animation-fill-mode:both}.math-sparkle-ribbons-module__A4Zjpq__ribbonTwist{animation-name:math-sparkle-ribbons-module__A4Zjpq__ribbon-twist}.math-sparkle-ribbons-module__A4Zjpq__paperFlutter{animation-name:math-sparkle-ribbons-module__A4Zjpq__paper-flutter}.math-sparkle-ribbons-module__A4Zjpq__ray{opacity:.45}@keyframes math-sparkle-ribbons-module__A4Zjpq__travel{0%{opacity:0;transform:translate(var(--start-x), var(--start-y)) rotate(var(--rotation)) scale(.72);animation-timing-function:cubic-bezier(.16,.65,.38,1)}14%{opacity:1;transform:translate(var(--launch-x), var(--launch-y)) rotate(var(--rotation)) scale(1);animation-timing-function:ease-out}38%{opacity:1;transform:translate(var(--peak-x), var(--peak-y)) rotate(var(--mid-turn)) scale(1);animation-timing-function:linear}70%{opacity:.95;transform:translate(var(--drift-x), var(--drift-y)) rotate(var(--end-turn)) scale(1);animation-timing-function:ease-in}to{opacity:0;transform:translate(var(--end-x), var(--end-y)) rotate(var(--end-turn)) scale(.94)}}@keyframes math-sparkle-ribbons-module__A4Zjpq__ribbon-twist{0%{transform:scaleX(.8)skewY(-8deg)}35%{transform:scaleX(1)skewY(5deg)}68%{transform:scaleX(.83)skewY(-5deg)}to{transform:scaleX(.96)skewY(3deg)}}@keyframes math-sparkle-ribbons-module__A4Zjpq__paper-flutter{0%{transform:scaleX(.55)rotate(-12deg)}30%{transform:scaleX(1)rotate(10deg)}60%{transform:scaleX(.4)rotate(-10deg)}to{transform:scaleX(.9)rotate(12deg)}}@media (prefers-reduced-motion:reduce){.math-sparkle-ribbons-module__A4Zjpq__overlay{display:none}.math-sparkle-ribbons-module__A4Zjpq__particle,.math-sparkle-ribbons-module__A4Zjpq__ribbonTwist,.math-sparkle-ribbons-module__A4Zjpq__paperFlutter{animation:none}}
