.ps-body{height:calc(100vh - var(--header-h) - 100px);grid-template-rows:minmax(0,1fr) 92px;grid-template-columns:minmax(0,1fr) clamp(240px,24vw,310px) clamp(220px,20vw,270px);gap:12px 14px;min-height:540px;display:grid}.ps-graph{background:#fff;border-radius:24px;grid-area:1/1;place-items:center;min-height:0;padding:8px;display:grid;box-shadow:0 12px 32px #0b10261a;container-type:size}.ps-graph canvas{aspect-ratio:1;cursor:crosshair;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;width:min(100cqw,100cqh);height:auto;display:block}.ps-table{flex-direction:column;grid-area:1/2;min-height:0;display:flex}.ps-eq{text-align:center;background:#d8f2ff;padding:10px 8px 6px}.ps-eq p{margin:0;font-size:16px;font-weight:900}.ps-eq p span{color:#4d5671;margin-left:4px;font-size:13px;font-weight:700}.ps-eq b{color:#7b2cfb;font-size:clamp(30px,4.6vh,44px);line-height:1.15;display:block}.series-scroll{flex:1;min-height:0;padding:0 10px 8px;scroll-padding-top:34px;scroll-padding-bottom:8px;overflow-y:auto}.series-table{border-collapse:separate;border-spacing:0 3px;width:100%;font-weight:800}.series-table thead th{z-index:1;color:#7b2cfb;background:#fff;padding:8px 0 2px;font-size:15px;position:sticky;top:0}.series-table tbody th{background:#f4f7fb;border-radius:10px 0 0 10px;width:26%;padding:1px 6px;font-size:15px}.series-table td{background:#f4f7fb;padding:1px 4px}.series-table td:last-child{text-align:center;border-radius:0 10px 10px 0;width:34px}.y-input{box-sizing:border-box;width:100%;font:inherit;text-align:center;color:#0b1026;background:#fff;border:2px solid #d9deea;border-radius:8px;padding:2px 6px;font-size:15px}.y-input::placeholder{color:#8a92a8;opacity:1;font-weight:700}.y-input:focus{border-color:#0b1026;outline:3px solid #00e5d6}.y-input.wrong{color:#e4002b;background:#ffe9ee;border-color:#e4002b}.y-input:disabled{opacity:1;color:#0b1026;-webkit-text-fill-color:#0b1026;background:#fff}.ps-status{color:#fff;vertical-align:middle;border-radius:50%;place-items:center;width:22px;height:22px;font-size:13px;font-weight:900;display:inline-grid}.ps-status:empty{background:0 0}.ps-status[data-state=ok]{background:#1fb865}.ps-status[data-state=bad]{background:#f0134d}.ps-status[data-state=off]{background:#c4cad8}.series-table tbody tr:focus-within th,.series-table tbody tr:focus-within td{background:#c9f7f3;box-shadow:0 0 0 3px #00e5d6}.series-table tr.done th,.series-table tr.done td{background:#dff8ee}.series-table tr.current th,.series-table tr.current td{background:#ffe600;box-shadow:0 0 0 3px #ff0a8c}.series-table tr.stop th,.series-table tr.stop td{background:#ffe9ee}.ps-side{flex-direction:column;grid-area:1/3;gap:10px;min-height:0;display:flex}.ps-how{background:#fff6dc;border-radius:18px;padding:10px 14px;box-shadow:0 8px 20px #0b10260f}.ps-how-title{margin:0 0 4px;font-size:16px;font-weight:900}.ps-how ol{counter-reset:step;margin:0;padding:0;list-style:none}.ps-how li{counter-increment:step;align-items:center;gap:10px;padding:3px 0;font-size:13px;line-height:1.25;display:flex}.ps-how li:before{content:counter(step);color:#fff;background:#5a2be0;border-radius:50%;flex:none;place-items:center;width:24px;height:24px;font-size:13px;font-weight:900;display:grid}.ps-progress{padding:10px 14px}.ps-progress .pp-streak-head{font-size:16px}.ps-progress .pp-dots{gap:3px;margin:8px 0 6px}.ps-progress .pp-dot{min-width:0;max-width:24px;font-size:10px}.ps-progress .pp-bar{height:12px}.ps-progress .pp-streak-note{margin-top:6px;font-size:12.5px}.ps-actions{gap:8px;margin-top:auto;display:grid}.ps-actions button{cursor:pointer;border:0;border-radius:14px;justify-content:center;align-items:center;gap:10px;padding:12px;font-size:17px;font-weight:900;display:flex}.ps-start{color:#fff;background:#ff1a8c;box-shadow:0 4px #c40e69}.ps-start:disabled{opacity:.45;cursor:default;box-shadow:none}.ps-again{color:#0b1026;background:#c8f2ff;box-shadow:0 4px #9bd4e6}.ps-tip{background:#dbeaff;border-radius:16px;grid-area:2/1/3/3;align-self:center;align-items:center;gap:12px;margin:0;padding:12px 18px;font-size:15px;display:flex}.ps-tip-icon{font-size:26px}.ps-script{white-space:nowrap;text-align:center;color:#5b1fd6;flex:none;margin-left:auto;font:italic 700 18px/1 Brush Script MT,Segoe Script,cursive}.ps-cheer{background:linear-gradient(135deg,#e7dcff,#f3e9ff);border-radius:18px;grid-area:2/3;align-items:center;gap:12px;padding:8px 14px;display:flex;overflow:hidden;box-shadow:0 10px 26px #0b10261a}.ps-cheer[data-state=good]{background:linear-gradient(135deg,#d6f7e4,#eafcf1)}.ps-cheer[data-state=try]{background:linear-gradient(135deg,#ffe6d1,#fff1e6)}.ps-cheer[data-state=done]{background:linear-gradient(135deg,#ffe98a,#fff6c8)}.ps-cheer .pp-trophy{font-size:36px}.ps-cheer b{color:#6a1fe0;font-size:18px;display:block}.ps-cheer p{color:#3d4360;margin:2px 0 0;font-size:13px;line-height:1.25}.ps-msub,.ps-hint,.ps-mactions,.ps-mstart,.ps-cheer-icon{display:none}@media (width<=850px){body.plot-series-page{flex-direction:column;height:100dvh;display:flex}.plot-series-page .pp-titlebar{flex-wrap:wrap;padding-bottom:4px}.plot-series-page .pp-title{text-align:center;flex:100%;order:3;margin-top:4px;display:block}.plot-series-page .pp-title h1{margin:0;font-size:28px;line-height:1.1}#subtitle{display:none}.ps-msub{color:#4d5671;margin:2px 0 0;font-size:15px;display:block}.ps-msub b{color:#7b2cfb;font-size:32px;line-height:1.1;display:block}.ps-msub b[hidden]{display:none}.ps-body{flex-direction:column;flex:1;gap:8px;height:auto;min-height:0;display:flex}.ps-side{display:contents}.ps-how,.ps-actions,.ps-eq{display:none}.ps-hint{background:#fff6dc;border-radius:16px;flex:none;order:3;align-items:center;gap:12px;margin:0;padding:8px 14px;font-size:14px;line-height:1.3;display:flex}.ps-hint[data-state=try]{background:#ffe6d1}.ps-hint-icon{background:#ffe600;border-radius:50%;flex:none;place-items:center;width:34px;height:34px;font-size:18px;display:grid}.ps-body[data-phase=entry] .ps-hint{order:1}.ps-table{border-radius:16px;flex:1;order:2;min-height:0}.series-scroll{padding:0 10px 4px;scroll-padding-top:30px}.series-table{border-spacing:0 5px}.series-table thead th{padding:6px 0 2px;font-size:18px}.series-table thead th:last-child{visibility:hidden}.series-table tbody th{padding:2px 6px;font-size:19px}.series-table td{padding:2px 4px}.series-table td:last-child{width:40px}.y-input{border-radius:10px;padding:8px 6px;font-size:18px}.ps-status{width:28px;height:28px;font-size:16px}.ps-mstart{color:#fff;cursor:pointer;background:#ff1a8c;border:0;border-radius:14px;flex:none;justify-content:center;align-items:center;gap:10px;width:calc(100% - 20px);margin:4px 10px 10px;padding:13px;font-size:19px;font-weight:900;display:flex;box-shadow:0 4px #c40e69}.ps-tip{background:#e4e8ff;border-radius:16px;flex:none;order:3;margin:0;padding:8px 14px;font-size:14px;line-height:1.3}.ps-tip-icon{font-size:30px}.ps-script{display:none}.ps-progress{border-radius:16px;flex:none;order:4;padding:8px 14px}.ps-progress .pp-dots{gap:4px;margin:6px 0 0}.ps-progress .pp-dot{flex:1 1 0;max-width:30px;font-size:11px}#progTotal:after{content:" points"}.ps-cheer,.ps-cheer[data-state=good],.ps-cheer[data-state=done]{background:#d6f7e4}.ps-cheer{border-radius:16px;flex:none;order:1;gap:12px;padding:8px 14px}.ps-cheer[data-state=try]{background:#ffe6d1}.ps-cheer .pp-trophy{display:none}.ps-cheer-icon{background:#5a2be0;border-radius:50%;flex:none;place-items:center;width:46px;height:46px;font-size:24px;display:grid}.ps-cheer b{color:#0b1026;font-size:20px}.ps-cheer p{color:#0b1026;font-size:14px}.ps-graph{border-radius:16px;flex:1;order:2;min-height:170px;padding:4px}.ps-body[data-phase=entry] .ps-graph,.ps-body[data-phase=entry] .ps-cheer,.ps-body:not([data-phase=entry]) .ps-table,.ps-body:not([data-phase=entry]) .ps-tip{display:none}.ps-mstart,.ps-mactions{order:5}.ps-body[data-phase=entry] .ps-mstart{order:0}.ps-body:is([data-phase=review],[data-phase=done]) .ps-mactions{flex:none;grid-template-columns:1fr 1fr;gap:10px;display:grid}.ps-mactions button{cursor:pointer;border:0;border-radius:14px;justify-content:center;align-items:center;gap:8px;padding:12px 8px;font-size:17px;font-weight:900;display:flex}.ps-mactions .ps-start{box-shadow:0 4px #c40e69}.ps-mactions .ps-again{box-shadow:0 4px #9bd4e6}.ps-mactions[data-final="1"] .ps-again{display:none}.ps-mactions[data-final="1"] .ps-start{grid-column:1/-1}}@media (width<=850px) and (height<=700px){.plot-series-page .pp-title h1{font-size:24px}.ps-msub{font-size:13px}.ps-msub b{font-size:26px}.ps-hint,.ps-tip{padding:6px 12px}.y-input{padding:6px}.ps-cheer{padding:6px 12px}}.fm-body{height:calc(100vh - var(--header-h) - 100px);grid-template-rows:minmax(0,1fr) 64px;grid-template-columns:clamp(240px,24vw,320px) minmax(0,1fr);gap:12px 16px;min-height:520px;display:grid}.fm-side{flex-direction:column;grid-area:1/1/3/2;gap:10px;min-height:0;display:flex}.fm-question{flex-direction:column;flex:1;min-height:0;display:flex}.fm-q-head{background:#d8f7f3;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;padding:12px 16px;font-size:18px;font-weight:900;display:flex}.fm-levels{flex-wrap:nowrap;align-items:center;gap:5px;display:flex}.fm-levels-label{font-size:14px;display:none}.fm-level{white-space:nowrap;color:#5a1fe0;font:inherit;cursor:pointer;background:#fff;border:2px solid #7b2cfb;border-radius:999px;padding:3px 9px;font-size:13px;font-weight:900}.fm-level[aria-pressed=true]{color:#fff;background:#6a2ef0;border-color:#6a2ef0}.fm-level-note{color:#3d2a8a;background:#efe9ff;border-radius:12px;margin:0 0 8px;padding:6px 10px;font-size:13px;font-weight:700;line-height:1.35}.fm-q-body{flex:1;min-height:0;padding:12px 16px;overflow:auto}.fm-q-title{margin:0;font-size:18px;font-weight:900;line-height:1.25}.fm-q-help{color:#4d5671;margin:2px 0 8px;font-size:14px;line-height:1.35}.fm-remember{background:#fff6dc;border-radius:14px;gap:10px;padding:8px 12px;font-size:13px;line-height:1.3;display:flex}.fm-remember ul{margin:2px 0 0;padding-left:18px}.fm-bulb{flex:none;font-size:26px;line-height:1}.fm-progress{padding:12px 16px}.fm-progress .pp-streak-head{font-size:18px}.fm-progress .pp-dots{gap:4px;margin:10px 0 2px}.fm-progress .pp-dot{min-width:0;max-width:26px;font-size:12px}.fm-cheer{background:linear-gradient(135deg,#e7dcff,#f3e9ff);border-radius:20px;align-items:center;gap:12px;padding:10px 16px;display:flex;box-shadow:0 10px 26px #0b10261a}.fm-cheer[data-state=good]{background:linear-gradient(135deg,#d6f7e4,#eafcf1)}.fm-cheer[data-state=try]{background:linear-gradient(135deg,#ffe6d1,#fff1e6)}.fm-cheer[data-state=done]{background:linear-gradient(135deg,#ffe98a,#fff6c8)}.fm-trophy{font-size:44px;line-height:1}.fm-cheer b{color:#6a1fe0;font-size:20px;display:block}.fm-cheer p{color:#3d4360;margin:2px 0 0;font-size:15px}.fm-stage{flex-direction:column;grid-area:1/2;min-height:0;padding:clamp(16px,3vh,28px) clamp(18px,3vw,36px);display:flex}.fm-qline{align-items:center;gap:16px;display:flex}.fm-qline h2{color:#5a1fe0;margin:0;font-size:clamp(20px,3.4vh,28px)}.fm-qnum{aspect-ratio:1;color:#fff;background:#6a2ef0;border-radius:50%;flex:none;place-items:center;width:clamp(40px,6.5vh,56px);font-size:clamp(20px,3.4vh,28px);font-weight:900;display:grid}.fm-machine{flex:1;grid-template-rows:auto auto auto;grid-template-columns:minmax(0,1fr) clamp(34px,6vw,84px) minmax(0,1.15fr) clamp(34px,6vw,84px) minmax(0,1.3fr);place-content:center stretch;row-gap:10px;display:grid}.fm-label{text-align:center;color:#333a56;margin:0;font-size:clamp(18px,3vh,26px)}.fm-label-in{grid-area:1/1}.fm-label-out{grid-area:1/5}.fm-box{color:#0b1026;background:#fff;border:4px solid;border-radius:16px;align-content:center;place-items:center;height:clamp(72px,14vh,124px);font-size:clamp(30px,6vh,54px);font-weight:900;display:grid;position:relative}.fm-in{border-color:#b7bfd3;grid-area:2/1}.fm-op{background:#ffe9f3;border-color:#ff1a8c;grid-area:2/3}.fm-out{border-color:#19b8e6;grid-area:2/5}.fm-op small{color:#c40e69;margin-top:-6px;font-size:clamp(12px,2vh,16px);font-weight:800}.fm-op small:empty{display:none}.fm-arrow{background:#2b3050;align-self:center;height:4px;margin:0 8px;position:relative}.fm-arrow:after{content:"";border-top:12px solid #0000;border-bottom:12px solid #0000;border-left:16px solid #2b3050;position:absolute;top:-10px;right:-8px}.fm-machine .fm-arrow:first-of-type{grid-area:2/2}.fm-machine .fm-arrow:nth-of-type(2){grid-area:2/4}.fm-answer{box-sizing:border-box;text-align:center;width:100%;height:100%;font:inherit;color:#0b1026;caret-color:#7b2cfb;background:0 0;border:0;padding:0 8px}.fm-answer:focus{outline:none}.fm-answer:disabled{-webkit-text-fill-color:#0b1026;opacity:1}.fm-out[data-state=good]{background:#eafcf1;border-color:#1fb865}.fm-out[data-state=bad]{background:#fff0f3;border-color:#f0134d}.fm-out:focus-within{box-shadow:0 0 0 4px #19b8e633}.fm-reveal{text-align:center;color:#c4103a;grid-area:3/5;min-height:1.4em;margin:0;font-size:clamp(16px,2.6vh,22px);font-weight:900}.fm-sign{color:#0b1026;cursor:pointer;background:#dff4fb;border:0;border-radius:50%;width:34px;height:34px;font-size:20px;font-weight:900;display:none;position:absolute;top:6px;right:6px}@media (pointer:coarse){.fm-sign{display:block}.fm-answer{padding-right:40px}.fm-out[data-state=good] .fm-sign,.fm-out[data-state=bad] .fm-sign{display:none}.fm-out[data-state=good] .fm-answer,.fm-out[data-state=bad] .fm-answer{padding-right:8px}}.fm-actions{grid-area:2/2;gap:16px;display:flex}.fm-actions button{color:#fff;cursor:pointer;border:0;border-radius:16px;justify-content:center;align-items:center;gap:12px;font-size:clamp(20px,3.2vh,28px);font-weight:900;display:flex}.fm-mark{background:#14b81a;flex:1;box-shadow:0 5px #0e8a13}.fm-next{background:#ff1a8c;flex:1.3;box-shadow:0 5px #c40e69}.fm-actions button:disabled{opacity:.45;cursor:default;box-shadow:none}@media (width>=851px) and (height<=760px){.fm-q-help{display:none}}.sh-score-plain b{font-size:22px}.fm-mhead,.fm-mnote,.fm-mmark,.fm-mtip,.fm-next-icon{display:none}.fm-mfeedback[hidden],.fm-mremember[hidden]{display:none!important}@media (width<=850px){body.function-machines-page{flex-direction:column;height:100dvh;display:flex}.function-machines-page .pp-titlebar{flex-wrap:wrap;padding-bottom:2px}.function-machines-page .pp-title{text-align:center;flex:100%;order:3;margin-top:2px;display:block}.function-machines-page .pp-title h1{margin:0;font-size:28px;line-height:1.1}.function-machines-page .pp-title p{margin:2px 0 0;font-size:14px;line-height:1.3;display:none}.fm-body{flex-direction:column;flex:1;gap:8px;height:auto;min-height:0;display:flex}.fm-side{display:contents}.fm-question,.fm-cheer{display:none}.fm-stage{border-radius:18px;flex:1;order:1;gap:8px;min-height:0;padding:10px 12px 12px}.fm-mhead{background:#d8f7f3;border-radius:12px;justify-content:space-between;align-items:center;padding:6px 12px;font-size:16px;font-weight:900;display:flex}.fm-mhead .fm-levels-label{display:inline}.fm-lv-word{display:none}.fm-mhead .fm-level{padding:3px 12px;font-size:15px}.fm-qline{justify-content:center}.fm-qnum{display:none}.fm-qline h2{color:#0b1026;text-align:center;font-size:19px}.fm-machine{flex:1;grid-template-columns:minmax(0,1fr) 26px minmax(0,1.1fr) 26px minmax(0,1.25fr);row-gap:6px}.fm-box{border-width:3px;border-radius:12px;height:clamp(58px,10vh,80px);font-size:28px}.fm-label{font-size:16px}.fm-arrow{margin:0 4px}.fm-arrow:after{border-top-width:9px;border-bottom-width:9px;border-left-width:12px;top:-7px;right:-6px}.fm-op small{font-size:11px}.fm-reveal{min-height:1.2em;font-size:15px}.fm-mnote{flex:none;display:block}.fm-mremember,.fm-mfeedback{border-radius:14px;align-items:center;gap:12px;padding:8px 12px;font-size:14px;line-height:1.3;display:flex}.fm-mremember{background:#fff6dc}.fm-mremember ul{margin:2px 0 0;padding-left:18px}.fm-bulb{background:#ffe600;border-radius:50%;flex:none;place-items:center;width:44px;height:44px;font-size:24px;display:grid}.fm-mfeedback{background:#d6f7e4}.fm-mfeedback[data-state=try]{background:#ffe6d1}.fm-mfeedback[data-state=done]{background:#fff0a8}.fm-mfeedback b{color:#0b1026;font-size:19px;display:block}.fm-mfeedback p{color:#0b1026;margin:2px 0 0;font-size:14px}.fm-mtick{color:#fff;background:#1fb865;border-radius:50%;flex:none;place-items:center;width:44px;height:44px;font-size:26px;font-weight:900;display:grid}.fm-mtick:before{content:"✓"}.fm-mfeedback[data-state=try] .fm-mtick{background:#ff8a1f}.fm-mfeedback[data-state=try] .fm-mtick:before{content:"!"}.fm-mfeedback[data-state=done] .fm-mtick{background:#ffc400}.fm-mfeedback[data-state=done] .fm-mtick:before{content:"★"}.fm-mmark{color:#fff;cursor:pointer;background:#14b81a;border:0;border-radius:14px;flex:none;justify-content:center;align-items:center;gap:10px;height:52px;font-size:20px;font-weight:900;display:flex;box-shadow:0 4px #0e8a13}.fm-mmark:disabled{opacity:.45;box-shadow:none;cursor:default}.fm-progress{border-radius:16px;flex:none;order:2;padding:8px 14px}.fm-progress .pp-streak-head{font-size:17px}.fm-progress .pp-dots{gap:4px;margin:6px 0 0}.fm-progress .pp-dot{flex:1 1 0;max-width:none}.fm-actions{flex:none;order:3;gap:0;height:52px}.fm-actions .fm-mark{display:none}.fm-next{color:#fff;background:#ff1a8c;border-radius:14px;flex:1;gap:10px;font-size:20px;box-shadow:0 4px #c40e69}.fm-actions .fm-next:disabled{opacity:1;color:#0b1026;box-shadow:none;background:#dbeafe}.fm-next-icon{display:inline}.fm-next-arrow{display:none}.fm-mtip{background:#e4e8ff;border-radius:14px;flex:none;order:4;align-items:center;gap:12px;margin:0;padding:8px 14px;font-size:14px;line-height:1.3;display:flex}.fm-mtip-icon{font-size:30px;line-height:1}}@media (width<=850px) and (height>=800px){.function-machines-page .pp-title p{display:block}}@media (width<=850px) and (height<=790px){.fm-mtip{display:none}}@media (width<=850px) and (height<=700px){.fm-mremember{display:none}.fm-progress .pp-streak-head{font-size:15px}.fm-mhead{padding:4px 10px}}.np-body{height:calc(100vh - var(--header-h) - 100px);grid-template-rows:minmax(0,1fr) 64px;grid-template-columns:clamp(240px,24vw,320px) minmax(0,1fr);gap:12px 16px;min-height:520px;display:grid}.np-side{flex-direction:column;grid-area:1/1/3/2;gap:10px;min-height:0;display:flex}.np-question{flex-direction:column;flex:1;min-height:0;display:flex}.np-q-head{background:#d8f7f3;margin:0;padding:12px 16px;font-size:18px;font-weight:900}.np-q-body{flex:1;min-height:0;padding:12px 16px;overflow:auto}.np-q-title{margin:0 0 4px;font-size:18px;font-weight:900}.np-q-help{color:#4d5671;margin:0 0 8px;font-size:14px;line-height:1.35}.np-remember{background:#fff6dc;border-radius:14px;gap:10px;padding:8px 12px;font-size:13px;line-height:1.3;display:flex}.np-remember ul{margin:2px 0 0;padding-left:16px}.np-bulb{flex:none;font-size:24px;line-height:1}.np-progress{padding:12px 16px}.np-progress .pp-streak-head{font-size:18px}.np-progress .pp-dots{gap:6px;margin:10px 0 2px}.np-progress .pp-dot{max-width:30px}.np-cheer{background:linear-gradient(135deg,#e7dcff,#f3e9ff);border-radius:20px;align-items:center;gap:12px;padding:10px 16px;display:flex;box-shadow:0 10px 26px #0b10261a}.np-cheer[data-state=good]{background:linear-gradient(135deg,#d6f7e4,#eafcf1)}.np-cheer[data-state=try]{background:linear-gradient(135deg,#ffe6d1,#fff1e6)}.np-cheer[data-state=done]{background:linear-gradient(135deg,#ffe98a,#fff6c8)}.np-trophy{font-size:44px;line-height:1}.np-cheer b{color:#6a1fe0;font-size:20px;display:block}.np-cheer p{color:#3d4360;margin:2px 0 0;font-size:15px}.np-stage{flex-direction:column;grid-area:1/2;gap:10px;min-height:0;padding:clamp(14px,2.4vh,24px) clamp(18px,3vw,36px);display:flex}.np-mhead,.np-mfeedback,.np-mbtns{display:none}.np-qline{align-items:center;gap:16px;display:flex}.np-qline h2{color:#5a1fe0;margin:0;font-size:clamp(16px,2.6vh,22px);line-height:1.3}.np-qnum{aspect-ratio:1;color:#fff;background:#6a2ef0;border-radius:50%;flex:none;place-items:center;width:clamp(38px,6vh,52px);font-size:clamp(18px,3vh,26px);font-weight:900;display:grid}.np-field{flex:1;place-items:center;min-height:0;display:grid;container-type:size}.np-board{width:min(100cqw,calc(100cqh*var(--ar)));aspect-ratio:var(--ar);position:relative;container-type:inline-size}.np-board svg{width:100%;height:100%;position:absolute;inset:0;overflow:visible}.np-link{stroke:#2b3050;stroke-width:.7px}.np-hex,.np-brick{fill:#e2efff;stroke:#a9c3ea;stroke-width:.6px}.np-circle{fill:#ffe3ef;stroke:#f04c94;stroke-width:.7px}.np-num{fill:#0b1026;text-anchor:middle;dominant-baseline:central;font-size:5.2px;font-weight:900}.np-circle+.np-num{font-size:4.8px}.np-in{box-sizing:border-box;color:#0b1026;text-align:center;font:inherit;background:#fff;border:.4cqw solid #8fb1e6;border-radius:.9cqw;min-width:0;padding:0;font-weight:900;position:absolute;transform:translate(-50%,-50%)}.np-in:focus{border-color:#19b8e6;outline:none;box-shadow:0 0 0 .6cqw #19b8e655}.np-in.ok{background:#eafcf1;border-color:#1fb865}.np-in.bad{background:#fff0f3;border-color:#f0134d}.np-in:disabled{opacity:1;-webkit-text-fill-color:#0b1026}.np-actions{grid-area:2/2;grid-template-columns:1fr 1.4fr 1.4fr;gap:14px;display:grid}.np-actions button,.np-mbtns button{cursor:pointer;border:0;border-radius:16px;justify-content:center;align-items:center;gap:12px;font-size:clamp(18px,3vh,26px);font-weight:900;display:flex}.np-clear{color:#1a5fb4;background:#e4f1ff;box-shadow:inset 0 0 0 2px #b5d3f3}.np-mark{color:#fff;background:#14b81a;box-shadow:0 5px #0e8a13}.np-next{color:#fff;background:#ff1a8c;box-shadow:0 5px #c40e69}.np-actions button:disabled,.np-mbtns button:disabled{opacity:.45;cursor:default;box-shadow:none}@media (width<=850px){body.number-puzzles-page{flex-direction:column;height:100dvh;display:flex}.number-puzzles-page .pp-titlebar{flex-wrap:wrap;padding-bottom:2px}.number-puzzles-page .pp-title{text-align:center;flex:100%;order:3;margin-top:2px;display:block}.number-puzzles-page .pp-title h1{margin:0;font-size:28px;line-height:1.1}.number-puzzles-page .pp-title p{display:none}.np-body{flex-direction:column;flex:1;gap:8px;height:auto;min-height:0;display:flex}.np-side{display:contents}.np-question,.np-cheer{display:none}.np-stage{border-radius:18px;flex:1;order:1;gap:8px;min-height:0;padding:10px 12px 12px}.np-mhead{background:#d8f7f3;border-radius:12px;margin:0;padding:7px 12px;font-size:16px;font-weight:900;display:block}.np-qnum{display:none}.np-qline h2{text-align:center;width:100%;font-size:15px;line-height:1.3}.np-mfeedback{background:#d6f7e4;border-radius:14px;flex:none;align-items:center;gap:12px;padding:8px 12px;display:flex}.np-mfeedback[hidden]{display:none}.np-mfeedback[data-state=try]{background:#ffe6d1}.np-mfeedback[data-state=done]{background:#fff0a8}.np-mfeedback b{color:#0b1026;font-size:18px;display:block}.np-mfeedback p{color:#0b1026;margin:2px 0 0;font-size:14px}.np-mtick{color:#fff;background:#1fb865;border-radius:50%;flex:none;place-items:center;width:40px;height:40px;font-size:24px;font-weight:900;display:grid}.np-mtick:before{content:"✓"}.np-mfeedback[data-state=try] .np-mtick{background:#ff8a1f}.np-mfeedback[data-state=try] .np-mtick:before{content:"!"}.np-mfeedback[data-state=done] .np-mtick{background:#ffc400}.np-mfeedback[data-state=done] .np-mtick:before{content:"★"}.np-mbtns{flex:none;grid-template-columns:1fr 1.5fr;gap:10px;display:grid}.np-mbtns button{border-radius:14px;gap:8px;height:50px;font-size:18px}.np-progress{border-radius:16px;flex:none;order:2;padding:8px 14px}.np-progress .pp-streak-head{font-size:17px}.np-progress .pp-dots{gap:6px;margin:6px 0 0}.np-actions{flex:none;order:3;height:52px;display:block}.np-actions .np-clear,.np-actions .np-mark{display:none}.np-next{border-radius:14px;width:100%;height:100%;font-size:20px}.np-actions .np-next:disabled{opacity:1;color:#0b1026;box-shadow:none;background:#dbeafe}}@media (width<=850px) and (height<=700px){.np-qline h2{font-size:13px}.np-mhead{padding:5px 10px}}.ul-body{height:calc(100vh - var(--header-h) - 100px);grid-template-rows:minmax(0,1fr) 64px;grid-template-columns:clamp(240px,24vw,320px) minmax(0,1fr);gap:12px 16px;min-height:520px;display:grid}.ul-side{flex-direction:column;grid-area:1/1/3/2;gap:10px;min-height:0;display:flex}.ul-question{flex-direction:column;flex:1;min-height:0;display:flex}.ul-q-head{background:#d8f7f3;margin:0;padding:12px 16px;font-size:18px;font-weight:900}.ul-q-body{flex:1;min-height:0;padding:12px 16px;overflow:auto}.ul-q-title{margin:0 0 4px;font-size:18px;font-weight:900;line-height:1.25}.ul-q-help{color:#4d5671;margin:0 0 10px;font-size:14px;line-height:1.35}.ul-remember{background:#fff6dc;border-radius:14px;gap:10px;padding:8px 12px;font-size:13px;line-height:1.3;display:flex}.ul-remember ul{margin:2px 0 0;padding-left:16px}.ul-remember li{margin-bottom:3px}.ul-bulb{flex:none;font-size:24px;line-height:1}.ul-progress{padding:12px 16px}.ul-progress .pp-streak-head{font-size:18px}.ul-progress .pp-dots{gap:4px;margin:10px 0 2px}.ul-progress .pp-dot{min-width:0;max-width:26px;font-size:12px}.ul-cheer{background:linear-gradient(135deg,#e7dcff,#f3e9ff);border-radius:20px;align-items:center;gap:12px;padding:10px 16px;display:flex;box-shadow:0 10px 26px #0b10261a}.ul-cheer[data-state=good]{background:linear-gradient(135deg,#d6f7e4,#eafcf1)}.ul-cheer[data-state=try]{background:linear-gradient(135deg,#ffe6d1,#fff1e6)}.ul-cheer[data-state=done]{background:linear-gradient(135deg,#ffe98a,#fff6c8)}.ul-trophy{font-size:44px;line-height:1}.ul-cheer b{color:#6a1fe0;font-size:20px;display:block}.ul-cheer p{color:#3d4360;margin:2px 0 0;font-size:15px}.ul-stage{flex-direction:column;grid-area:1/2;min-height:0;padding:clamp(16px,3vh,30px) clamp(18px,3vw,40px);display:flex}.ul-mhead,.ul-mnote,.ul-mmark{display:none}.ul-qline{text-align:center;justify-content:center;align-items:center;gap:16px;display:flex}.ul-qline h2{color:#0b1026;margin:0;font-size:clamp(20px,3.6vh,32px);line-height:1.25}.ul-qnum{display:none}.ul-work{--fs:clamp(34px,9vh,84px);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:8px;min-height:0;display:flex}.ul-line{justify-content:center;align-items:center;gap:calc(var(--fs)*.22);font-size:var(--fs);color:#0b1026;flex-wrap:wrap;line-height:1;display:flex}.ul-expr{display:contents}.ul-expr>span{align-items:baseline;display:inline-flex}.ul-line>*,.ul-expr>*{flex:none}.ul-ans{align-items:center;gap:calc(var(--fs)*.22);display:inline-flex}.ul-n,.ul-op,.ul-term>span:first-child{font-weight:800}.ul-v{font-family:Times New Roman,Georgia,serif;font-style:italic;font-weight:600}.ul-term .ul-v{margin-left:.04em}.ul-op{padding:0 .05em}.ul-out{box-sizing:border-box;width:calc(var(--fs)*var(--box,3.3));height:calc(var(--fs)*1.5);background:#fff;border:.09em solid #19b8e6;border-radius:.3em;display:grid}.ul-out:focus-within{box-shadow:0 0 0 .07em #19b8e644}.ul-answer{box-sizing:border-box;text-align:center;color:#0b1026;caret-color:#7b2cfb;background:0 0;border:0;width:100%;min-width:0;height:100%;padding:0 .2em;font:800 .8em/1 Times New Roman,Georgia,serif}.ul-answer:focus{outline:none}.ul-answer:disabled{-webkit-text-fill-color:#0b1026;opacity:1}.ul-out[data-state=good]{background:#eafcf1;border-color:#1fb865}.ul-out[data-state=bad]{background:#fff0f3;border-color:#f0134d}.ul-reveal{color:#c4103a;text-align:center;min-height:1.4em;margin:0;font-size:clamp(16px,2.8vh,24px);font-weight:900}.ul-keys{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.ul-keys[hidden]{display:none}.ul-keys button{color:#1a5fb4;cursor:pointer;background:#e4f1ff;border:0;border-radius:12px;align-items:center;gap:8px;padding:9px 16px;font:800 clamp(14px,2.2vh,18px)/1 inherit;display:inline-flex;box-shadow:inset 0 0 0 2px #b5d3f3}.ul-keys button:hover:not(:disabled){background:#d3e8ff}.ul-keys button:disabled{opacity:.45;cursor:default}.ul-key-sym{color:#0b1026;font:italic 800 1.25em/1 Times New Roman,Georgia,serif}.ul-actions{grid-area:2/2;gap:16px;display:flex}.ul-actions button{color:#fff;cursor:pointer;border:0;border-radius:16px;justify-content:center;align-items:center;gap:12px;font-size:clamp(20px,3.2vh,28px);font-weight:900;display:flex}.ul-mark{background:#14b81a;flex:1;box-shadow:0 5px #0e8a13}.ul-next{background:#ff1a8c;flex:1.3;box-shadow:0 5px #c40e69}.ul-actions button:disabled{opacity:.45;cursor:default;box-shadow:none}@media (width>=851px) and (height<=760px){.ul-q-help{display:none}}@media (width<=850px){body.ul-page{flex-direction:column;height:100dvh;display:flex}.ul-page .pp-titlebar{flex-wrap:wrap;padding-bottom:2px}.ul-page .pp-title{text-align:center;flex:100%;order:3;margin-top:2px;display:block}.ul-page .pp-title h1{margin:0;font-size:24px;line-height:1.1}.ul-page .pp-title p{display:none}.ul-body{flex-direction:column;flex:1;gap:8px;height:auto;min-height:0;display:flex}.ul-side{display:contents}.ul-question,.ul-cheer{display:none}.ul-stage{border-radius:18px;flex:1;order:1;gap:8px;min-height:0;padding:10px 12px 12px}.ul-mhead{background:#d8f7f3;border-radius:12px;margin:0;padding:7px 12px;font-size:16px;font-weight:900;display:block}.ul-qline h2{font-size:17px}.ul-work{--fs:clamp(30px,10.5vw,46px);flex:1}.ul-out{width:calc(var(--fs)*var(--box-phone,2.9))}.ul-keys{gap:6px}.ul-keys button{gap:5px;padding:8px 9px;font-size:14px}.ul-mnote{flex:none;display:block}.ul-mremember,.ul-mfeedback{border-radius:14px;align-items:center;gap:12px;padding:8px 12px;font-size:13px;line-height:1.3;display:flex}.ul-mremember{background:#fff6dc}.ul-mremember ul{margin:2px 0 0;padding-left:16px}.ul-mfeedback[hidden],.ul-mremember[hidden]{display:none}.ul-mfeedback{background:#d6f7e4}.ul-mfeedback[data-state=try]{background:#ffe6d1}.ul-mfeedback[data-state=done]{background:#fff0a8}.ul-mfeedback b{color:#0b1026;font-size:18px;display:block}.ul-mfeedback p{color:#0b1026;margin:2px 0 0;font-size:14px}.ul-mtick{color:#fff;background:#1fb865;border-radius:50%;flex:none;place-items:center;width:42px;height:42px;font-size:24px;font-weight:900;display:grid}.ul-mtick:before{content:"✓"}.ul-mfeedback[data-state=try] .ul-mtick{background:#ff8a1f}.ul-mfeedback[data-state=try] .ul-mtick:before{content:"!"}.ul-mfeedback[data-state=done] .ul-mtick{background:#ffc400}.ul-mfeedback[data-state=done] .ul-mtick:before{content:"★"}.ul-mmark{color:#fff;cursor:pointer;background:#14b81a;border:0;border-radius:14px;flex:none;justify-content:center;align-items:center;gap:10px;height:50px;font-size:20px;font-weight:900;display:flex;box-shadow:0 4px #0e8a13}.ul-mmark:disabled{opacity:.45;box-shadow:none;cursor:default}.ul-progress{border-radius:16px;flex:none;order:2;padding:8px 14px}.ul-progress .pp-streak-head{font-size:17px}.ul-progress .pp-dots{gap:4px;margin:6px 0 0}.ul-progress .pp-dot{flex:1 1 0;max-width:none}.ul-actions{flex:none;order:3;gap:0;height:50px}.ul-actions .ul-mark{display:none}.ul-next{border-radius:14px;flex:1;font-size:20px}.ul-actions .ul-next:disabled{opacity:1;color:#0b1026;box-shadow:none;background:#dbeafe}}@media (width<=850px) and (height<=700px){.ul-mremember{display:none}.ul-qline h2{font-size:15px}.ul-mhead{padding:5px 10px}}.ul-open{margin-left:calc(var(--fs)*-.16);margin-right:calc(var(--fs)*-.12)}.ul-close{margin-left:calc(var(--fs)*-.12)}.ul-expr>.ul-group{align-items:baseline;gap:calc(var(--fs)*.22);white-space:nowrap;display:inline-flex}.pf-body{height:calc(100vh - var(--header-h) - 100px);grid-template-rows:minmax(0,1fr) 64px;grid-template-columns:clamp(240px,24vw,320px) minmax(0,1fr);gap:12px 16px;min-height:520px;display:grid}.pf-side{flex-direction:column;grid-area:1/1/3/2;gap:10px;min-height:0;display:flex}.pf-question{flex-direction:column;flex:1;min-height:0;display:flex}.pf-q-head{background:#d8f7f3;margin:0;padding:12px 16px;font-size:18px;font-weight:900}.pf-q-body{flex:1;min-height:0;padding:12px 16px;overflow:auto}.pf-q-title{margin:0 0 4px;font-size:18px;font-weight:900}.pf-q-help{color:#4d5671;margin:0 0 6px;font-size:14px;line-height:1.35}.pf-remember{background:#fff6dc;border-radius:14px;gap:10px;margin-top:8px;padding:8px 12px;font-size:13px;line-height:1.3;display:flex}.pf-remember ul{margin:2px 0 0;padding-left:16px}.pf-remember li{margin-bottom:3px}.pf-bulb{flex:none;font-size:24px;line-height:1}.pf-progress{padding:12px 16px}.pf-progress .pp-streak-head{font-size:18px}.pf-progress .pp-dots{gap:4px;margin:10px 0 2px}.pf-progress .pp-dot{min-width:0;max-width:26px;font-size:12px}.pf-cheer{background:linear-gradient(135deg,#e7dcff,#f3e9ff);border-radius:20px;align-items:center;gap:12px;padding:10px 16px;display:flex;box-shadow:0 10px 26px #0b10261a}.pf-cheer[data-state=good]{background:linear-gradient(135deg,#d6f7e4,#eafcf1)}.pf-cheer[data-state=try]{background:linear-gradient(135deg,#ffe6d1,#fff1e6)}.pf-cheer[data-state=done]{background:linear-gradient(135deg,#ffe98a,#fff6c8)}.pf-trophy{font-size:44px;line-height:1}.pf-cheer b{color:#6a1fe0;font-size:20px;display:block}.pf-cheer p{color:#3d4360;margin:2px 0 0;font-size:15px}.pf-stage{flex-direction:column;grid-area:1/2;gap:12px;min-height:0;padding:clamp(14px,2.4vh,26px) clamp(18px,3vw,38px);display:flex}.pf-mhead,.pf-mfeedback,.pf-mbtns{display:none}.pf-qline{align-items:center;gap:16px;display:flex}.pf-qline h2{color:#6a1fe0;margin:0;font-size:clamp(16px,2.6vh,24px);line-height:1.3}.pf-qnum{aspect-ratio:1;color:#fff;background:#6a2ef0;border-radius:50%;flex:none;place-items:center;width:clamp(38px,6vh,54px);font-size:clamp(18px,3vh,28px);font-weight:900;display:grid}.pf-work{flex:1;grid-template-columns:minmax(0,1fr) clamp(150px,22%,220px);align-items:center;gap:clamp(14px,2.4vw,30px);min-height:0;display:grid}.pf-board{--n:6;--shade:#2f9bff;--shade-dark:#1a6fd1;--bh:clamp(46px,9vh,84px);width:100%;max-width:640px;margin:0 auto}.pf-bar{grid-template-columns:repeat(var(--n),minmax(0,1fr));display:grid;position:relative}.pf-top{z-index:2}.pf-bottom{z-index:1}.pf-divider{background:#2b3050;border-radius:2px;height:4px;margin:clamp(14px,3vh,30px) 0}.pf-box{box-sizing:border-box;width:100%;min-width:0;height:var(--bh);font:inherit;border:3px solid;border-right-width:0;border-radius:0;margin:0;padding:0;display:block}.pf-box:first-child{border-radius:8px 0 0 8px}.pf-box:last-child{border-right-width:3px;border-radius:0 8px 8px 0}.pf-box.pf-shaded{background:var(--shade);border-color:var(--shade-dark)}.pf-box.pf-empty{cursor:grab;touch-action:none;transition:opacity .5s var(--delay,0s),background .5s var(--delay,0s);background:#eef3fb;border-color:#a9b8d3}.pf-box.pf-empty:hover:not(.moved){background:#e1ecfb}.pf-box.pf-empty:focus-visible{outline-offset:2px;z-index:3;outline:4px solid #6a2ef0}.pf-box.lifted{opacity:.35}.pf-box.moved{opacity:.3;cursor:default;pointer-events:none;background:0 0;border-style:dashed}.pf-ghost{z-index:1000;pointer-events:none;background:#fff;border:3px solid #6a2ef0;border-radius:8px;position:fixed;transform:translate(-50%,-50%);box-shadow:0 12px 26px #0b102640}.pf-bottom:not(.open){min-height:var(--bh);box-sizing:border-box;border:3px dashed #b9c4da;border-radius:10px;grid-template-columns:1fr;place-items:center;transition:background .2s,border-color .2s;display:grid}.pf-bottom.over{background:#e6f8ff;border-color:#19b8e6}.pf-drop-hint{color:#98a4bb;font-size:clamp(13px,2vh,17px);font-weight:800}.pf-cell{box-sizing:border-box;width:100%;min-width:0;height:var(--bh);transition:transform .8s cubic-bezier(.2,.8,.25,1) var(--delay,0s);background:#e3e6ec;border:3px solid #bcc4d3;border-right-width:0}.pf-cell:first-child{border-radius:8px 0 0 8px}.pf-cell:last-child{border-right-width:3px;border-radius:0 8px 8px 0}.pf-cell.pf-slide{transform:translateY(var(--dy,0px))}.pf-cell.pf-instant{transition:none}.pf-board.done .pf-box.pf-empty.moved{opacity:.3}.pf-fraction{border-left:2px solid #e3e8f2;flex-direction:column;justify-content:center;align-self:stretch;align-items:center;gap:8px;padding-left:clamp(12px,2vw,26px);display:flex}.pf-fraction-label{text-align:center;margin:0 0 4px;font-size:clamp(15px,2.4vh,20px);font-weight:900}.pf-input{box-sizing:border-box;text-align:center;color:#0b1026;caret-color:#6a2ef0;background:#fff;border:3px solid #b8c6df;border-radius:12px;width:min(100%,150px);height:clamp(48px,9vh,74px);font:800 clamp(26px,5vh,42px)/1 inherit}.pf-input:focus{border-color:#19b8e6;outline:none;box-shadow:0 0 0 4px #19b8e633}.pf-input:disabled{color:#0b1026;-webkit-text-fill-color:#0b1026;opacity:1;background:#f1f3f8;border-style:dashed}.pf-input.ok{background:#eafcf1;border-color:#1fb865}.pf-input.bad{background:#fff0f3;border-color:#f0134d}.pf-line{background:#0b1026;border-radius:3px;width:min(100%,170px);height:5px}.pf-info{color:#8a1c58;background:#ffe6f1;border-radius:14px;align-items:center;gap:12px;margin:0;padding:10px 16px;font-size:clamp(13px,2vh,16px);line-height:1.35;display:flex}.pf-info-icon{color:#fff;background:#f0186f;border-radius:50%;flex:none;place-items:center;width:28px;height:28px;font-family:Times New Roman,serif;font-style:italic;font-weight:900;display:grid}.pf-actions{grid-area:2/2;grid-template-columns:1fr 1.4fr 1.4fr;gap:14px;display:grid}.pf-actions button,.pf-mbtns button{cursor:pointer;border:0;border-radius:16px;justify-content:center;align-items:center;gap:12px;font-size:clamp(18px,3vh,26px);font-weight:900;display:flex}.pf-clear{color:#1a5fb4;background:#e4f1ff;box-shadow:inset 0 0 0 2px #b5d3f3}.pf-mark{color:#fff;background:#14b81a;box-shadow:0 5px #0e8a13}.pf-next{color:#fff;background:#ff1a8c;box-shadow:0 5px #c40e69}.pf-actions button:disabled,.pf-mbtns button:disabled{opacity:.45;cursor:default;box-shadow:none}@media (width>=851px) and (height<=760px){.pf-q-help{display:none}}@media (width<=850px){body.pictorial-fractions-page{flex-direction:column;height:100dvh;display:flex}.pictorial-fractions-page .pp-titlebar{flex-wrap:wrap;padding-bottom:2px}.pictorial-fractions-page .pp-title{text-align:center;flex:100%;order:3;margin-top:2px;display:block}.pictorial-fractions-page .pp-title h1{margin:0;font-size:26px;line-height:1.1}.pictorial-fractions-page .pp-title p{display:none}.pf-body{flex-direction:column;flex:1;gap:8px;height:auto;min-height:0;display:flex}.pf-side{display:contents}.pf-question,.pf-cheer{display:none}.pf-stage{border-radius:18px;flex:1;order:1;gap:8px;min-height:0;padding:10px 12px 12px}.pf-mhead{background:#d8f7f3;border-radius:12px;margin:0;padding:7px 12px;font-size:16px;font-weight:900;display:block}.pf-qnum{display:none}.pf-qline h2{text-align:center;width:100%;font-size:15px;line-height:1.3}.pf-work{grid-template-columns:1fr;align-content:center;gap:10px}.pf-board{--bh:clamp(28px,5.2vh,50px)}.pf-divider{margin:clamp(6px,1.6vh,14px) 0}.pf-fraction{border-top:2px solid #e3e8f2;border-left:0;grid-template-rows:auto 4px auto;grid-template-columns:auto 96px;justify-content:center;align-self:auto;align-items:center;gap:4px 16px;padding:6px 0 0;display:grid}.pf-fraction-label{text-align:right;grid-area:1/1/4/2;margin:0}.pf-fraction .pf-input:first-of-type{grid-area:1/2}.pf-fraction .pf-line{grid-area:2/2;width:96px}.pf-fraction .pf-input:last-of-type{grid-area:3/2}.pf-input{border-radius:10px;width:96px;height:clamp(32px,5.4vh,46px);font-size:clamp(20px,3.6vh,26px)}.pf-info{padding:8px 12px;font-size:13px}.pf-mfeedback{background:#d6f7e4;border-radius:14px;flex:none;align-items:center;gap:12px;padding:8px 12px;display:flex}.pf-mfeedback[hidden]{display:none}.pf-mfeedback[data-state=try]{background:#ffe6d1}.pf-mfeedback[data-state=done]{background:#fff0a8}.pf-mfeedback b{color:#0b1026;font-size:17px;display:block}.pf-mfeedback p{color:#0b1026;margin:2px 0 0;font-size:13px}.pf-mtick{color:#fff;background:#1fb865;border-radius:50%;flex:none;place-items:center;width:38px;height:38px;font-size:22px;font-weight:900;display:grid}.pf-mtick:before{content:"✓"}.pf-mfeedback[data-state=try] .pf-mtick{background:#ff8a1f}.pf-mfeedback[data-state=try] .pf-mtick:before{content:"!"}.pf-mfeedback[data-state=done] .pf-mtick{background:#ffc400}.pf-mfeedback[data-state=done] .pf-mtick:before{content:"★"}.pf-mbtns{flex:none;grid-template-columns:1fr 1.5fr;gap:10px;display:grid}.pf-mbtns button{border-radius:14px;gap:8px;height:48px;font-size:17px}.pf-progress{border-radius:16px;flex:none;order:2;padding:8px 14px}.pf-progress .pp-streak-head{font-size:17px}.pf-progress .pp-dots{gap:5px;margin:6px 0 0}.pf-progress .pp-dot{flex:1 1 0;max-width:none}.pf-actions{flex:none;order:3;height:50px;display:block}.pf-actions .pf-clear,.pf-actions .pf-mark{display:none}.pf-next{border-radius:14px;width:100%;height:100%;font-size:20px}.pf-actions .pf-next:disabled{opacity:1;color:#0b1026;box-shadow:none;background:#dbeafe}}@media (width<=850px) and (height<=700px){.pf-info{display:none}.pf-qline h2{font-size:13px}.pf-mhead{padding:5px 10px}.pf-work,.pf-stage{gap:6px}}.pv-body{height:calc(100vh - var(--header-h) - 100px);grid-template-rows:minmax(0,1fr) 64px;grid-template-columns:clamp(240px,24vw,320px) minmax(0,1fr);gap:12px 16px;min-height:560px;display:grid}.pv-side{flex-direction:column;grid-area:1/1/3/2;gap:10px;min-height:0;display:flex}.pv-question-card{flex-direction:column;flex:1;min-height:0;display:flex}.pv-q-head{background:#d8f7f3;margin:0;padding:12px 16px;font-size:18px;font-weight:900}.pv-q-body{flex:1;min-height:0;padding:12px 16px;overflow:auto}.pv-q-title{margin:0 0 4px;font-size:18px;font-weight:900}.pv-q-help{color:#4d5671;margin:0 0 6px;font-size:14px;line-height:1.35}.pv-remember{background:#fff6dc;border-radius:14px;gap:10px;margin-top:8px;padding:8px 12px;font-size:13px;line-height:1.3;display:flex}.pv-remember ul{margin:2px 0 0;padding-left:16px}.pv-remember li{margin-bottom:3px}.pv-bulb{flex:none;font-size:24px;line-height:1}.pv-progress{padding:12px 16px}.pv-progress .pp-streak-head{font-size:18px}.pv-progress .pp-dots{gap:4px;margin:10px 0 2px}.pv-progress .pp-dot{min-width:0;max-width:26px;font-size:12px}.pv-cheer{background:linear-gradient(135deg,#e7dcff,#f3e9ff);border-radius:20px;align-items:center;gap:12px;padding:10px 16px;display:flex;box-shadow:0 10px 26px #0b10261a}.pv-cheer[data-state=good]{background:linear-gradient(135deg,#d6f7e4,#eafcf1)}.pv-cheer[data-state=try]{background:linear-gradient(135deg,#ffe6d1,#fff1e6)}.pv-cheer[data-state=done]{background:linear-gradient(135deg,#ffe98a,#fff6c8)}.pv-trophy{font-size:44px;line-height:1}.pv-cheer b{color:#6a1fe0;font-size:20px;display:block}.pv-cheer p{color:#3d4360;margin:2px 0 0;font-size:15px}.pv-stage{flex-direction:column;grid-area:1/2;gap:12px;min-height:0;padding:clamp(14px,2.4vh,26px) clamp(18px,3vw,38px);display:flex;overflow:auto}.pv-mhead,.pv-mfeedback,.pv-mbtns{display:none}.pv-qline{align-items:center;gap:16px;display:flex}.pv-qline h2{color:#6a1fe0;margin:0;font-size:clamp(16px,2.6vh,24px);line-height:1.3}.pv-qnum{aspect-ratio:1;color:#fff;background:#6a2ef0;border-radius:50%;flex:none;place-items:center;width:clamp(38px,6vh,54px);font-size:clamp(18px,3vh,28px);font-weight:900;display:grid}.pv-work{flex-direction:column;flex:1;justify-content:center;gap:clamp(14px,2.4vh,24px);min-height:0;display:flex}.pv-board{--bh:clamp(46px,8vh,76px);flex-direction:column;gap:4px;width:100%;max-width:640px;margin:0 auto;display:flex}.pv-headers{display:grid}.pv-headers span{text-align:center;color:#4d5671;padding-bottom:2px;font-size:clamp(11px,1.7vh,14px);font-weight:900;line-height:1.15}.pv-row{height:var(--bh);display:grid;position:relative}.pv-headers,.pv-row{grid-template-columns:repeat(2,minmax(0,1fr)) minmax(10px,5%) repeat(3,minmax(0,1fr))}.pv-slot{box-sizing:border-box;color:#8992a8;background:#f7f9ff;border:2px solid #e3e8f2;justify-content:center;align-items:center;font-weight:900;display:flex;overflow:hidden}.pv-slot:first-child{border-radius:8px 0 0 8px}.pv-slot:last-child{border-radius:0 8px 8px 0}.pv-sep{color:#0b1026;justify-content:center;align-items:flex-end;padding-bottom:2px;font-size:clamp(15px,3vh,24px);font-weight:900;display:flex}.pv-headers .pv-sep{color:#4d5671;align-items:center;padding-bottom:0;font-size:clamp(13px,2.4vh,18px)}.pv-block,.pv-tile{box-sizing:border-box;border-radius:8px;justify-content:center;align-items:center;height:100%;font-weight:900;transition:left .5s cubic-bezier(.2,.8,.25,1),width .5s cubic-bezier(.2,.8,.25,1);display:flex;position:absolute;top:0}.pv-block.pv-instant,.pv-tile.pv-instant{transition:none}.pv-fixedrow .pv-slot,.pv-fixedrow .pv-block,.pv-answerrow .pv-slot,.pv-answerrow .pv-block{font-size:clamp(20px,4vh,34px)}.pv-tilerow .pv-slot,.pv-tile{font-size:clamp(18px,3.4vh,28px)}.pv-fixedrow .pv-block{color:#4d5671;background:#eef3fb;border:3px solid #c7d3e8}.pv-block-answer{color:#fff;background:#2f9bff;border:3px solid #1a6fd1}.pv-tile{color:#fff;cursor:grab;touch-action:none;z-index:2;background:#8b5cf6;border:3px solid #6234c4}.pv-tile:focus-visible{outline-offset:2px;outline:4px solid #6a2ef0}.pv-tile.pv-lifted{opacity:.75;cursor:grabbing}.pv-times,.pv-equals{color:#0b1026;align-self:center;font-size:clamp(18px,3vh,26px);font-weight:900}.pv-question{box-sizing:border-box;background:#eef3fb;border-radius:16px;flex-direction:column;align-items:center;gap:10px;width:100%;max-width:640px;margin:0 auto;padding:14px clamp(16px,3vw,28px);display:flex}.pv-q-label{color:#4d5671;margin:0;font-size:clamp(13px,2vh,16px);font-weight:900}.pv-q-value{color:#0b1026;text-align:center;margin:0;font-size:clamp(22px,4vh,34px);font-weight:900}.pv-hint{box-sizing:border-box;color:#8a1c58;background:#ffe6f1;border-radius:14px;align-items:flex-start;gap:10px;width:100%;margin:0;padding:10px 14px;font-size:clamp(12px,1.9vh,14px);line-height:1.35;display:flex}.pv-hint-icon{color:#fff;background:#f0186f;border-radius:50%;flex:none;place-items:center;width:24px;height:24px;font-family:Times New Roman,serif;font-size:14px;font-style:italic;font-weight:900;display:grid}.pv-actions{grid-area:2/2;grid-template-columns:1fr 1.4fr 1.4fr;gap:14px;display:grid}.pv-actions button,.pv-mbtns button{cursor:pointer;border:0;border-radius:16px;justify-content:center;align-items:center;gap:12px;font-size:clamp(18px,3vh,26px);font-weight:900;display:flex}.pv-clear{color:#1a5fb4;background:#e4f1ff;box-shadow:inset 0 0 0 2px #b5d3f3}.pv-mark{color:#fff;background:#14b81a;box-shadow:0 5px #0e8a13}.pv-next{color:#fff;background:#ff1a8c;box-shadow:0 5px #c40e69}.pv-actions button:disabled,.pv-mbtns button:disabled{opacity:.45;cursor:default;box-shadow:none}@media (width>=851px) and (height<=760px){.pv-q-help{display:none}}@media (width<=850px){body.place-value-multiply-page{flex-direction:column;height:100dvh;display:flex}.place-value-multiply-page .pp-titlebar{flex-wrap:wrap;padding-bottom:2px}.place-value-multiply-page .pp-title{text-align:center;flex:100%;order:3;margin-top:2px;display:block}.place-value-multiply-page .pp-title h1{margin:0;font-size:26px;line-height:1.1}.place-value-multiply-page .pp-title p{display:none}.pv-body{flex-direction:column;flex:1;gap:8px;height:auto;min-height:0;display:flex}.pv-side{display:contents}.pv-question-card,.pv-cheer{display:none}.pv-stage{border-radius:18px;flex:1;order:1;gap:8px;min-height:0;padding:10px 12px 12px}.pv-mhead{background:#d8f7f3;border-radius:12px;margin:0;padding:7px 12px;font-size:16px;font-weight:900;display:block}.pv-qnum{display:none}.pv-qline h2{text-align:center;width:100%;font-size:15px;line-height:1.3}.pv-work{gap:10px}.pv-board{--bh:clamp(28px,5.2vh,50px)}.pv-headers span{font-size:10px}.pv-sep,.pv-times,.pv-equals{font-size:16px}.pv-fixedrow .pv-slot,.pv-fixedrow .pv-block,.pv-answerrow .pv-slot,.pv-answerrow .pv-block{font-size:clamp(16px,3.4vh,26px)}.pv-tilerow .pv-slot,.pv-tile{font-size:clamp(14px,2.9vh,22px)}.pv-question{gap:8px;padding:10px 14px}.pv-q-label{display:none}.pv-q-value{font-size:clamp(18px,3.4vh,26px)}.pv-hint{padding:8px 12px;font-size:13px}.pv-mfeedback{background:#d6f7e4;border-radius:14px;flex:none;align-items:center;gap:12px;padding:8px 12px;display:flex}.pv-mfeedback[hidden]{display:none}.pv-mfeedback[data-state=try]{background:#ffe6d1}.pv-mfeedback[data-state=done]{background:#fff0a8}.pv-mfeedback b{color:#0b1026;font-size:17px;display:block}.pv-mfeedback p{color:#0b1026;margin:2px 0 0;font-size:13px}.pv-mtick{color:#fff;background:#1fb865;border-radius:50%;flex:none;place-items:center;width:38px;height:38px;font-size:22px;font-weight:900;display:grid}.pv-mtick:before{content:"✓"}.pv-mfeedback[data-state=try] .pv-mtick{background:#ff8a1f}.pv-mfeedback[data-state=try] .pv-mtick:before{content:"!"}.pv-mfeedback[data-state=done] .pv-mtick{background:#ffc400}.pv-mfeedback[data-state=done] .pv-mtick:before{content:"★"}.pv-mbtns{flex:none;grid-template-columns:1fr 1.5fr;gap:10px;display:grid}.pv-mbtns button{border-radius:14px;gap:8px;height:48px;font-size:17px}.pv-progress{border-radius:16px;flex:none;order:2;padding:8px 14px}.pv-progress .pp-streak-head{font-size:17px}.pv-progress .pp-dots{gap:5px;margin:6px 0 0}.pv-progress .pp-dot{flex:1 1 0;max-width:none}.pv-actions{flex:none;order:3;height:50px;display:block}.pv-actions .pv-clear,.pv-actions .pv-mark{display:none}.pv-next{border-radius:14px;width:100%;height:100%;font-size:20px}.pv-actions .pv-next:disabled{opacity:1;color:#0b1026;box-shadow:none;background:#dbeafe}}@media (width<=850px) and (height<=700px){.pv-hint{display:none}.pv-qline h2{font-size:13px}.pv-mhead{padding:5px 10px}.pv-work,.pv-stage{gap:6px}}.pd-body{height:calc(100vh - var(--header-h) - 100px);grid-template-rows:minmax(0,1fr) 64px;grid-template-columns:clamp(240px,24vw,320px) minmax(0,1fr);gap:12px 16px;min-height:560px;display:grid}.pd-side{flex-direction:column;grid-area:1/1/3/2;gap:10px;min-height:0;display:flex}.pd-question-card{flex-direction:column;flex:1;min-height:0;display:flex}.pd-q-head{background:#d8f7f3;margin:0;padding:12px 16px;font-size:18px;font-weight:900}.pd-q-body{flex:1;min-height:0;padding:12px 16px;overflow:auto}.pd-q-title{margin:0 0 4px;font-size:18px;font-weight:900}.pd-q-help{color:#4d5671;margin:0 0 6px;font-size:14px;line-height:1.35}.pd-remember{background:#fff6dc;border-radius:14px;gap:10px;margin-top:8px;padding:8px 12px;font-size:13px;line-height:1.3;display:flex}.pd-remember ul{margin:2px 0 0;padding-left:16px}.pd-remember li{margin-bottom:3px}.pd-bulb{flex:none;font-size:24px;line-height:1}.pd-progress{padding:12px 16px}.pd-progress .pp-streak-head{font-size:18px}.pd-progress .pp-dots{gap:4px;margin:10px 0 2px}.pd-progress .pp-dot{min-width:0;max-width:26px;font-size:12px}.pd-cheer{background:linear-gradient(135deg,#e7dcff,#f3e9ff);border-radius:20px;align-items:center;gap:12px;padding:10px 16px;display:flex;box-shadow:0 10px 26px #0b10261a}.pd-cheer[data-state=good]{background:linear-gradient(135deg,#d6f7e4,#eafcf1)}.pd-cheer[data-state=try]{background:linear-gradient(135deg,#ffe6d1,#fff1e6)}.pd-cheer[data-state=done]{background:linear-gradient(135deg,#ffe98a,#fff6c8)}.pd-trophy{font-size:44px;line-height:1}.pd-cheer b{color:#6a1fe0;font-size:20px;display:block}.pd-cheer p{color:#3d4360;margin:2px 0 0;font-size:15px}.pd-stage{flex-direction:column;grid-area:1/2;gap:12px;min-height:0;padding:clamp(14px,2.4vh,26px) clamp(18px,3vw,38px);display:flex;overflow:auto}.pd-mhead,.pd-mfeedback,.pd-mbtns{display:none}.pd-qline{align-items:center;gap:16px;display:flex}.pd-qline h2{color:#6a1fe0;margin:0;font-size:clamp(16px,2.6vh,24px);line-height:1.3}.pd-qnum{aspect-ratio:1;color:#fff;background:#6a2ef0;border-radius:50%;flex:none;place-items:center;width:clamp(38px,6vh,54px);font-size:clamp(18px,3vh,28px);font-weight:900;display:grid}.pd-work{flex-direction:column;flex:1;justify-content:center;gap:clamp(14px,2.4vh,24px);min-height:0;display:flex}.pd-board{--bh:clamp(46px,8vh,76px);flex-direction:column;gap:4px;width:100%;max-width:640px;margin:0 auto;display:flex}.pd-headers{display:grid}.pd-headers span{text-align:center;color:#4d5671;padding-bottom:2px;font-size:clamp(11px,1.7vh,14px);font-weight:900;line-height:1.15}.pd-row{height:var(--bh);display:grid;position:relative}.pd-headers,.pd-row{grid-template-columns:repeat(2,minmax(0,1fr)) minmax(10px,5%) repeat(3,minmax(0,1fr))}.pd-slot{box-sizing:border-box;color:#8992a8;background:#f7f9ff;border:2px solid #e3e8f2;justify-content:center;align-items:center;font-weight:900;display:flex;overflow:hidden}.pd-slot:first-child{border-radius:8px 0 0 8px}.pd-slot:last-child{border-radius:0 8px 8px 0}.pd-sep{color:#0b1026;justify-content:center;align-items:flex-end;padding-bottom:2px;font-size:clamp(15px,3vh,24px);font-weight:900;display:flex}.pd-headers .pd-sep{color:#4d5671;align-items:center;padding-bottom:0;font-size:clamp(13px,2.4vh,18px)}.pd-block,.pd-tile{box-sizing:border-box;border-radius:8px;justify-content:center;align-items:center;height:100%;font-weight:900;transition:left .5s cubic-bezier(.2,.8,.25,1),width .5s cubic-bezier(.2,.8,.25,1);display:flex;position:absolute;top:0}.pd-block.pd-instant,.pd-tile.pd-instant{transition:none}.pd-fixedrow .pd-slot,.pd-fixedrow .pd-block,.pd-answerrow .pd-slot,.pd-answerrow .pd-block{font-size:clamp(20px,4vh,34px)}.pd-tilerow .pd-slot,.pd-tile{font-size:clamp(18px,3.4vh,28px)}.pd-fixedrow .pd-block{color:#4d5671;background:#eef3fb;border:3px solid #c7d3e8}.pd-block-answer{color:#fff;background:#2f9bff;border:3px solid #1a6fd1}.pd-tile{color:#fff;cursor:grab;touch-action:none;z-index:2;background:#8b5cf6;border:3px solid #6234c4}.pd-tile:focus-visible{outline-offset:2px;outline:4px solid #6a2ef0}.pd-tile.pd-lifted{opacity:.75;cursor:grabbing}.pd-divide,.pd-equals{color:#0b1026;align-self:center;font-size:clamp(18px,3vh,26px);font-weight:900}.pd-question{box-sizing:border-box;background:#eef3fb;border-radius:16px;flex-direction:column;align-items:center;gap:10px;width:100%;max-width:640px;margin:0 auto;padding:14px clamp(16px,3vw,28px);display:flex}.pd-q-label{color:#4d5671;margin:0;font-size:clamp(13px,2vh,16px);font-weight:900}.pd-q-value{color:#0b1026;text-align:center;margin:0;font-size:clamp(22px,4vh,34px);font-weight:900}.pd-hint{box-sizing:border-box;color:#8a1c58;background:#ffe6f1;border-radius:14px;align-items:flex-start;gap:10px;width:100%;margin:0;padding:10px 14px;font-size:clamp(12px,1.9vh,14px);line-height:1.35;display:flex}.pd-hint-icon{color:#fff;background:#f0186f;border-radius:50%;flex:none;place-items:center;width:24px;height:24px;font-family:Times New Roman,serif;font-size:14px;font-style:italic;font-weight:900;display:grid}.pd-actions{grid-area:2/2;grid-template-columns:1fr 1.4fr 1.4fr;gap:14px;display:grid}.pd-actions button,.pd-mbtns button{cursor:pointer;border:0;border-radius:16px;justify-content:center;align-items:center;gap:12px;font-size:clamp(18px,3vh,26px);font-weight:900;display:flex}.pd-clear{color:#1a5fb4;background:#e4f1ff;box-shadow:inset 0 0 0 2px #b5d3f3}.pd-mark{color:#fff;background:#14b81a;box-shadow:0 5px #0e8a13}.pd-next{color:#fff;background:#ff1a8c;box-shadow:0 5px #c40e69}.pd-actions button:disabled,.pd-mbtns button:disabled{opacity:.45;cursor:default;box-shadow:none}@media (width>=851px) and (height<=760px){.pd-q-help{display:none}}@media (width<=850px){body.place-value-divide-page{flex-direction:column;height:100dvh;display:flex}.place-value-divide-page .pp-titlebar{flex-wrap:wrap;padding-bottom:2px}.place-value-divide-page .pp-title{text-align:center;flex:100%;order:3;margin-top:2px;display:block}.place-value-divide-page .pp-title h1{margin:0;font-size:26px;line-height:1.1}.place-value-divide-page .pp-title p{display:none}.pd-body{flex-direction:column;flex:1;gap:8px;height:auto;min-height:0;display:flex}.pd-side{display:contents}.pd-question-card,.pd-cheer{display:none}.pd-stage{border-radius:18px;flex:1;order:1;gap:8px;min-height:0;padding:10px 12px 12px}.pd-mhead{background:#d8f7f3;border-radius:12px;margin:0;padding:7px 12px;font-size:16px;font-weight:900;display:block}.pd-qnum{display:none}.pd-qline h2{text-align:center;width:100%;font-size:15px;line-height:1.3}.pd-work{gap:10px}.pd-board{--bh:clamp(28px,5.2vh,50px)}.pd-headers span{font-size:10px}.pd-sep,.pd-divide,.pd-equals{font-size:16px}.pd-fixedrow .pd-slot,.pd-fixedrow .pd-block,.pd-answerrow .pd-slot,.pd-answerrow .pd-block{font-size:clamp(16px,3.4vh,26px)}.pd-tilerow .pd-slot,.pd-tile{font-size:clamp(14px,2.9vh,22px)}.pd-question{gap:8px;padding:10px 14px}.pd-q-label{display:none}.pd-q-value{font-size:clamp(18px,3.4vh,26px)}.pd-hint{padding:8px 12px;font-size:13px}.pd-mfeedback{background:#d6f7e4;border-radius:14px;flex:none;align-items:center;gap:12px;padding:8px 12px;display:flex}.pd-mfeedback[hidden]{display:none}.pd-mfeedback[data-state=try]{background:#ffe6d1}.pd-mfeedback[data-state=done]{background:#fff0a8}.pd-mfeedback b{color:#0b1026;font-size:17px;display:block}.pd-mfeedback p{color:#0b1026;margin:2px 0 0;font-size:13px}.pd-mtick{color:#fff;background:#1fb865;border-radius:50%;flex:none;place-items:center;width:38px;height:38px;font-size:22px;font-weight:900;display:grid}.pd-mtick:before{content:"✓"}.pd-mfeedback[data-state=try] .pd-mtick{background:#ff8a1f}.pd-mfeedback[data-state=try] .pd-mtick:before{content:"!"}.pd-mfeedback[data-state=done] .pd-mtick{background:#ffc400}.pd-mfeedback[data-state=done] .pd-mtick:before{content:"★"}.pd-mbtns{flex:none;grid-template-columns:1fr 1.5fr;gap:10px;display:grid}.pd-mbtns button{border-radius:14px;gap:8px;height:48px;font-size:17px}.pd-progress{border-radius:16px;flex:none;order:2;padding:8px 14px}.pd-progress .pp-streak-head{font-size:17px}.pd-progress .pp-dots{gap:5px;margin:6px 0 0}.pd-progress .pp-dot{flex:1 1 0;max-width:none}.pd-actions{flex:none;order:3;height:50px;display:block}.pd-actions .pd-clear,.pd-actions .pd-mark{display:none}.pd-next{border-radius:14px;width:100%;height:100%;font-size:20px}.pd-actions .pd-next:disabled{opacity:1;color:#0b1026;box-shadow:none;background:#dbeafe}}@media (width<=850px) and (height<=700px){.pd-hint{display:none}.pd-qline h2{font-size:13px}.pd-mhead{padding:5px 10px}.pd-work,.pd-stage{gap:6px}}.pz-body{height:calc(100vh - var(--header-h) - 100px);grid-template-rows:minmax(0,1fr) 64px;grid-template-columns:clamp(240px,24vw,320px) minmax(0,1fr);gap:12px 16px;min-height:560px;display:grid}.pz-side{flex-direction:column;grid-area:1/1/3/2;gap:10px;min-height:0;display:flex}.pz-question-card{flex-direction:column;flex:1;min-height:0;display:flex}.pz-q-head{background:#d8f7f3;margin:0;padding:12px 16px;font-size:18px;font-weight:900}.pz-q-body{flex:1;min-height:0;padding:12px 16px;overflow:auto}.pz-q-title{margin:0 0 4px;font-size:18px;font-weight:900}.pz-q-help{color:#4d5671;margin:0 0 6px;font-size:14px;line-height:1.35}.pz-remember{background:#fff6dc;border-radius:14px;gap:10px;margin-top:8px;padding:8px 12px;font-size:13px;line-height:1.3;display:flex}.pz-remember ul{margin:2px 0 0;padding-left:16px}.pz-remember li{margin-bottom:3px}.pz-bulb{flex:none;font-size:24px;line-height:1}.pz-progress{padding:12px 16px}.pz-progress .pp-streak-head{font-size:18px}.pz-progress .pp-dots{gap:4px;margin:10px 0 2px}.pz-progress .pp-dot{min-width:0;max-width:26px;font-size:12px}.pz-cheer{background:linear-gradient(135deg,#e7dcff,#f3e9ff);border-radius:20px;align-items:center;gap:12px;padding:10px 16px;display:flex;box-shadow:0 10px 26px #0b10261a}.pz-cheer[data-state=good]{background:linear-gradient(135deg,#d6f7e4,#eafcf1)}.pz-cheer[data-state=try]{background:linear-gradient(135deg,#ffe6d1,#fff1e6)}.pz-cheer[data-state=done]{background:linear-gradient(135deg,#ffe98a,#fff6c8)}.pz-trophy{font-size:44px;line-height:1}.pz-cheer b{color:#6a1fe0;font-size:20px;display:block}.pz-cheer p{color:#3d4360;margin:2px 0 0;font-size:15px}.pz-stage{flex-direction:column;grid-area:1/2;gap:12px;min-height:0;padding:clamp(14px,2.4vh,26px) clamp(18px,3vw,38px);display:flex;overflow:auto}.pz-mhead,.pz-mfeedback,.pz-mbtns{display:none}.pz-qline{align-items:center;gap:16px;display:flex}.pz-qline h2{color:#6a1fe0;margin:0;font-size:clamp(16px,2.6vh,24px);line-height:1.3}.pz-qnum{aspect-ratio:1;color:#fff;background:#6a2ef0;border-radius:50%;flex:none;place-items:center;width:clamp(38px,6vh,54px);font-size:clamp(18px,3vh,28px);font-weight:900;display:grid}.pz-work{flex-direction:column;flex:1;justify-content:center;gap:clamp(14px,2.4vh,24px);min-height:0;display:flex}.pz-board{--bh:clamp(42px,7.4vh,68px);flex-direction:column;gap:4px;width:100%;max-width:920px;margin:0 auto;display:flex}.pz-headers{display:grid}.pz-headers span{text-align:center;color:#4d5671;padding-bottom:2px;font-size:clamp(11px,1.7vh,14px);font-weight:900;line-height:1.15}.pz-row{height:var(--bh);display:grid;position:relative}.pz-headers,.pz-row{grid-template-columns:repeat(2,minmax(0,1fr)) minmax(10px,3%) repeat(3,minmax(0,1fr)) minmax(10px,4%) repeat(3,minmax(0,1fr))}.pz-slot{box-sizing:border-box;color:#8992a8;background:#f7f9ff;border:2px solid #e3e8f2;justify-content:center;align-items:center;font-weight:900;display:flex;overflow:hidden}.pz-slot:first-child{border-radius:8px 0 0 8px}.pz-slot:last-child{border-radius:0 8px 8px 0}.pz-sep{color:#0b1026;justify-content:center;align-items:flex-end;padding-bottom:2px;font-size:clamp(15px,3vh,24px);font-weight:900;display:flex}.pz-headers .pz-sep{color:#4d5671;align-items:center;padding-bottom:0;font-size:clamp(13px,2.4vh,18px)}.pz-block,.pz-tile{box-sizing:border-box;border-radius:8px;justify-content:center;align-items:center;height:100%;font-weight:900;transition:left .5s cubic-bezier(.2,.8,.25,1),width .5s cubic-bezier(.2,.8,.25,1);display:flex;position:absolute;top:0}.pz-block.pz-instant,.pz-tile.pz-instant{transition:none}.pz-fixedrow .pz-slot,.pz-fixedrow .pz-block,.pz-answerrow .pz-slot,.pz-answerrow .pz-block{font-size:clamp(17px,3.4vh,28px)}.pz-tilerow .pz-slot,.pz-tile{font-size:clamp(15px,2.9vh,24px)}.pz-fixedrow .pz-block{color:#4d5671;background:#eef3fb;border:3px solid #c7d3e8}.pz-block-answer{color:#fff;background:#2f9bff;border:3px solid #1a6fd1}.pz-tile{color:#fff;cursor:grab;touch-action:none;z-index:2;background:#8b5cf6;border:3px solid #6234c4}.pz-tile:focus-visible{outline-offset:2px;outline:4px solid #6a2ef0}.pz-tile.pz-lifted{opacity:.75;cursor:grabbing}.pz-times,.pz-equals{color:#0b1026;align-self:center;font-size:clamp(18px,3vh,26px);font-weight:900}.pz-question{box-sizing:border-box;background:#eef3fb;border-radius:16px;flex-direction:column;align-items:center;gap:10px;width:100%;max-width:920px;margin:0 auto;padding:14px clamp(16px,3vw,28px);display:flex}.pz-q-label{color:#4d5671;margin:0;font-size:clamp(13px,2vh,16px);font-weight:900}.pz-q-value{color:#0b1026;text-align:center;margin:0;font-size:clamp(20px,3.6vh,30px);font-weight:900}.pz-hint{box-sizing:border-box;color:#8a1c58;background:#ffe6f1;border-radius:14px;align-items:flex-start;gap:10px;width:100%;margin:0;padding:10px 14px;font-size:clamp(12px,1.9vh,14px);line-height:1.35;display:flex}.pz-hint-icon{color:#fff;background:#f0186f;border-radius:50%;flex:none;place-items:center;width:24px;height:24px;font-family:Times New Roman,serif;font-size:14px;font-style:italic;font-weight:900;display:grid}.pz-actions{grid-area:2/2;grid-template-columns:1fr 1.4fr 1.4fr;gap:14px;display:grid}.pz-actions button,.pz-mbtns button{cursor:pointer;border:0;border-radius:16px;justify-content:center;align-items:center;gap:12px;font-size:clamp(18px,3vh,26px);font-weight:900;display:flex}.pz-clear{color:#1a5fb4;background:#e4f1ff;box-shadow:inset 0 0 0 2px #b5d3f3}.pz-mark{color:#fff;background:#14b81a;box-shadow:0 5px #0e8a13}.pz-next{color:#fff;background:#ff1a8c;box-shadow:0 5px #c40e69}.pz-actions button:disabled,.pz-mbtns button:disabled{opacity:.45;cursor:default;box-shadow:none}@media (width>=851px) and (height<=760px){.pz-q-help{display:none}}@media (width<=850px){body.place-value-multiply-decimals-page{flex-direction:column;height:100dvh;display:flex}.place-value-multiply-decimals-page .pp-titlebar{flex-wrap:wrap;padding-bottom:2px}.place-value-multiply-decimals-page .pp-title{text-align:center;flex:100%;order:3;margin-top:2px;display:block}.place-value-multiply-decimals-page .pp-title h1{margin:0;font-size:22px;line-height:1.1}.place-value-multiply-decimals-page .pp-title p{display:none}.pz-body{flex-direction:column;flex:1;gap:8px;height:auto;min-height:0;display:flex}.pz-side{display:contents}.pz-question-card,.pz-cheer{display:none}.pz-stage{border-radius:18px;flex:1;order:1;gap:6px;min-height:0;padding:10px 12px 12px;overflow-y:auto}.pz-mhead{background:#d8f7f3;border-radius:12px;margin:0;padding:7px 12px;font-size:16px;font-weight:900;display:block}.pz-qnum{display:none}.pz-qline h2{text-align:center;width:100%;font-size:14px;line-height:1.3}.pz-work{gap:10px}.pz-board{--bh:clamp(24px,4.4vh,36px);gap:2px}.pz-headers{display:none}.pz-sep{font-size:13px}.pz-times,.pz-equals{font-size:14px}.pz-fixedrow .pz-slot,.pz-fixedrow .pz-block,.pz-answerrow .pz-slot,.pz-answerrow .pz-block{font-size:clamp(13px,3vh,20px)}.pz-tilerow .pz-slot,.pz-tile{font-size:clamp(12px,2.6vh,18px)}.pz-question{gap:8px;padding:10px 14px}.pz-q-label{display:none}.pz-q-value{font-size:clamp(16px,3vh,22px)}.pz-hint{padding:8px 10px;font-size:12px}.pz-mfeedback{background:#d6f7e4;border-radius:14px;flex:none;align-items:center;gap:12px;padding:8px 12px;display:flex}.pz-mfeedback[hidden]{display:none}.pz-mfeedback[data-state=try]{background:#ffe6d1}.pz-mfeedback[data-state=done]{background:#fff0a8}.pz-mfeedback b{color:#0b1026;font-size:17px;display:block}.pz-mfeedback p{color:#0b1026;margin:2px 0 0;font-size:13px}.pz-mtick{color:#fff;background:#1fb865;border-radius:50%;flex:none;place-items:center;width:38px;height:38px;font-size:22px;font-weight:900;display:grid}.pz-mtick:before{content:"✓"}.pz-mfeedback[data-state=try] .pz-mtick{background:#ff8a1f}.pz-mfeedback[data-state=try] .pz-mtick:before{content:"!"}.pz-mfeedback[data-state=done] .pz-mtick{background:#ffc400}.pz-mfeedback[data-state=done] .pz-mtick:before{content:"★"}.pz-mbtns{flex:none;grid-template-columns:1fr 1.5fr;gap:10px;display:grid}.pz-mbtns button{border-radius:14px;gap:8px;height:48px;font-size:17px}.pz-progress{border-radius:16px;flex:none;order:2;padding:8px 14px}.pz-progress .pp-streak-head{font-size:17px}.pz-progress .pp-dots{gap:5px;margin:6px 0 0}.pz-progress .pp-dot{flex:1 1 0;max-width:none}.pz-actions{flex:none;order:3;height:50px;display:block}.pz-actions .pz-clear,.pz-actions .pz-mark{display:none}.pz-next{border-radius:14px;width:100%;height:100%;font-size:20px}.pz-actions .pz-next:disabled{opacity:1;color:#0b1026;box-shadow:none;background:#dbeafe}}@media (width<=850px) and (height<=700px){.pz-hint{display:none}.pz-qline h2{font-size:12px}.pz-mhead{padding:5px 10px}.pz-work,.pz-stage{gap:6px}}.pw-body{height:calc(100vh - var(--header-h) - 100px);grid-template-rows:minmax(0,1fr) 64px;grid-template-columns:clamp(240px,24vw,320px) minmax(0,1fr);gap:12px 16px;min-height:560px;display:grid}.pw-side{flex-direction:column;grid-area:1/1/3/2;gap:10px;min-height:0;display:flex}.pw-question-card{flex-direction:column;flex:1;min-height:0;display:flex}.pw-q-head{background:#d8f7f3;margin:0;padding:12px 16px;font-size:18px;font-weight:900}.pw-q-body{flex:1;min-height:0;padding:12px 16px;overflow:auto}.pw-q-title{margin:0 0 4px;font-size:18px;font-weight:900}.pw-q-help{color:#4d5671;margin:0 0 6px;font-size:14px;line-height:1.35}.pw-remember{background:#fff6dc;border-radius:14px;gap:10px;margin-top:8px;padding:8px 12px;font-size:13px;line-height:1.3;display:flex}.pw-remember ul{margin:2px 0 0;padding-left:16px}.pw-remember li{margin-bottom:3px}.pw-bulb{flex:none;font-size:24px;line-height:1}.pw-progress{padding:12px 16px}.pw-progress .pp-streak-head{font-size:18px}.pw-progress .pp-dots{gap:4px;margin:10px 0 2px}.pw-progress .pp-dot{min-width:0;max-width:26px;font-size:12px}.pw-cheer{background:linear-gradient(135deg,#e7dcff,#f3e9ff);border-radius:20px;align-items:center;gap:12px;padding:10px 16px;display:flex;box-shadow:0 10px 26px #0b10261a}.pw-cheer[data-state=good]{background:linear-gradient(135deg,#d6f7e4,#eafcf1)}.pw-cheer[data-state=try]{background:linear-gradient(135deg,#ffe6d1,#fff1e6)}.pw-cheer[data-state=done]{background:linear-gradient(135deg,#ffe98a,#fff6c8)}.pw-trophy{font-size:44px;line-height:1}.pw-cheer b{color:#6a1fe0;font-size:20px;display:block}.pw-cheer p{color:#3d4360;margin:2px 0 0;font-size:15px}.pw-stage{flex-direction:column;grid-area:1/2;gap:12px;min-height:0;padding:clamp(14px,2.4vh,26px) clamp(18px,3vw,38px);display:flex;overflow:auto}.pw-mhead,.pw-mfeedback,.pw-mbtns{display:none}.pw-qline{align-items:center;gap:16px;display:flex}.pw-qline h2{color:#6a1fe0;margin:0;font-size:clamp(16px,2.6vh,24px);line-height:1.3}.pw-qnum{aspect-ratio:1;color:#fff;background:#6a2ef0;border-radius:50%;flex:none;place-items:center;width:clamp(38px,6vh,54px);font-size:clamp(18px,3vh,28px);font-weight:900;display:grid}.pw-work{flex-direction:column;flex:1;justify-content:center;gap:clamp(14px,2.4vh,24px);min-height:0;display:flex}.pw-board{--bh:clamp(42px,7.4vh,68px);flex-direction:column;gap:4px;width:100%;max-width:920px;margin:0 auto;display:flex}.pw-headers{display:grid}.pw-headers span{text-align:center;color:#4d5671;padding-bottom:2px;font-size:clamp(11px,1.7vh,14px);font-weight:900;line-height:1.15}.pw-row{height:var(--bh);display:grid;position:relative}.pw-headers,.pw-row{grid-template-columns:repeat(2,minmax(0,1fr)) minmax(10px,3%) repeat(3,minmax(0,1fr)) minmax(10px,4%) repeat(3,minmax(0,1fr))}.pw-slot{box-sizing:border-box;color:#8992a8;background:#f7f9ff;border:2px solid #e3e8f2;justify-content:center;align-items:center;font-weight:900;display:flex;overflow:hidden}.pw-slot:first-child{border-radius:8px 0 0 8px}.pw-slot:last-child{border-radius:0 8px 8px 0}.pw-sep{color:#0b1026;justify-content:center;align-items:flex-end;padding-bottom:2px;font-size:clamp(15px,3vh,24px);font-weight:900;display:flex}.pw-headers .pw-sep{color:#4d5671;align-items:center;padding-bottom:0;font-size:clamp(13px,2.4vh,18px)}.pw-block,.pw-tile{box-sizing:border-box;border-radius:8px;justify-content:center;align-items:center;height:100%;font-weight:900;transition:left .5s cubic-bezier(.2,.8,.25,1),width .5s cubic-bezier(.2,.8,.25,1);display:flex;position:absolute;top:0}.pw-block.pw-instant,.pw-tile.pw-instant{transition:none}.pw-fixedrow .pw-slot,.pw-fixedrow .pw-block,.pw-answerrow .pw-slot,.pw-answerrow .pw-block{font-size:clamp(17px,3.4vh,28px)}.pw-tilerow .pw-slot,.pw-tile{font-size:clamp(15px,2.9vh,24px)}.pw-fixedrow .pw-block{color:#4d5671;background:#eef3fb;border:3px solid #c7d3e8}.pw-block-answer{color:#fff;background:#2f9bff;border:3px solid #1a6fd1}.pw-tile{color:#fff;cursor:grab;touch-action:none;z-index:2;background:#8b5cf6;border:3px solid #6234c4}.pw-tile:focus-visible{outline-offset:2px;outline:4px solid #6a2ef0}.pw-tile.pw-lifted{opacity:.75;cursor:grabbing}.pw-divide,.pw-equals{color:#0b1026;align-self:center;font-size:clamp(18px,3vh,26px);font-weight:900}.pw-question{box-sizing:border-box;background:#eef3fb;border-radius:16px;flex-direction:column;align-items:center;gap:10px;width:100%;max-width:920px;margin:0 auto;padding:14px clamp(16px,3vw,28px);display:flex}.pw-q-label{color:#4d5671;margin:0;font-size:clamp(13px,2vh,16px);font-weight:900}.pw-q-value{color:#0b1026;text-align:center;margin:0;font-size:clamp(20px,3.6vh,30px);font-weight:900}.pw-hint{box-sizing:border-box;color:#8a1c58;background:#ffe6f1;border-radius:14px;align-items:flex-start;gap:10px;width:100%;margin:0;padding:10px 14px;font-size:clamp(12px,1.9vh,14px);line-height:1.35;display:flex}.pw-hint-icon{color:#fff;background:#f0186f;border-radius:50%;flex:none;place-items:center;width:24px;height:24px;font-family:Times New Roman,serif;font-size:14px;font-style:italic;font-weight:900;display:grid}.pw-actions{grid-area:2/2;grid-template-columns:1fr 1.4fr 1.4fr;gap:14px;display:grid}.pw-actions button,.pw-mbtns button{cursor:pointer;border:0;border-radius:16px;justify-content:center;align-items:center;gap:12px;font-size:clamp(18px,3vh,26px);font-weight:900;display:flex}.pw-clear{color:#1a5fb4;background:#e4f1ff;box-shadow:inset 0 0 0 2px #b5d3f3}.pw-mark{color:#fff;background:#14b81a;box-shadow:0 5px #0e8a13}.pw-next{color:#fff;background:#ff1a8c;box-shadow:0 5px #c40e69}.pw-actions button:disabled,.pw-mbtns button:disabled{opacity:.45;cursor:default;box-shadow:none}@media (width>=851px) and (height<=760px){.pw-q-help{display:none}}@media (width<=850px){body.place-value-divide-decimals-page{flex-direction:column;height:100dvh;display:flex}.place-value-divide-decimals-page .pp-titlebar{flex-wrap:wrap;padding-bottom:2px}.place-value-divide-decimals-page .pp-title{text-align:center;flex:100%;order:3;margin-top:2px;display:block}.place-value-divide-decimals-page .pp-title h1{margin:0;font-size:22px;line-height:1.1}.place-value-divide-decimals-page .pp-title p{display:none}.pw-body{flex-direction:column;flex:1;gap:8px;height:auto;min-height:0;display:flex}.pw-side{display:contents}.pw-question-card,.pw-cheer{display:none}.pw-stage{border-radius:18px;flex:1;order:1;gap:6px;min-height:0;padding:10px 12px 12px;overflow-y:auto}.pw-mhead{background:#d8f7f3;border-radius:12px;margin:0;padding:7px 12px;font-size:16px;font-weight:900;display:block}.pw-qnum{display:none}.pw-qline h2{text-align:center;width:100%;font-size:14px;line-height:1.3}.pw-work{gap:10px}.pw-board{--bh:clamp(24px,4.4vh,36px);gap:2px}.pw-headers{display:none}.pw-sep{font-size:13px}.pw-divide,.pw-equals{font-size:14px}.pw-fixedrow .pw-slot,.pw-fixedrow .pw-block,.pw-answerrow .pw-slot,.pw-answerrow .pw-block{font-size:clamp(13px,3vh,20px)}.pw-tilerow .pw-slot,.pw-tile{font-size:clamp(12px,2.6vh,18px)}.pw-question{gap:8px;padding:10px 14px}.pw-q-label{display:none}.pw-q-value{font-size:clamp(16px,3vh,22px)}.pw-hint{padding:8px 10px;font-size:12px}.pw-mfeedback{background:#d6f7e4;border-radius:14px;flex:none;align-items:center;gap:12px;padding:8px 12px;display:flex}.pw-mfeedback[hidden]{display:none}.pw-mfeedback[data-state=try]{background:#ffe6d1}.pw-mfeedback[data-state=done]{background:#fff0a8}.pw-mfeedback b{color:#0b1026;font-size:17px;display:block}.pw-mfeedback p{color:#0b1026;margin:2px 0 0;font-size:13px}.pw-mtick{color:#fff;background:#1fb865;border-radius:50%;flex:none;place-items:center;width:38px;height:38px;font-size:22px;font-weight:900;display:grid}.pw-mtick:before{content:"✓"}.pw-mfeedback[data-state=try] .pw-mtick{background:#ff8a1f}.pw-mfeedback[data-state=try] .pw-mtick:before{content:"!"}.pw-mfeedback[data-state=done] .pw-mtick{background:#ffc400}.pw-mfeedback[data-state=done] .pw-mtick:before{content:"★"}.pw-mbtns{flex:none;grid-template-columns:1fr 1.5fr;gap:10px;display:grid}.pw-mbtns button{border-radius:14px;gap:8px;height:48px;font-size:17px}.pw-progress{border-radius:16px;flex:none;order:2;padding:8px 14px}.pw-progress .pp-streak-head{font-size:17px}.pw-progress .pp-dots{gap:5px;margin:6px 0 0}.pw-progress .pp-dot{flex:1 1 0;max-width:none}.pw-actions{flex:none;order:3;height:50px;display:block}.pw-actions .pw-clear,.pw-actions .pw-mark{display:none}.pw-next{border-radius:14px;width:100%;height:100%;font-size:20px}.pw-actions .pw-next:disabled{opacity:1;color:#0b1026;box-shadow:none;background:#dbeafe}}@media (width<=850px) and (height<=700px){.pw-hint{display:none}.pw-qline h2{font-size:12px}.pw-mhead{padding:5px 10px}.pw-work,.pw-stage{gap:6px}}body.multiplication-grid-page{background:radial-gradient(circle at 0 100%,#d9d2ff 0,#0000 32%),radial-gradient(circle at 100% 20%,#cfe6ff 0,#0000 30%),linear-gradient(#eef5ff,#e8efff);min-height:100vh}.mg-sr{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.mg-body{height:calc(100vh - var(--header-h) - 100px);grid-template-columns:clamp(260px,26vw,350px) minmax(0,1fr);gap:14px 16px;min-height:560px;display:grid}.mg-side{flex-direction:column;gap:10px;min-height:0;display:flex;overflow:auto}.mg-tables-card{flex:none;padding:10px 14px 12px}.mg-tables-head{white-space:nowrap;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 8px;font-size:16px;display:flex}.mg-tables-actions{gap:6px;display:flex}.mg-tables-btn{color:#0b1026;cursor:pointer;background:#edf0f7;border:0;border-radius:999px;padding:5px 11px;font-size:13px;font-weight:850}.mg-tables-btn:hover{background:#ffe600}.mg-tables{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-top:9px;display:grid}.mg-table-tile{aspect-ratio:1.25;color:#8a91a3;cursor:pointer;touch-action:manipulation;background:#fff;border:2px solid #c9d1e2;border-radius:12px;font-size:20px;font-weight:1000;transition:background-color .15s,transform .1s}.mg-table-tile[aria-pressed=true]{color:#fff;background:#26b4ff;border-color:#1690d4;box-shadow:0 3px #1690d4}.mg-table-tile:active{transform:translateY(2px)}.mg-table-tile:focus-visible,.mg-tables-btn:focus-visible{outline-offset:2px;outline:4px solid #3d5bff}.mg-prompt-card{flex-direction:column;flex:none;display:flex;container-type:inline-size}.mg-q-head{background:#d8f7f3;justify-content:space-between;align-items:center;padding:12px 18px;font-size:17px;font-weight:900;display:flex}.mg-timer{font-variant-numeric:tabular-nums;color:#0a7f79;background:#fff;border-radius:10px;padding:3px 10px}.mg-prompt{text-align:center;font-variant-numeric:tabular-nums;color:#0b1026;white-space:nowrap;margin:0;padding:14px 10px 4px;font-size:min(64px,15cqi);font-weight:1000;line-height:1.1}.mg-prompt #mgA,.mg-prompt #mgB{color:#7b2cfb}.mg-ans{color:#3d5bff;min-width:1.3em;display:inline-block}.mg-feedback{text-align:center;color:#0b1026;background:#f0f3fa;border-radius:14px;justify-content:center;align-items:center;min-height:3.4em;margin:0 12px 12px;padding:8px 12px;font-size:16px;font-weight:800;line-height:1.3;display:flex}.mg-feedback[data-state=good]{color:#0b5d33;background:#d6f7e4}.mg-feedback[data-state=try]{color:#7a3a00;background:#ffe9d6}.mg-feedback[data-state=show]{color:#5a4500;background:#fff6c8}.mg-start-slot{flex-direction:column;align-items:stretch;gap:6px;margin:0 12px 12px;display:flex}.mg-start-slot[hidden],.mg-feedback[hidden]{display:none}.mg-start{padding:12px 20px;font-size:24px}.mg-start-note{text-align:center;color:#5b6380;border-radius:10px;margin:0;padding:4px 6px;font-size:14px;font-weight:700}.mg-start-note[data-state=try]{color:#7a3a00;background:#ffe9d6}.mg-tables-card.mg-tables-prompt{animation:.35s ease-in-out 2 mg-nudge;box-shadow:0 0 0 4px #ff8a1f,0 10px 26px #0b10261a}@media (prefers-reduced-motion:reduce){.mg-tables-card.mg-tables-prompt{animation:none}}.mg-stage[data-mode=ready] .mg-cell{cursor:default}.mg-progress-card{flex:none;padding:12px 18px}.mg-mastery{color:#3d4360;margin:6px 0 0;font-size:14px;line-height:1.6}.mg-mastery b{color:#0b1026}.mg-key{font-size:13px}.mg-key-confident{color:#1a9c55}.mg-key-developing{color:#d98a00}.mg-key-learning{color:#c2495d}.mg-storage-note{color:#7a3a00;margin:6px 0 0;font-size:13px}.mg-map-card{flex:none;padding:10px 18px 14px}.mg-map-card summary{cursor:pointer;font-size:16px;font-weight:900}.mg-map{border-collapse:separate;border-spacing:2px;table-layout:fixed;width:100%;max-width:240px;margin:10px auto 6px}.mg-map td{aspect-ratio:1;border-radius:3px;padding:0}[data-state=confident].mg-sw,.mg-map td[data-state=confident]{background:#2fbf6d}[data-state=developing].mg-sw,.mg-map td[data-state=developing]{background:#ffbf3c}[data-state=learning].mg-sw,.mg-map td[data-state=learning]{background:#e58a99}[data-state=unpractised].mg-sw,.mg-map td[data-state=unpractised]{background:#e3e7ef}.mg-map-legend{text-align:center;color:#3d4360;margin:0;font-size:12px}.mg-sw{vertical-align:-1px;border-radius:3px;width:11px;height:11px;margin:0 3px 0 8px;display:inline-block}.mg-reset{color:#5b6380;cursor:pointer;background:0 0;border:0;margin:10px auto 0;font-size:13px;font-weight:700;text-decoration:underline;display:block}.mg-stage{border-radius:24px;place-items:center;min-height:0;padding:12px;display:grid;position:relative}.mg-grid-wrap{place-items:center;width:100%;height:100%;min-height:0;display:grid;container-type:size}.mg-grid{--mg-cell:calc(min(100cqw,100cqh) / 11);width:calc(var(--mg-cell) * 11);height:calc(var(--mg-cell) * 11);border-collapse:separate;border-spacing:0;table-layout:fixed;font-variant-numeric:tabular-nums;-webkit-user-select:none;user-select:none}.mg-grid th,.mg-grid td{width:var(--mg-cell);height:var(--mg-cell);text-align:center;font-size:calc(var(--mg-cell) * .4);padding:0;transition:opacity .25s,background-color .2s}.mg-corner{color:#ffe600;background:#0b1026;border-radius:12px 0 0;font-weight:1000}.mg-head{color:#0b1026;background:#ffe600;font-weight:1000}.mg-col-head:last-child{border-radius:0 12px 0 0}.mg-cell{color:#0b1026;cursor:pointer;touch-action:manipulation;background:#fff;border:1px solid #e1e6f0;outline:none;font-weight:800}.mg-grid tbody tr:nth-child(odd) .mg-cell{background:#f7f9ff}.mg-cell:hover{background:#e7efff!important}.mg-cell.mg-out{color:#9aa1b2;border-color:#c8ced9;background:#d5dae3!important}.mg-head.mg-out{color:#8a91a3;background:#d5dae3}.mg-cell:focus-visible{z-index:1;position:relative;box-shadow:inset 0 0 0 4px #3d5bff}.mg-grid[data-hint="1"] .mg-cell,.mg-grid[data-hint="2"] .mg-cell{color:#9aa1b2;border-color:#c8ced9;background:#d5dae3!important}.mg-grid[data-hint="1"] .mg-head,.mg-grid[data-hint="2"] .mg-head{color:#8a91a3;background:#d5dae3}.mg-grid .mg-cell.mg-lit{color:#0b1026;border-color:#26a3ec;font-weight:1000;background:#7fcbff!important}.mg-grid .mg-head.mg-lit{color:#fff;background:#0f8fe0}.mg-grid .mg-cell.mg-target{animation:1.1s ease-in-out infinite mg-pulse;box-shadow:inset 0 0 0 4px #ffb400;background:#fff3a6!important}@keyframes mg-pulse{50%{background:#ffe866;box-shadow:inset 0 0 0 7px #ffb400}}.mg-cell.mg-correct{color:#fff;font-weight:1000;box-shadow:inset 0 0 0 3px #0e8a4a;opacity:1!important;background:#1fb865!important}.mg-cell.mg-correct:after,.mg-cell.mg-reveal:after{content:"✓";vertical-align:super;margin-left:1px;font-size:.55em}.mg-cell.mg-reveal{color:#0b1026;font-weight:1000;box-shadow:inset 0 0 0 3px #d98a00;opacity:1!important;background:#ffbf3c!important}.mg-grid .mg-cell.mg-wrong{animation:.35s ease-in-out mg-nudge;box-shadow:inset 0 0 0 3px #ff8a1f;background:#ffd9c2!important}.mg-cell.mg-wrong:after{content:"✗";vertical-align:super;color:#c25400;margin-left:1px;font-size:.5em}@keyframes mg-nudge{25%{transform:translate(-3px)}75%{transform:translate(3px)}}.mg-stage[data-operation=division] .mg-head{cursor:pointer;touch-action:manipulation;outline:none}.mg-stage[data-operation=division] .mg-grid .mg-head:not(.mg-lit,.mg-target,.mg-correct,.mg-reveal,.mg-wrong){color:#0b1026;opacity:1;background:#ffe600}.mg-stage[data-operation=division] .mg-head:hover{filter:brightness(.95)}.mg-stage[data-operation=division] .mg-head:focus-visible{z-index:1;position:relative;box-shadow:inset 0 0 0 4px #3d5bff}.mg-grid .mg-head.mg-target{color:#0b1026;background:#fff3a6;animation:1.1s ease-in-out infinite mg-pulse;box-shadow:inset 0 0 0 4px #ffb400}.mg-grid .mg-head.mg-correct{color:#fff;background:#1fb865;box-shadow:inset 0 0 0 3px #0e8a4a}.mg-grid .mg-head.mg-reveal{color:#0b1026;background:#ffbf3c;box-shadow:inset 0 0 0 3px #d98a00}.mg-grid .mg-head.mg-wrong{color:#7a3a00;background:#ffd9c2;animation:.35s ease-in-out mg-nudge;box-shadow:inset 0 0 0 3px #ff8a1f}@media (prefers-reduced-motion:reduce){.mg-grid th,.mg-grid td{transition:none}.mg-grid .mg-cell.mg-target{animation:none;box-shadow:inset 0 0 0 7px #ffb400;background:#ffe866!important}.mg-grid .mg-cell.mg-wrong,.mg-grid .mg-head.mg-wrong{animation:none}.mg-grid .mg-head.mg-target{background:#ffe866;animation:none;box-shadow:inset 0 0 0 7px #ffb400}}.mg-stage[data-mode=recall] .mg-grid-wrap,.mg-stage[data-mode=summary] .mg-grid-wrap{visibility:hidden}.mg-recall,.mg-summary{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:12px;display:flex;position:absolute;inset:12px}.mg-recall[hidden],.mg-summary[hidden]{display:none}.mg-recall-title{color:#3d4360;margin:0;font-size:20px;font-weight:900}.mg-recall-prompt{color:#7b2cfb;font-variant-numeric:tabular-nums;margin:0;font-size:clamp(54px,8vw,96px);font-weight:1000;line-height:1}.mg-recall-form{flex-direction:column;align-items:center;gap:12px;display:flex}.mg-recall-input{text-align:center;color:#0b1026;border:4px solid #0b1026;border-radius:18px;width:3.2em;padding:4px;font-size:48px;font-weight:1000;box-shadow:5px 5px #00e5d6}.mg-recall-input:focus{outline-offset:3px;outline:4px solid #3d5bff}.mg-keypad{grid-template-columns:repeat(3,64px);gap:8px;display:grid}.mg-key-btn{color:#0b1026;cursor:pointer;touch-action:manipulation;background:#edf0f7;border:0;border-radius:14px;height:56px;font-size:24px;font-weight:1000;box-shadow:0 4px #c9cfdd}.mg-key-btn:active{transform:translateY(2px);box-shadow:0 2px #c9cfdd}.mg-key-btn:focus-visible,.mg-btn:focus-visible{outline-offset:2px;outline:4px solid #3d5bff}.mg-key-ok{color:#fff;background:#14b81a;box-shadow:0 4px #0e8a13}.mg-summary h2{color:#6a1fe0;margin:0;font-size:clamp(28px,3vw,40px)}.mg-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:min(560px,100%);margin:0;display:grid}.mg-stats div{background:#f4f7fb;border-radius:16px;padding:12px 8px}.mg-stats dt{color:#5b6380;font-size:13px;font-weight:800}.mg-stats dd{color:#0b1026;margin:4px 0 0;font-size:26px;font-weight:1000}.mg-summary-actions{flex-wrap:wrap;justify-content:center;gap:10px;margin-top:6px;display:flex}.mg-btn{cursor:pointer;color:#fff;border:0;border-radius:16px;justify-content:center;align-items:center;gap:8px;padding:13px 20px;font-size:19px;font-weight:900;text-decoration:none;display:inline-flex}.mg-btn-go{background:#ff1a8c;box-shadow:0 5px #c40e69}.mg-btn-practise{background:#26b4ff;box-shadow:0 5px #1690d4}.mg-btn-back{color:#0b1026;background:#d9e9ff;box-shadow:0 5px #b5cdee}.mg-btn:active{transform:translateY(3px)}@media (width<=850px){body.multiplication-grid-page{background:linear-gradient(#eef5ff,#e9f0ff 60%,#f3ecff)}.mg-body{flex-direction:column;gap:8px;height:auto;min-height:0;display:flex}.mg-side{display:contents}.mg-tables-card{border-radius:16px;order:0;padding:7px 10px 8px}.mg-tables-head{font-size:14px}.mg-tables-btn{padding:4px 9px;font-size:12px}.mg-tables{grid-template-columns:repeat(10,minmax(0,1fr));gap:4px;margin-top:6px}.mg-table-tile{aspect-ratio:1;border-radius:9px;font-size:16px}.mg-prompt-card{border-radius:16px;order:1}.mg-q-head{padding:7px 12px;font-size:15px}.mg-prompt{padding:6px 8px 2px;font-size:min(44px,11cqi)}.mg-start-slot{gap:4px;margin:0 8px 8px}.mg-start{padding:9px 16px;font-size:20px}.mg-start-note{font-size:12px}.mg-feedback{min-height:2.8em;margin:0 8px 8px;padding:6px 10px;font-size:14px}.mg-stage{border-radius:16px;order:2;padding:6px}.mg-grid-wrap{aspect-ratio:1;width:100%;height:auto}.mg-grid th,.mg-grid td{font-size:calc(var(--mg-cell) * .44)}.mg-cell.mg-correct:after,.mg-cell.mg-reveal:after,.mg-cell.mg-wrong:after{margin:0;font-size:.42em;position:absolute}.mg-cell{position:relative}.mg-progress-card{border-radius:16px;order:3;padding:8px 14px}.mg-map-card{border-radius:16px;order:4}.mg-recall,.mg-summary{gap:8px;padding:6px;inset:6px}.mg-recall-title{font-size:16px}.mg-recall-prompt{font-size:52px}.mg-recall-input{font-size:36px}.mg-keypad{grid-template-columns:repeat(3,58px);gap:6px}.mg-key-btn{height:46px;font-size:21px}.mg-stats{gap:6px}.mg-stats div{border-radius:12px;padding:7px 4px}.mg-stats dt{font-size:11px}.mg-stats dd{font-size:19px}.mg-btn{padding:10px 14px;font-size:16px}}body.prime-factors-page{-webkit-tap-highlight-color:transparent;background:radial-gradient(circle at 0 100%,#d9d2ff 0,#0000 32%),radial-gradient(circle at 100% 20%,#cfe6ff 0,#0000 30%),linear-gradient(#eef5ff,#e8efff);min-height:100vh}.pfac-body{height:calc(100vh - var(--header-h) - 100px);grid-template-rows:auto auto minmax(0,1fr);grid-template-columns:minmax(0,1fr);gap:10px;min-height:560px;display:grid}.pfac-bar-card{min-width:0;padding:10px 14px 12px}.pfac-bar-title{font-size:17px;display:block}.pfac-bar-row{align-items:center;gap:12px;margin-top:9px;display:flex}.pfac-claim{color:#fff;cursor:pointer;touch-action:manipulation;background:#e5252a;border:0;border-radius:14px;flex:none;min-width:96px;height:54px;padding:0 20px;font-size:24px;font-weight:1000;box-shadow:0 4px #a8161a}.pfac-claim:active:not(:disabled){transform:translateY(3px)}.pfac-claim:disabled{color:#8a91a3;cursor:default;background:#d5d9e6;box-shadow:0 4px #bfc5d6}.pfac-primes{scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;flex:1;align-items:center;gap:8px;min-width:0;min-height:62px;padding:4px 2px 8px;display:flex;overflow-x:auto}.pfac-prime{color:#fff;cursor:pointer;touch-action:manipulation;scroll-snap-align:start;background:#26b4ff;border:2px solid #1690d4;border-radius:14px;flex:none;min-width:58px;height:54px;padding:0 14px;font-size:26px;font-weight:1000;box-shadow:0 4px #1690d4}.pfac-prime:active:not(:disabled){transform:translateY(3px)}.pfac-prime:disabled{color:#8a91a3;cursor:default;background:#e4e8f2;border-color:#c9d1e2;box-shadow:0 4px #c9d1e2}.pfac-pop{animation:.5s ease-out pfac-pop}@keyframes pfac-pop{0%{transform:scale(.3)}60%{transform:scale(1.2)}to{transform:scale(1)}}.pfac-status{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;min-width:0;padding:8px 16px;display:grid}.pfac-stat{color:#5b6380;text-transform:uppercase;letter-spacing:.5px;flex-direction:column;flex:none;align-items:center;min-width:64px;font-size:13px;font-weight:800;display:flex}.pfac-stat b{color:#e0245e;letter-spacing:2px;text-transform:none;font-size:24px}#pfacBest{color:#0b1026;letter-spacing:0}.pfac-feedback{-webkit-line-clamp:2;line-clamp:2;text-align:center;cursor:pointer;overflow-wrap:anywhere;color:#0b1026;background:#f0f3fa;border-radius:14px;-webkit-box-orient:vertical;align-content:center;min-width:0;min-height:2.6em;margin:0;padding:6px 12px;font-size:17px;font-weight:800;line-height:1.3;display:-webkit-box;overflow:hidden}.pfac-feedback[aria-expanded=true]{-webkit-line-clamp:unset;line-clamp:unset;display:block;overflow:visible}.pfac-feedback:focus-visible{outline-offset:2px;outline:4px solid #3d5bff}.pfac-feedback[data-state=good]{color:#0b5d33;background:#d6f7e4}.pfac-feedback[data-state=bad]{color:#7a3a00;background:#ffe9d6}.pfac-shake{animation:.35s pfac-shake}@keyframes pfac-shake{25%{transform:translate(-6px)}75%{transform:translate(6px)}}.pfac-pane-card{min-height:0;display:flex;position:relative}.pfac-pane{scroll-behavior:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;flex:1;padding:12px 16px 40vh;overflow-y:auto}.pfac-row{align-items:center;gap:10px;margin-bottom:8px;display:flex}.pfac-num{color:#0b1026;font-variant-numeric:tabular-nums;cursor:pointer;touch-action:manipulation;background:#fff;border:2px solid #0b1026;border-radius:12px;flex:none;width:76px;height:56px;font-size:28px;font-weight:1000;box-shadow:0 4px #0b1026}.pfac-num:disabled{cursor:default}.pfac-factors{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;display:flex}.pfac-tile{font-variant-numeric:tabular-nums;color:#1690d4;background:#fff;border:2px solid #1690d4;border-radius:12px;justify-content:center;align-items:center;min-width:52px;height:52px;padding:0 10px;font-size:26px;font-weight:1000;display:inline-flex}.pfac-tile-blank{color:#b6bfd6;border-style:dashed;border-color:#b6bfd6}.pfac-tile-new{background:#e5f5ff}.pfac-tile-done{color:#0b5d33;background:#d6f7e4;border-color:#1f9d57}.pfac-tile-prime{color:#5a4500;background:#fff6c8;border-color:#e0b400}.pfac-times{color:#5b6380;font-size:22px;font-weight:900}.pfac-row[data-state=done] .pfac-num{color:#5b6380;background:#edf0f7;border-color:#8a91a3;box-shadow:0 4px #8a91a3}.pfac-row[data-state=locked] .pfac-num{color:#b0b7c9;background:#f4f6fb;border-color:#c9d1e2;box-shadow:0 4px #c9d1e2}.pfac-row[data-state=working] .pfac-num{background:#ffe600}.pfac-nudge .pfac-num{animation:.35s pfac-shake}.pfac-num:focus-visible,.pfac-prime:focus-visible,.pfac-claim:focus-visible,.pfac-again:focus-visible{outline-offset:2px;outline:4px solid #3d5bff}@media (prefers-reduced-motion:reduce){.pfac-pop,.pfac-shake,.pfac-nudge .pfac-num{animation:none}}.pfac-over{text-align:center;background:#fffe;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:16px;display:flex;position:absolute;inset:0}.pfac-over[hidden]{display:none}.pfac-over h2{color:#0b1026;margin:0;font-size:40px}.pfac-over-line{margin:0;font-size:24px;font-weight:800}.pfac-over-line b{color:#3d5bff;vertical-align:-6px;margin-left:4px;font-size:56px}.pfac-over-best{color:#5b6380;margin:0;font-weight:800}.pfac-again{color:#fff;cursor:pointer;background:#ff1a8c;border:0;border-radius:16px;padding:13px 26px;font-size:21px;font-weight:900;box-shadow:0 5px #c40e69}.pfac-again:active{transform:translateY(3px)}.pfac-back-link{color:#0b1026;background:#d9e9ff;border-radius:14px;padding:10px 18px;font-weight:800;text-decoration:none}@media (width<=850px){body.prime-factors-page{height:100dvh;height:var(--app-h,100dvh);background:linear-gradient(#eef5ff,#e9f0ff 60%,#f3ecff);flex-direction:column;display:flex}.pfac-body{flex:1;gap:6px;height:auto;min-height:0}.pfac-bar-card{border-radius:16px;padding:7px 10px 6px}.pfac-bar-title{font-size:14px}.pfac-bar-row{gap:8px;margin-top:5px}.pfac-claim{border-radius:12px;min-width:74px;height:42px;padding:0 12px;font-size:19px}.pfac-primes{gap:6px;min-height:50px;padding-bottom:6px}.pfac-prime{border-radius:12px;min-width:46px;height:42px;padding:0 10px;font-size:21px}.pfac-status{border-radius:16px;gap:8px;padding:6px 10px}.pfac-stat{min-width:44px;font-size:10px}.pfac-stat b{font-size:18px}.pfac-feedback{padding:4px 8px;font-size:14px}.pfac-pane-card{border-radius:16px}.pfac-pane{padding:8px 10px 40vh}.pfac-num{width:62px;height:46px;font-size:23px}.pfac-tile{min-width:42px;height:42px;font-size:21px}.ios-safari body.prime-factors-page .pp-shell{padding-bottom:60px}body .pp-back-pre{display:none}}body.cut-and-shade-page{-webkit-tap-highlight-color:transparent;background:radial-gradient(circle at 0 100%,#d9d2ff 0,#0000 32%),radial-gradient(circle at 100% 20%,#cfe6ff 0,#0000 30%),linear-gradient(#eef5ff,#e8efff);min-height:100vh}.cs-body{height:calc(100vh - var(--header-h) - 100px);grid-template-columns:clamp(240px,24vw,320px) minmax(0,1fr);gap:12px 16px;min-height:560px;display:grid}.cs-side{flex-direction:column;gap:10px;min-height:0;display:flex}.cs-question{flex:none}.cs-q-head{background:#d8f7f3;margin:0;padding:12px 18px;font-size:17px;font-weight:900}.cs-q-body{text-align:center;padding:14px 18px 18px}.cs-q-label{color:#4d5671;margin:0;font-weight:800}.cs-frac{color:#7b2cfb;font-variant-numeric:tabular-nums;flex-direction:column;align-items:center;margin:8px 0 12px;font-size:72px;font-weight:1000;line-height:1;display:inline-flex}.cs-frac i{background:#0b1026;border-radius:3px;width:100%;height:6px;margin:6px 0;display:block}.cs-steps{text-align:left;color:#3d4360;margin:0;padding-left:20px;font-size:15px;line-height:1.5}.cs-progress{flex:none;padding:12px 18px}.cs-stage{flex-direction:column;gap:10px;min-height:0;padding:clamp(12px,2vh,22px) clamp(16px,3vw,34px);display:flex;position:relative}.cs-mq{margin:0;font-weight:800;display:none}.cs-tools{flex:none;justify-content:center;gap:12px;display:flex}.cs-tool{color:#0b1026;cursor:pointer;touch-action:manipulation;background:#fff;border:3px solid #c9d1e2;border-radius:16px;align-items:center;gap:10px;padding:10px 24px;font-size:21px;font-weight:1000;display:inline-flex}.cs-tool-icon{align-items:center;line-height:1;display:inline-flex}.cs-cut-icon{background:currentColor;border-radius:3px;width:5px;height:30px;display:inline-block}.cs-tool[aria-pressed=true]{color:#fff;background:#26b4ff;border-color:#1690d4;box-shadow:0 4px #1690d4}.cs-tool:disabled,.cs-undo:disabled{opacity:.5;cursor:default}.cs-undo{color:#1a5fb4;cursor:pointer;touch-action:manipulation;background:#e4f1ff;border:0;border-radius:16px;align-items:center;gap:8px;padding:10px 20px;font-size:19px;font-weight:900;display:inline-flex;box-shadow:inset 0 0 0 2px #b5d3f3}.cs-board{flex:1;justify-content:center;align-items:center;min-height:0;display:flex;container-type:size}.cs-square{aspect-ratio:1;background:#fff;border:4px solid #0b1026;border-radius:6px;width:max(120px,min(100cqw,100cqh));display:flex;overflow:hidden;box-shadow:0 8px #0b102622}.cs-square[data-tool=cut]{cursor:crosshair}.cs-square[data-tool=shade]{cursor:pointer}.cs-strip{min-width:0;font:inherit;color:#0b1026;font-variant-numeric:tabular-nums;touch-action:manipulation;background:#fff;border:0;border-left:4px solid #0b1026;flex:1;justify-content:center;align-items:flex-end;padding-bottom:clamp(4px,2cqh,14px);font-size:clamp(16px,5cqh,36px);font-weight:1000;transition:background-color .15s;display:flex}.cs-strip:first-child{border-left:0}.cs-strip[data-shaded=true]{color:#fff;background:#ff1a8c}.cs-square[data-tool=shade] .cs-strip:not(:disabled):hover{background:#ffe3f1}.cs-square[data-tool=shade] .cs-strip[data-shaded=true]:not(:disabled):hover{background:#e00f78}.cs-strip:disabled{cursor:default}.cs-strip:focus-visible{outline-offset:-6px;outline:4px solid #3d5bff}.cs-hint{text-align:center;color:#5b6380;flex:none;min-height:1.4em;margin:0;font-weight:700}.cs-feedback{text-align:center;border-radius:14px;flex:none;margin:0;padding:10px 14px;font-size:17px;font-weight:800;line-height:1.3}.cs-feedback[hidden]{display:none}.cs-feedback[data-state=good]{color:#0b5d33;background:#d6f7e4}.cs-feedback[data-state=bad]{color:#7a3a00;background:#ffe9d6}.cs-actions{flex:none;justify-content:center;gap:12px;min-height:56px;display:flex}.cs-submit,.cs-next{color:#fff;cursor:pointer;touch-action:manipulation;border:0;border-radius:16px;padding:13px 34px;font-size:21px;font-weight:900}.cs-submit{background:#14b81a;box-shadow:0 5px #0e8a13}.cs-next{background:#ff1a8c;box-shadow:0 5px #c40e69}.cs-submit[hidden],.cs-next[hidden]{display:none}.cs-submit:active,.cs-next:active{transform:translateY(3px)}.cs-tool:focus-visible,.cs-undo:focus-visible,.cs-submit:focus-visible,.cs-next:focus-visible{outline-offset:2px;outline:4px solid #3d5bff}.cs-results{text-align:center;background:#fffe;border-radius:20px;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:16px;display:flex;position:absolute;inset:0}.cs-results[hidden]{display:none}.cs-results h2{margin:0;font-size:38px}.cs-results-line{margin:0;font-size:28px;font-weight:800}.cs-results-line b{color:#3d5bff;font-size:64px}.cs-results p{color:#4d5671;margin:0;font-weight:800}.cs-back-link{color:#0b1026;background:#d9e9ff;border-radius:14px;padding:10px 18px;font-weight:800;text-decoration:none}@media (width<=850px){body.cut-and-shade-page{height:100dvh;height:var(--app-h,100dvh);background:linear-gradient(#eef5ff,#e9f0ff 60%,#f3ecff);flex-direction:column;display:flex}.cs-body{flex-direction:column;flex:1;height:auto;min-height:0;display:flex}.cs-side{display:none}.cs-stage{border-radius:18px;flex:1;gap:8px;padding:10px 12px 12px}.cs-mq{text-align:center;font-size:16px;display:block}.cs-mq b{color:#7b2cfb;font-size:22px}.cs-tool{border-radius:14px;gap:6px;padding:7px 16px;font-size:17px}.cs-tool-icon{font-size:22px}.cs-cut-icon{height:22px}.cs-undo{border-radius:14px;padding:8px 14px;font-size:16px}.cs-hint{font-size:13px}.cs-feedback{padding:8px 10px;font-size:14px}.cs-submit,.cs-next{width:100%;padding:10px 26px;font-size:19px}.cs-actions{min-height:48px}}@media (prefers-reduced-motion:reduce){.cs-strip{transition:none}}@media (width<=850px){.ios-safari body.cut-and-shade-page .pp-shell{padding-bottom:60px}}body.add-fractions-page{-webkit-tap-highlight-color:transparent;--af-a:#ff7f9a;--af-b:#a9a9f2;--af-both:#a63f9a;--af-ok:#14b81a;background:radial-gradient(circle at 0 100%,#d9d2ff 0,#0000 32%),radial-gradient(circle at 100% 20%,#cfe6ff 0,#0000 30%),linear-gradient(#eef5ff,#e8efff);min-height:100vh}.af-body{height:calc(100vh - var(--header-h) - 100px);grid-template-columns:clamp(240px,24vw,320px) minmax(0,1fr);gap:12px 16px;min-height:600px;display:grid}.af-side{flex-direction:column;gap:10px;min-height:0;display:flex}.af-question{flex:none}.af-q-head{background:#d8f7f3;margin:0;padding:12px 18px;font-size:17px;font-weight:900}.af-q-body{text-align:center;padding:14px 18px 16px}.af-q-label{color:#4d5671;margin:0;font-weight:800}.af-sum{justify-content:center;align-items:center;gap:12px;margin:8px 0 12px;display:flex}.af-sum>b{font-size:36px}.af-frac{font-variant-numeric:tabular-nums;flex-direction:column;align-items:center;font-size:48px;font-weight:1000;line-height:1;display:inline-flex}.af-frac i{background:#0b1026;border-radius:3px;width:100%;height:5px;margin:5px 0;display:block}.af-frac-a{color:#d63a64}.af-frac-b{color:#5757d6}.af-steps{text-align:left;color:#3d4360;margin:0;padding-left:20px;font-size:14px;line-height:1.45}.af-progress{flex:none;padding:12px 18px}.af-stage{flex-direction:column;gap:8px;min-height:0;padding:clamp(10px,1.6vh,18px) clamp(14px,2.4vw,30px);display:flex;position:relative}.af-mq{text-align:center;margin:0;font-weight:800;display:none}.af-squares{flex:1;justify-content:center;gap:clamp(12px,3vw,40px);min-height:0;display:flex;container-type:size}.af-col{flex-direction:column;align-items:center;gap:6px;min-width:0;transition:transform .2s;display:flex}.af-col.af-dragging{z-index:5;filter:drop-shadow(0 12px 14px #0b102640);transition:none;position:relative}.af-col[data-merged=true]{visibility:hidden;pointer-events:none}.af-label{border-radius:10px;align-items:baseline;gap:8px;margin:0;padding:4px 10px;font-size:15px;display:flex}.af-label b{font-size:22px}.af-axis{color:#5b6380;font-weight:700}#afColLeft .af-label b{color:#d63a64}#afColRight .af-label b{color:#5757d6}#afHandle{cursor:grab;touch-action:none;user-select:none;background:#ededff;box-shadow:inset 0 0 0 2px #c9c9f7}#afHandle:active{cursor:grabbing}.af-grip{color:#5757d6;display:inline-flex}.af-toolbar{gap:6px;display:flex}.af-tool{color:#0b1026;cursor:pointer;touch-action:manipulation;background:#fff;border:3px solid #c9d1e2;border-radius:12px;justify-content:center;align-items:center;width:46px;height:42px;font-size:20px;font-weight:900;display:inline-flex}.af-tool[aria-pressed=true]{color:#fff;border-color:#0b1026b0}#afColLeft .af-tool[aria-pressed=true]{background:var(--af-a)}#afColRight .af-tool[aria-pressed=true]{background:var(--af-b)}.af-tool:disabled{opacity:.35;cursor:default}.af-undo{color:#1a5fb4;background:#e4f1ff;border-color:#b5d3f3}.af-ico{background:currentColor;border-radius:2px;display:block}.af-ico-v{width:4px;height:22px}.af-ico-h{width:22px;height:4px}.ico-svg{display:block}.af-square-wrap{flex:1;justify-content:center;align-items:flex-start;min-height:0;display:flex}.af-square{aspect-ratio:1;background:#fff;border:4px solid #0b1026;border-radius:6px;width:max(110px,min(50cqw - clamp(6px,1.5vw,20px),100cqh - 124px));display:flex;overflow:hidden;box-shadow:0 8px #0b102622}.af-square[data-axis=h]{flex-direction:column}.af-square[data-tool=cut]{cursor:crosshair}.af-strip{min-width:0;min-height:0;font:inherit;color:#0b1026;font-variant-numeric:tabular-nums;touch-action:manipulation;background:#fff;border:0;flex:1;padding:0;font-size:clamp(13px,3.6cqh,26px);font-weight:1000;transition:background-color .15s;display:flex}.af-square[data-axis=v] .af-strip{border-left:3px solid #0b1026;justify-content:center;align-items:flex-end;padding-bottom:4px}.af-square[data-axis=v] .af-strip:first-child{border-left:0}.af-square[data-axis=h] .af-strip{border-top:3px solid #0b1026;justify-content:flex-start;align-items:center;padding-left:8px}.af-square[data-axis=h] .af-strip:first-child{border-top:0}#afSquareLeft .af-strip[data-shaded=true]{background:var(--af-a)}#afSquareRight .af-strip[data-shaded=true]{background:var(--af-b)}.af-square[data-tool=shade] .af-strip:not(:disabled):hover{filter:brightness(.92)}.af-strip:disabled{cursor:default}.af-strip:focus-visible,.af-tool:focus-visible,.af-combine:focus-visible,.af-submit:focus-visible,.af-next:focus-visible,#afHandle:focus-visible{outline-offset:2px;outline:4px solid #3d5bff}.af-square[data-grid=true]{grid-template-columns:repeat(var(--af-cols),1fr);grid-template-rows:repeat(var(--af-rows),1fr);cursor:default;background:#0b1026;gap:3px;display:grid}.af-cell{color:#fff;background:#fff;justify-content:center;align-items:center;font-size:clamp(14px,4cqh,28px);font-weight:1000;display:flex}.af-hint{text-align:center;color:#5b6380;flex:none;min-height:2.6em;margin:0;font-size:14px;font-weight:700;line-height:1.3}.af-feedback{text-align:center;border-radius:14px;flex:none;margin:0;padding:8px 14px;font-size:16px;font-weight:800;line-height:1.3}.af-feedback[hidden]{display:none}.af-feedback[data-state=good]{color:#0b5d33;background:#d6f7e4}.af-feedback[data-state=bad]{color:#7a3a00;background:#ffe9d6}.af-actions{flex-wrap:wrap;flex:none;justify-content:center;align-items:center;gap:10px 16px;min-height:56px;display:flex}.af-combine{color:#1a5fb4;cursor:pointer;touch-action:manipulation;background:#e4f1ff;border:0;border-radius:14px;padding:12px 20px;font-size:18px;font-weight:900;box-shadow:inset 0 0 0 2px #b5d3f3}.af-stage-undo{align-items:center;gap:6px;display:inline-flex}.af-stage-undo:disabled{opacity:.5;cursor:default}.af-combine[hidden],.af-submit[hidden],.af-next[hidden]{display:none}.af-input{box-sizing:border-box;text-align:center;width:92px;min-width:92px;height:46px;font:inherit;color:#0b1026;background:#fff;border:3px solid #c9d1e2;border-radius:12px;padding:0 4px;font-size:28px;font-weight:1000}.af-input:disabled{color:#8a91a3;background:#f0f3fa}.af-input:focus{outline-offset:1px;border-color:#3d5bff;outline:4px solid #3d5bff}.af-submit,.af-next{color:#fff;cursor:pointer;touch-action:manipulation;border:0;border-radius:16px;padding:13px 30px;font-size:21px;font-weight:900}.af-submit{background:#14b81a;box-shadow:0 5px #0e8a13}.af-submit:disabled{color:#8a91a3;cursor:default;background:#d5d9e6;box-shadow:0 5px #bfc5d6}.af-next{background:#ff1a8c;box-shadow:0 5px #c40e69}.af-submit:active:not(:disabled),.af-next:active{transform:translateY(3px)}.af-results{text-align:center;z-index:10;background:#fffe;border-radius:20px;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:16px;display:flex;position:absolute;inset:0}.af-results[hidden]{display:none}.af-results h2{margin:0;font-size:38px}.af-results-line{margin:0;font-size:28px;font-weight:800}.af-results-line b{color:#3d5bff;font-size:64px}.af-results p{color:#4d5671;margin:0;font-weight:800}.af-back-link{color:#0b1026;background:#d9e9ff;border-radius:14px;padding:10px 18px;font-weight:800;text-decoration:none}@media (width<=850px){body.add-fractions-page{height:100dvh;height:var(--app-h,100dvh);background:linear-gradient(#eef5ff,#e9f0ff 60%,#f3ecff);flex-direction:column;display:flex}.af-body{flex-direction:column;flex:1;height:auto;min-height:0;display:flex}.af-side{display:none}.af-stage{border-radius:18px;flex:1;gap:6px;padding:8px 8px 10px}.af-mq{font-size:15px;display:block}.af-mq b{color:#7b2cfb;font-size:20px}.af-stage{justify-content:flex-start;gap:5px}.af-squares{flex:none;align-items:flex-start;gap:10px;container-type:normal}.af-label{gap:5px;padding:3px 8px;font-size:12px}.af-label b{font-size:17px}.af-axis{display:none}.af-toolbar{gap:4px}.af-tool{border-width:2px;border-radius:10px;width:38px;height:33px;font-size:17px}.af-ico-v{height:18px}.af-ico-h{width:18px}.af-square-wrap{flex:none}.af-square{width:calc(50vw - 32px)}.af-strip{font-size:15px}.af-tool svg{width:20px;height:20px}.af-hint{min-height:2.6em;font-size:12px}.af-hint:empty,.af-body[data-stage=marked] .af-toolbar,.af-body[data-stage=marked] .af-mq{display:none}.af-cell{font-size:12px}.af-feedback{padding:6px 8px;font-size:13px}.af-actions{gap:6px 10px;min-height:0}.af-combine{border-radius:12px;padding:9px 10px;font-size:13px}.af-stage-undo svg{width:16px;height:16px}.af-input{width:84px;min-width:84px;height:36px;padding:0 2px}.af-eq{gap:1px 8px}.af-n,.af-d{font-size:20px}.af-bar{min-width:28px}.af-bigplus,.af-equals{font-size:32px}.af-mark{font-size:17px}.af-eq .af-input{font-size:24px}.af-submit,.af-next{padding:9px 20px;font-size:17px}}@media (prefers-reduced-motion:reduce){.af-col,.af-strip{transition:none}}.af-eq{font-variant-numeric:tabular-nums;flex:none;grid-template-rows:auto auto auto;grid-template-columns:auto auto auto auto auto;justify-content:center;place-items:center;gap:3px clamp(8px,2vw,18px);font-weight:1000;display:grid}.af-c1{grid-column:1}.af-c2{grid-column:2}.af-c3{grid-column:3}.af-c4{grid-column:4}.af-c5{grid-column:5}.af-r1{grid-row:1}.af-r2{grid-row:2}.af-r3{grid-row:3}.af-n,.af-d{white-space:nowrap;font-size:clamp(22px,3vh,30px);line-height:1.1}.af-bar{background:#0b1026;border-radius:2px;width:100%;min-width:34px;height:4px;display:block}.af-bigplus,.af-equals{color:#0b1026;font-size:clamp(34px,5vh,48px);line-height:1}.af-mark{color:var(--af-ok);visibility:hidden;font-size:20px;line-height:1}.af-body[data-stage=marked] .af-mark{visibility:visible}.af-body[data-stage=marked] .af-n,.af-body[data-stage=marked] .af-d{color:#0b1026}.af-eq .af-input{font-size:clamp(20px,3vh,28px)}@media (width<=850px){.ios-safari body.add-fractions-page .pp-shell{padding-bottom:60px}}.af-cell[data-kind=first]{background:var(--af-a)}.af-cell[data-kind=second]{background:var(--af-b)}.af-cell[data-kind=both]{background:var(--af-both);color:#fff}#afHandle[data-ready=false]{cursor:default;opacity:.6}.af-of{color:#3d4360;margin:0 0 10px;font-size:20px;font-weight:800}.af-of b{color:#0d86c7;font-size:24px}.af-mq-of{color:#0d86c7;font-weight:800}@media (width<=850px){body .pp-back-pre{display:none}}.af-landed{animation:.45s ease-out af-land}@keyframes af-land{0%{opacity:.2;transform:scale(.2)}60%{opacity:1;transform:scale(1.15)}to{transform:scale(1)}}@media (prefers-reduced-motion:reduce){.af-landed{animation:none}}.af-square[data-ghost=true]{box-shadow:none;background:#fff;border-color:#fff}.af-col[data-loose=true] .af-toolbar,.af-col[data-loose=true] .af-axis{visibility:hidden}.af-col[data-loose=true] #afLabelRight,.af-col[data-loose=true] .af-label b{font-size:16px}.af-square{position:relative}.af-denom{z-index:2;box-sizing:border-box;color:#0b1026;font-variant-numeric:tabular-nums;pointer-events:none;background:#fff;border:3px solid #0b1026;border-radius:999px;justify-content:center;align-items:center;min-width:44px;height:44px;padding:0 6px;font-size:22px;font-weight:1000;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 2px #0b102633}.af-cell[data-kind=blank]{color:#6b7391}@media (width<=850px){.af-denom{border-width:2px;min-width:30px;height:30px;padding:0 4px;font-size:15px}}
