@font-face{font-family:"KA Peach Sugar";src:url("/game-library/fonts/ka-peach-sugar.woff") format("woff");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"RY Simple Solver";src:url("/game-library/fonts/ry-simple-solver.woff") format("woff");font-weight:400;font-style:normal;font-display:swap}
body,body :is(p,div,span,label,small,strong,a,button,input,select,option,textarea,li,th,td,summary,legend){font-family:"RY Simple Solver","Trebuchet MS",Arial,sans-serif!important}
body{font-size:18px!important}
body :is(h1,h2,h3),body :is(h1,h2,h3) *{font-family:"KA Peach Sugar","Trebuchet MS",Arial,sans-serif!important;font-weight:400!important;letter-spacing:0!important}
button,input,select,textarea,.button{font-size:18px}
svg text{font-family:"RY Simple Solver","Trebuchet MS",Arial,sans-serif!important}
.prompt,.question-text,#prompt,#questionText{font-size:clamp(24px,2.3vw,30px)!important;line-height:1.5}
body :is(.equation,.expression,.math-expression){font-family:"RY Simple Solver","Trebuchet MS",Arial,sans-serif!important}
body:has(#gradeFolders){font-size:20px!important}
body :is(h1,h2,h3),body :is(h1,h2,h3) *{text-transform:uppercase}
body :is(.prompt,#prompt,#function,.equation,.expression,.math-expression,.question-text,#questionText),body :is(.prompt,#prompt,#function,.equation,.expression,.math-expression,.question-text,#questionText) *{text-transform:none!important}

body :is(.split,.layout,.question-layout,.question-layout>div,.split>div,.layout>section,.layout>aside){min-width:0}
body :is(.prompt,#prompt,.question,.question-text){max-width:100%;overflow-wrap:break-word}
body :is(.prompt,#prompt,.question,.choice) .math-expression{display:inline-block;max-width:100%;overflow-x:auto;overflow-y:hidden;vertical-align:middle;padding:3px 0}
body :is(.prompt,#prompt,.question,.choice) .coordinate-list{display:inline;white-space:normal}
body :is(.prompt,#prompt,.question,.choice) .coordinate{display:inline-block;white-space:nowrap}

/* One readable size for mathematical prose and data; superscripts remain proportional. */
body{--math-content-size:22px}
body :is(.question,#prompt,.prompt,.question-text,.hint-box,#hintBox,#hintText,.hint-text,.choice,.math-table,.notation-answer-preview){font-size:var(--math-content-size);line-height:1.6;max-width:100%;overflow-wrap:break-word}
body :is(.question,#prompt,.prompt,.hint-box,#hintBox,#hintText,.hint-text,.choice,.notation-answer-preview) .math-expression{font-size:inherit!important;line-height:inherit;max-width:100%;vertical-align:middle;overflow-x:auto;overflow-y:hidden}
body :is(.question,#prompt,.prompt,.hint-box,#hintBox,#hintText,.hint-text,.choice) :is(.frac,.stacked-fraction){font-size:1em}
body :is(.question,#prompt,.prompt,.figure,.hint-box,#hintBox,.math-table) table{font-size:var(--math-content-size);line-height:1.5;max-width:100%;display:block;overflow-x:auto;box-sizing:border-box}
body :is(.question,#prompt,.prompt,.figure,.hint-box,#hintBox,.math-table) :is(th,td,caption){font-size:var(--math-content-size)!important;line-height:1.5;box-sizing:border-box}
body :is(.question,#prompt,.prompt,.figure,.hint-box,#hintBox,.math-table) :is(th,td){padding:10px 12px;white-space:normal;overflow-wrap:normal}
body :is(.hint-box,#hintBox,#hintText,.hint-text){height:auto;min-width:0}
body :is(.question,#prompt,.prompt,.hint-box,#hintBox,#hintText,.hint-text) sup{font-size:.65em;line-height:0;vertical-align:super}
body :is(.question,#prompt,.prompt,.hint-box,#hintBox,#hintText,.hint-text,.choice) :is(p,span){font-size:inherit}
@media(max-width:650px){body{--math-content-size:20px}}
/* Assessment-style question layout: context → centered stimulus → clear question. */
body :is(.question,#prompt,.prompt,.question-text,.figure) table:not(.proof-table){display:table!important;width:auto!important;max-width:100%;margin:18px auto!important;border-collapse:collapse;border:2px solid #526777;table-layout:auto}
body :is(.question,#prompt,.prompt,.question-text,.figure) table:not(.proof-table) :is(th,td){border:2px solid #526777;text-align:center;min-width:64px;padding:10px 16px;vertical-align:middle}
body :is(.question,#prompt,.prompt,.question-text,.figure) table:not(.proof-table) th{background:#e9f0f7;font-weight:bold}
.question-intro{margin:0 0 14px!important;font-size:var(--math-content-size)!important;line-height:1.5!important;color:#31485b}.question-stimulus{display:block;width:100%;margin:14px auto 20px;text-align:center;min-width:0}.question-stimulus .equation{display:inline-block;max-width:100%;font-size:clamp(25px,3vw,34px)!important;line-height:1.5;padding:8px 10px;overflow-x:auto;white-space:nowrap}.question-stimulus svg{display:block;width:100%;max-width:420px;height:auto;margin:auto}.question-task{display:block;clear:both;margin:18px 0 12px!important;font-size:clamp(22px,2.3vw,27px)!important;font-weight:bold!important;line-height:1.5!important;color:#223b4d}.table-stimulus .table-scroll{max-width:100%;overflow-x:auto;padding:2px}.question-visual{width:100%;margin:0 auto}.question-visual>svg{display:block;margin:12px auto}.answer-instructions{font-size:17px!important;line-height:1.5!important;margin:18px 0 12px;padding:12px 14px;background:#edf3f8;border-left:4px solid #668ba0;border-radius:8px}.question :is(p,div){max-width:100%}
