.fractions-module__BQ9d5a__page{--ink:#243e35;--muted:#59675f;--green:#285d46;min-height:100dvh;color:var(--ink);background:#f7f8f4}.fractions-module__BQ9d5a__header,.fractions-module__BQ9d5a__main{width:min(100%,780px);margin-inline:auto;padding-inline:16px}.fractions-module__BQ9d5a__header{justify-content:space-between;align-items:center;gap:16px;min-height:78px;padding-block:6px;display:flex}.fractions-module__BQ9d5a__brand{border-radius:5px;align-items:center;min-height:44px;display:inline-flex}.fractions-module__BQ9d5a__homeLink{min-height:44px;color:var(--muted);border-radius:7px;align-items:center;gap:7px;padding:10px 8px;font-size:.875rem;display:inline-flex}.fractions-module__BQ9d5a__main{padding-block:14px 32px}.fractions-module__BQ9d5a__playground{min-width:0}.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{letter-spacing:-.04em;font-size:1.375rem;font-weight:700;line-height:1.3}.fractions-module__BQ9d5a__progress{white-space:nowrap;color:var(--muted);align-items:center;gap:4px;font-size:.8125rem;display:inline-flex}.fractions-module__BQ9d5a__progress>span{color:#946b16;margin-right:2px;font-size:1.125rem}.fractions-module__BQ9d5a__progress strong{color:var(--ink);font-weight:700}.fractions-module__BQ9d5a__modeOptions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:16px;display:grid}.fractions-module__BQ9d5a__modeButton{cursor:pointer;background:#fff;border:1px solid #ced8ce;border-radius:10px;justify-content:center;align-items:center;gap:6px;min-height:46px;padding:10px 8px;font-size:.875rem;font-weight:600;line-height:1.3;display:flex}.fractions-module__BQ9d5a__modeButton[aria-pressed=true]{background:#e8f1e8;border-color:#5d8269;box-shadow:inset 0 0 0 1px #5d8269}.fractions-module__BQ9d5a__modeCheck{flex-shrink:0;width:.875rem}.fractions-module__BQ9d5a__problemCard{background:#fff;border:1px solid #d9e0d7;border-radius:16px;min-width:0;padding:10px 12px 16px}.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:44px;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:1px solid #cdd8ce;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{text-align:left;cursor:pointer;background:#f3f6f0;border:1px solid #d1dbd1;border-bottom:0;border-radius:9px 9px 0 0;flex-direction:column;gap:5px;min-height:70px;padding:8px 6px 7px;font-size:.8125rem;font-weight:600;line-height:1.15;display:flex;position:relative}.fractions-module__BQ9d5a__helpIconRow{color:#61755f;justify-content:space-between;align-items:center;gap:4px;display:flex}.fractions-module__BQ9d5a__helpButton[aria-expanded=true]{background:#e7eee2;border-color:#9ab18c}.fractions-module__BQ9d5a__helpButton[aria-expanded=true]:after{content:"";background:#e7eee2;height:2px;position:absolute;bottom:-1px;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{background:#fbf1d7;border-color:#9a7828}.fractions-module__BQ9d5a__helpButton.fractions-module__BQ9d5a__suggestHint .fractions-module__BQ9d5a__helpIconRow{color:#816223}.fractions-module__BQ9d5a__helpPanel{background:#f6f8f2;border:1px solid #cdd8ce;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:44px;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:44px;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__answerReview{align-items:center;gap:18px;display:flex}.fractions-module__BQ9d5a__answerReview>.fractions-module__BQ9d5a__fraction{background:#fff;border-radius:5px;padding:5px 8px}.fractions-module__BQ9d5a__answerForm{margin-top:20px}.fractions-module__BQ9d5a__answerForm fieldset{border:0;min-width:0;margin:0;padding:0}.fractions-module__BQ9d5a__answerForm legend{text-align:center;width:100%;margin-bottom:12px;font-size:1rem;font-weight:650}.fractions-module__BQ9d5a__answerFields{grid-template-rows:auto .5rem auto;grid-template-columns:minmax(0,auto) 5.375rem;justify-content:center;align-items:center;column-gap:1.125rem;margin-bottom:18px;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{color:#1664ba;text-align:center;font-variant-numeric:tabular-nums;width:100%;min-width:0;height:3rem;min-height:44px;text-shadow:none;-webkit-text-stroke:0;background:#f6faff;border:1px solid #93b4d9;border-radius:8px;font-size:1.75rem;font-weight:650}.fractions-module__BQ9d5a__answerFields input[readonly]{background:#eef5fd;border-color:#b6cce4}.fractions-module__BQ9d5a__answerFields input[aria-invalid=true]{border:2px solid #a74d2c}.fractions-module__BQ9d5a__answerBar{background:#1664ba;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__checkButton{background:var(--green);color:#fff;border:1px solid var(--green);cursor:pointer;border-radius:10px;width:100%;min-height:48px;padding:12px 18px;font-size:1rem;font-weight:600;display:block}.fractions-module__BQ9d5a__checkButton span{margin-left:4px}.fractions-module__BQ9d5a__feedback:empty{display:block}.fractions-module__BQ9d5a__feedback:not(:empty){border-radius:9px;align-items:flex-start;gap:9px;margin-top:12px;padding:12px 10px;font-size:.875rem;line-height:1.5;display:flex}.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 22px;justify-content:center;align-items:center;min-height:22px;font-size:1.0625rem;font-weight:700;display:inline-flex;position:relative}.fractions-module__BQ9d5a__confetti{pointer-events:none;position:absolute;inset:-6px;overflow:hidden}.fractions-module__BQ9d5a__confetti i{background:var(--confetti-colour);width:4px;height:5px;animation:1s ease-out both fractions-module__BQ9d5a__confetti-burst;position:absolute;top:50%;left:50%}@keyframes fractions-module__BQ9d5a__confetti-burst{0%{opacity:0;transform:rotate(var(--angle)) translateY(0) rotate(0)}12%{opacity:1}85%{opacity:1}to{opacity:0;transform:rotate(var(--angle)) translateY(-17px) rotate(170deg)}}.fractions-module__BQ9d5a__page :is(button,a,input):focus-visible{outline-offset:3px;outline:3px solid #1664ba}@media (hover:hover){.fractions-module__BQ9d5a__modeButton:hover,.fractions-module__BQ9d5a__headerNext:hover,.fractions-module__BQ9d5a__homeLink:hover,.fractions-module__BQ9d5a__secondaryButton:hover{background:#edf3e9}.fractions-module__BQ9d5a__helpButton:hover{background:#e7eee2}.fractions-module__BQ9d5a__checkButton:hover,.fractions-module__BQ9d5a__revealButton:hover{background:#234e3b}}@media (max-width:359px){.fractions-module__BQ9d5a__helpControls{grid-template-columns:repeat(auto-fit,minmax(min(100%,7rem),1fr));gap:6px}.fractions-module__BQ9d5a__helpButton{border-bottom:1px solid #d1dbd1;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__header,.fractions-module__BQ9d5a__main{padding-inline:28px}.fractions-module__BQ9d5a__main{padding-top:22px}.fractions-module__BQ9d5a__titleRow h1{font-size:1.75rem}.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__answerForm{margin-top:24px}.fractions-module__BQ9d5a__checkButton,.fractions-module__BQ9d5a__feedback{max-width:380px;margin-inline:auto}}@media (prefers-reduced-motion:reduce){.fractions-module__BQ9d5a__confetti{display:none}.fractions-module__BQ9d5a__confetti i{animation:none}}
