body:has(.mb-app) .site-footer,body:has(.mb-app) .site-header{display:none}body:has(.mb-app) main{min-height:0}.mb-app{height:100dvh;width:100%;max-width:1440px;margin:auto;background:#f2f6f7;color:#17394a;display:flex;flex-direction:column;overflow:hidden;font-family:Arial,sans-serif}.mb-app button,.mb-primary,.mb-teacher button{min-height:44px;min-width:44px;border:1px solid #aec4ca;border-radius:8px;padding:8px 12px;background:white;color:#17394a;font:600 14px/1.25 Arial,sans-serif;cursor:pointer;text-align:center;touch-action:manipulation}.mb-app button:disabled,.mb-teacher button:disabled{opacity:.4;cursor:default}.mb-app button[aria-pressed=true],.mb-teacher button[aria-pressed=true]{background:#e2eff0;border-color:#18788a;box-shadow:inset 0 0 0 1px #18788a}.mb-app .mb-primary,.mb-teacher .mb-primary{background:#176977;color:white;border-color:#176977;display:inline-flex;align-items:center;justify-content:center;gap:6px;text-decoration:none}.mb-app input:not([type=range]),.mb-teacher input:not([type=checkbox]),.mb-teacher textarea{background:white;border:1px solid #a9bfc6;border-radius:7px;padding:8px;min-height:44px;min-width:0;width:100%;color:#17394a;font:20px/1.2 Arial,sans-serif}.mb-app input.active{outline:2px solid #248a9a;outline-offset:1px}.mb-app label,.mb-teacher label{display:block;font-size:12px;font-weight:600;line-height:1.4}.mb-app input[type=range]{width:100%;min-height:44px;accent-color:#176977;touch-action:pan-x}.mb-topbar{display:flex;gap:16px;align-items:center;justify-content:space-between;min-height:53px;padding:8px 18px;border-bottom:1px solid #d6e1e4;background:white;font-size:12px;flex-shrink:0}.mb-topbar strong{font-size:14px}.mb-topbar span{max-width:38%;overflow-wrap:anywhere}.mb-progress{display:flex;justify-content:space-between;gap:12px;padding:7px 18px;font-size:12px;color:#45606c;flex-shrink:0}.mb-panels{display:grid;grid-template-columns:45fr 55fr;gap:14px;padding:0 14px 14px;min-height:0;flex:1}.mb-question,.mb-visual{min-width:0;min-height:0;border:1px solid #d5e1e4;border-radius:12px;background:white;padding:12px;overflow:auto}.mb-question{display:flex;flex-direction:column}.mb-kicker{font-size:10px;letter-spacing:1.7px;font-weight:700;color:#248292;margin:0}.mb-question h1{font:500 clamp(20px,2.3vw,28px)/1.15 Georgia,serif;margin:0}.mb-prompt{font-size:14px;line-height:1.45;margin:0}.mb-question p{margin:0}.mb-question-equation{flex-shrink:0;max-width:100%;overflow-x:auto}.mb-question-equation .katex-display{margin:0;font-size:1.1em}.mb-fields{display:grid;flex-shrink:0}.mb-answer-value{display:flex;align-items:center;gap:5px;margin-top:4px}.mb-answer-value input{text-align:center}.mb-answer-value .math-inline{font-size:15px}.mb-rate-fields{display:grid;grid-template-columns:1fr;align-self:center;width:100%;gap:8px}.mb-rate-fields>label{display:grid;grid-template-columns:minmax(80px,1fr) 165px;column-gap:10px;align-items:center}.mb-rate-fields>label:first-child{border-bottom:2px solid #17394a;padding-bottom:8px}.mb-rate-fields .mb-field-title{grid-column:1/-1}.mb-rate-fields .mb-answer-value{grid-column:1;grid-row:2}.mb-rate-fields .mb-unit-buttons{grid-column:2;grid-row:2;margin-top:4px}.mb-unit-buttons{display:flex;gap:6px}.mb-unit-buttons button{flex:1;font-size:12px;min-height:44px}.mb-keypad{display:grid;flex-shrink:0}.mb-keypad button{font-size:19px;padding:6px}.mb-keypad button:nth-child(4n),.mb-keypad button:nth-last-child(2){font-size:13px}.mb-actions,.mb-direction{display:flex;gap:7px;flex-wrap:wrap;align-items:center;flex-shrink:0}.mb-check{align-self:stretch;flex-shrink:0}.mb-bottom-actions{display:flex;gap:10px;justify-content:space-between;margin-top:auto;padding-top:5px;flex-shrink:0}.mb-feedback{padding:9px 11px;background:#fff5e7;border:1px solid #ead5b4;border-radius:7px;font-size:13px;flex-shrink:0}.mb-feedback.success{background:#eaf6ef;border-color:#bad7c7;color:#205b3c}.mb-notes{padding:10px 12px;background:#fff8e8;border-left:3px solid #ba8a2d;border-radius:5px;font-size:13px;line-height:1.4;flex-shrink:0}.mb-notes p{margin:3px 0 0}.mb-small{font-size:11px;line-height:1.35;color:#536b77}.mb-choices{display:grid;grid-template-columns:1fr 1fr;gap:7px;flex-shrink:0}.mb-choices button{text-align:left;font-weight:500;font-size:13px;min-height:48px}.mb-slider-hours{display:flex;gap:4px;justify-content:space-between}.mb-slider-hours button{padding:6px;min-width:0;font-size:11px;flex:1}.mb-money-statement{font-weight:600;color:#176977;font-size:16px}.mb-movement{font-size:17px;font-weight:600}.mb-visual{display:flex;flex-direction:column;align-items:stretch;justify-content:center;background:#f9fcfd;overflow:hidden;position:relative}.mb-graph{width:100%;height:auto;min-height:0;max-height:100%;flex:0 1 auto;display:block;user-select:none;-webkit-user-select:none}.mb-graph-interactive{touch-action:none;overscroll-behavior:contain;-webkit-touch-callout:none;cursor:crosshair}.mb-graph-interactive:focus-visible{outline:2px solid #23879a;border-radius:7px}.mb-graph-caption{font-size:12px;text-align:center;margin:5px 0 0}.mb-equation-card{text-align:center;padding:20px;display:flex;flex-direction:column;gap:22px;justify-content:center;min-height:70%}.mb-equation-card>p{font-size:14px;color:#536b77}.mb-equation-card .katex{font-size:2em}.mb-equation-card .katex-display{overflow:visible;margin:0}.mb-parts{display:grid;grid-template-columns:1fr 1fr;gap:12px;line-height:1.5;font-size:14px}.mb-parts span{padding:15px;border-radius:9px;background:#e8f3f6}.mb-parts span:last-child{background:#fff3df}.mb-parts b{font-size:25px}.mb-point-highlight{transform-box:fill-box;transform-origin:center;animation:mb-point-pop .7s ease-out}.mb-drawn-line{stroke-dasharray:1000;stroke-dashoffset:1000;animation:mb-line-draw .7s ease-out forwards}@keyframes mb-point-pop{0%{opacity:.4;transform:scale(.5)}60%{transform:scale(1.15)}to{opacity:1;transform:scale(1)}}@keyframes mb-line-draw{to{stroke-dashoffset:0}}.mb-entry{height:auto;min-height:100dvh;max-width:900px;display:block;overflow:visible;padding:28px 40px}.mb-entry h1{font:500 clamp(30px,4vw,46px)/1.15 Georgia,serif;margin:18px 0}.mb-entry h1 span{color:#277e8d}.mb-entry>p{max-width:700px;font-size:15px;line-height:1.6;margin:12px 0}.mb-entry form{max-width:650px;margin:22px 0}.mb-entry label{font-size:15px}.mb-entry fieldset,.mb-teacher fieldset{border:0;margin:18px 0;padding:0}.mb-entry legend,.mb-teacher legend{font-weight:600;font-size:14px;margin-bottom:9px}.mb-hour-buttons{display:flex;flex-wrap:wrap;gap:9px}.mb-hour-buttons button{min-width:52px;min-height:48px;font-size:18px}.mb-resume{padding:16px;background:white;border:1px solid #c9dadd;border-radius:9px;margin:20px 0;max-width:700px}.mb-resume p{margin:8px 0}.mb-resume button{margin:4px 8px 0 0}.mb-local-note{font-size:12px;line-height:1.5;color:#536b77;margin:16px 0}.mb-teacher{max-width:850px;padding-block:28px}.mb-teacher h1{font-size:32px;margin:20px 0}.mb-teacher p{line-height:1.6;margin:16px 0}.mb-teacher label,.mb-teacher p{font-size:14px}.mb-teacher form>label{max-width:600px}.mb-teacher .mb-checkbox{display:flex;align-items:center;gap:10px;margin-bottom:12px}.mb-checkbox input{width:22px;height:22px;min-height:0}.mb-class-link{background:#edf4f5;padding:18px;border-radius:9px}.mb-class-link textarea{font-size:12px;min-height:100px;word-break:break-all;margin:10px 0}.mb-summary{height:auto;min-height:100dvh;max-width:1100px;padding:30px;display:block;overflow:visible}.mb-summary header{display:flex;justify-content:space-between;margin-bottom:25px}.mb-summary h1{font:500 40px Georgia,serif}.mb-summary h2{font-size:25px;margin:10px 0}.mb-summary p{margin:16px 0;line-height:1.5}.mb-skill-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:22px 0}.mb-skill-grid>div{padding:15px;background:white;border:1px solid #d2e0e4;border-radius:9px}.mb-skill-grid h3{font-size:16px}.mb-skill-grid p{font-size:13px}.mb-result-image{margin-top:24px}.mb-result-image img{display:block;width:100%;max-width:900px;height:auto;margin:18px auto}.mb-save-warning{font-size:12px;background:#fff3db;padding:6px;margin:0}.mb-game{max-width:440px;margin:auto;max-height:100%;overflow:auto;padding:5px}.mb-game-header{display:flex;justify-content:space-between;align-items:center;gap:10px}.mb-game-header h2{font-size:23px}.mb-game p{font-size:12px;margin:7px 0}.mb-game-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:10px;background:#a4b4b8;border-radius:9px;touch-action:none;user-select:none;margin:10px auto;max-width:360px}.mb-tile{aspect-ratio:1;display:grid;place-items:center;border-radius:6px;background:#dbe3e2;color:#24424f;font-size:clamp(19px,3vw,29px);font-weight:700;transition:background .12s ease}.mb-tile span{animation:mb-tile-in .15s ease-out}.tile-2{background:#f2eee2}.tile-4{background:#eee3c6}.tile-8{background:#e9bc85}.tile-16{background:#e6a56b}.tile-32{background:#e68558;color:white}.tile-64{background:#d5664f;color:white}.tile-1024,.tile-128,.tile-2048,.tile-256,.tile-512{background:#d8ad3c;color:white}@keyframes mb-tile-in{0%{transform:scale(.8);opacity:.6}to{transform:scale(1);opacity:1}}.mb-game-controls{display:flex;justify-content:center;gap:8px;margin:10px 0}.mb-game-controls button{font-size:23px;min-width:52px}@media(max-height:740px) and (min-width:741px){.mb-topbar{min-height:45px;padding-block:5px}.mb-progress{padding-block:4px}.mb-question{padding:10px;gap:6px}.mb-question h1{font-size:22px}.mb-prompt{font-size:13px}.mb-question-equation .katex-display{font-size:1em}.mb-question .mb-notes{font-size:12px;padding:8px}.mb-feedback{font-size:12px;padding:7px 9px}.mb-choices button{min-height:44px}.mb-question .mb-bottom-actions{padding-top:0}}@media(max-width:740px){.mb-app{height:auto;min-height:100dvh;overflow:visible}.mb-topbar{flex-wrap:wrap;gap:7px;padding:10px}.mb-topbar strong{order:3;width:100%;font-size:13px}.mb-topbar span{max-width:70%}.mb-progress{font-size:11px;padding:8px 10px}.mb-panels{display:flex;flex-direction:column;padding:0 8px 10px;gap:10px}.mb-question{overflow:visible;padding:15px;gap:12px}.mb-visual{min-height:340px;order:-1;padding:8px}.mb-graph{height:auto;max-height:400px}.mb-equation-card{gap:10px;min-height:250px}.mb-equation-card .katex{font-size:1.5em}.mb-skill-grid{grid-template-columns:1fr 1fr}.mb-summary{padding:20px}.mb-entry{padding:24px 20px}.mb-choices{grid-template-columns:1fr}.mb-teacher{padding:20px}.mb-teacher h1{font-size:26px}.mb-question-equation .katex-display{font-size:1em}}@media(prefers-reduced-motion:reduce){.mb-drawn-line{animation:none;stroke-dasharray:none;stroke-dashoffset:0}.mb-point-highlight,.mb-tile span{animation:none}}.mb-game-grid{position:relative}.mb-moving-tile{position:absolute;width:calc((100% - 44px)/4);aspect-ratio:1;animation:mb-slide-tile .16s ease-out;z-index:2;pointer-events:none}@keyframes mb-slide-tile{0%{transform:translate(0)}}@media(prefers-reduced-motion:reduce){.mb-moving-tile{animation:none}}.mb-topbar{position:relative;justify-content:center;min-height:88px;padding:5px 130px}.mb-topbar>a{position:absolute;left:16px;top:14px;font-size:12px}.mb-identity{text-align:center;display:flex;align-items:center;flex-direction:column;gap:0;min-width:0}.mb-topbar .mb-identity strong{font-size:14px;line-height:18px}.mb-student-name,.mb-topbar .mb-student-name{font:italic 600 34px/1.15 Georgia,Times New Roman,serif;letter-spacing:.3px;color:#183f57;text-align:center;margin:0;overflow-wrap:anywhere}.mb-topbar .mb-identity span{font-size:12px;max-width:none;line-height:16px}.mb-story-context{font-size:17px;line-height:1.35;text-align:center;padding:5px 22px;margin:0;background:#eaf2f5;border-bottom:1px solid #d3e0e5;flex-shrink:0}.mb-question{border-width:3px;padding:10px;gap:7px}.mb-question h1{font:700 24px/1.2 Arial,sans-serif}.mb-question h1>span{font-weight:700}.mb-question .mb-prompt{font-size:17px;line-height:1.4}.mb-question .mb-answered-question{font-size:16px;color:#245f43}.mb-pool-intro{display:flex;flex:1;flex-direction:column;justify-content:center;align-items:flex-start;gap:26px;padding:12px 8px}.mb-pool-intro h1{font-size:22px;line-height:1.4}.mb-pool-intro>p{font:500 25px/1.5 Georgia,serif;color:#17394a}.mb-pool-intro button{align-self:center;min-width:140px;font-size:20px}.mb-app input:not([type=range]),.mb-teacher input:not([type=checkbox]),.mb-teacher textarea{background:#fffdf5}.mb-answer-value{justify-content:flex-start;flex-shrink:0}.mb-answer-value input{width:128px;max-width:100%;flex:none;font-size:22px}.mb-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mb-fields label{font-size:14px}.mb-fields .mb-answer-value input{width:112px}.mb-unit-label{font-size:16px;white-space:nowrap}.mb-keypad{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}.mb-keypad button{min-height:44px;font-size:18px;padding:5px}.mb-keypad button[aria-label="Clear entry"],.mb-keypad button[aria-label="Next field"],.mb-keypad button[aria-label=Gallons],.mb-keypad button[aria-label=Hour]{font-size:12px}.mb-rate-layout{display:grid;grid-template-columns:100px minmax(85px,1fr) 114px;gap:10px;align-items:center;justify-items:center;margin:4px 0}.mb-rate-layout>strong{font-size:17px;line-height:1.4;text-align:center}.mb-narrow-fraction{display:flex;flex-direction:column;gap:7px;width:100px;text-align:center;position:relative;padding:0 6px;background:linear-gradient(#17394a,#17394a) 50%/100% 2px no-repeat}.mb-narrow-fraction .mb-answer-value{margin:0;justify-content:center}.mb-narrow-fraction .mb-answer-value input,.mb-narrow-fraction input{width:88px;font-size:22px;text-align:center;max-width:none;min-height:44px}.mb-unit-fraction{width:114px}.mb-unit-fraction input{width:102px;font-size:18px;padding:6px}.mb-inline-check{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.mb-inline-check label{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:13px}.mb-app .mb-inline-check>label>input{width:104px;font-size:18px;text-align:center}.mb-inline-check .mb-answer-value input{width:122px}.mb-inline-check>button{align-self:center;min-height:44px}.mb-staged-point,.mb-staged-rule{display:flex;flex-direction:column;gap:9px}.mb-slider-question,.mb-staged-point h2,.mb-staged-rule h2{font-size:20px;line-height:1.35;font-weight:700;margin:0}.mb-rule-confirmed{font-size:15px;color:#245f43;font-weight:600}.mb-feedback{font-size:17px;line-height:1.4;padding:10px 12px}.mb-feedback.success{font-size:20px;font-weight:700;border-width:2px;background:#e5f5e9;color:#176134}.mb-notes,.mb-question .mb-prompt.mb-writing,.mb-writing{font-size:18px!important;line-height:1.4;color:#2055bb;font-weight:600;background:#edf3ff;border-color:#2055bb}.mb-notes strong{font-size:19px}.mb-flash-correct{animation:mb-correct-border 1.8s linear}.mb-flash-wrong{animation:mb-wrong-border 1.8s linear}@keyframes mb-correct-border{0%,33.333%,66.666%{border-color:#1e9b50;box-shadow:inset 0 0 0 2px #1e9b5033}16.666%,50%,83.333%,to{border-color:#d5e1e4;box-shadow:none}}@keyframes mb-wrong-border{0%,33.333%,66.666%{border-color:#e6b52b;box-shadow:inset 0 0 0 2px #e6b52b44}16.666%,50%,83.333%,to{border-color:#d5e1e4;box-shadow:none}}.mb-y-intercept-word{animation:mb-intercept-flash 1.4s ease-in-out infinite}@keyframes mb-intercept-flash{0%,to{opacity:1}50%{opacity:.22}}.mb-summary>.mb-student-name{font-size:42px;margin:14px 0}@media(max-height:740px) and (min-width:741px){.mb-topbar{min-height:80px}.mb-topbar .mb-student-name{font-size:30px}.mb-story-context{font-size:15px}.mb-question h1{font-size:22px}.mb-question{gap:6px;padding:9px}.mb-feedback.success{font-size:18px}}@media(max-width:740px){.mb-topbar{padding:8px 12px;min-height:105px}.mb-topbar>a{position:static;align-self:flex-start}.mb-topbar .mb-identity strong{order:0;width:auto;font-size:12px}.mb-topbar .mb-student-name{font-size:30px}.mb-topbar .mb-identity span{max-width:none}.mb-story-context{font-size:15px;padding:9px 14px}.mb-pool-intro>p,.mb-question h1{font-size:23px}.mb-rate-layout{grid-template-columns:94px minmax(65px,1fr) 108px;gap:6px}.mb-keypad button{padding:4px;font-size:17px}.mb-unit-label{font-size:14px}.mb-identity{width:100%}}@media(prefers-reduced-motion:reduce){.mb-flash-correct{animation:none;border-color:#1e9b50}.mb-flash-wrong{animation:none;border-color:#e6b52b}.mb-y-intercept-word{animation:none}}.mb-app:has(.mb-story-context) .mb-question{gap:6px}.mb-question .mb-bold-question{font-size:22px;font-weight:700;line-height:1.3}.mb-keypad{grid-template-columns:repeat(4,minmax(0,1fr))}.mb-keypad button,.mb-keypad button:nth-child(4n),.mb-keypad button:nth-last-child(2){font-size:20px}.mb-keypad button[aria-label="Clear entry"],.mb-keypad button[aria-label="Fraction bar"],.mb-keypad button[aria-label="Next field"],.mb-keypad button[aria-label=Backspace],.mb-keypad button[aria-label=Gallons],.mb-keypad button[aria-label=Hour]{font-size:13px}.mb-rate-layout{display:flex;justify-content:center;margin:14px 0}.mb-labeled-rate{width:190px;padding:0 5px}.mb-labeled-rate .mb-answer-value{justify-content:flex-start;gap:12px}.mb-labeled-rate .mb-unit-label{font-size:18px}