:root{--bg: #f0f7ff;--surface: #ffffff;--text: #1e293b;--muted: #64748b;--primary: #3b82f6;--primary-dark: #2563eb;--right: #16a34a;--right-bg: #dcfce7;--wrong: #dc2626;--wrong-bg: #fee2e2;--add: #f97316;--subtract: #8b5cf6;--multiply: #10b981;--divide: #ec4899;--fractions: #0284c7;--decimals: #ca8a04;--wordProblems: #4f46e5;--placeValue: #2563eb;--time: #0d9488;--money: #15803d;--measurement: #b45309;--geometry: #db2777;--graphs: #7c3aed;--ratios: #c2410c;--integers: #334155;--expressions: #4d7c0f;--statistics: #b91c1c;--factors: #047857;--reading: #e11d48;--grammar: #0891b2;--spelling: #c026d3;--radius: 20px;--shadow: 0 4px 14px rgba(30, 41, 59, .08);font-family:Nunito,ui-rounded,SF Pro Rounded,system-ui,-apple-system,Segoe UI,sans-serif;color:var(--text);background:var(--bg);-webkit-tap-highlight-color:transparent}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%}body{background:var(--bg);overscroll-behavior:none;user-select:none;-webkit-user-select:none}button{font:inherit;color:inherit;cursor:pointer;border:none;background:none;touch-action:manipulation}button:disabled{cursor:default;opacity:.45}input{font:inherit;user-select:text;-webkit-user-select:text}.screen{min-height:100vh;min-height:100dvh;padding:max(16px,env(safe-area-inset-top)) 24px 32px;max-width:1100px;margin:0 auto}.screen.center{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;text-align:center}.title{font-size:clamp(28px,4vw,40px);margin:8px 0 16px;text-align:center}.subtitle{font-size:22px;margin:28px 0 12px}.small{font-size:15px}.tiny{font-size:12px}.big{font-size:26px;font-weight:700;margin:0}.row{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.hello{font-size:22px;font-weight:700;text-align:center}.btn{min-height:56px;padding:0 28px;border-radius:999px;font-size:20px;font-weight:700}.btn.primary{background:var(--primary);color:#fff;box-shadow:var(--shadow)}.btn.secondary{background:var(--surface);box-shadow:var(--shadow)}.btn.ghost{min-height:48px;padding:0 16px;font-size:18px;color:var(--primary-dark)}.btn.danger-link{color:var(--wrong);font-size:16px;min-height:44px}.btn.danger{background:var(--wrong);color:#fff;box-shadow:var(--shadow)}.btn.danger-outline{background:var(--surface);color:var(--wrong);border:2px solid var(--wrong-bg)}.profile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,220px));gap:20px;justify-content:center;width:100%}.profile-card{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);padding:24px 16px;display:flex;flex-direction:column;align-items:center;gap:6px}.profile-card:active{transform:scale(.97)}.profile-card.add{border:3px dashed #cbd5e1;box-shadow:none;background:transparent}.avatar{font-size:72px;line-height:1.1}.profile-name{font-size:24px;font-weight:800}.form{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);padding:28px;width:min(520px,100%);display:flex;flex-direction:column;gap:22px;text-align:left}.field{display:flex;flex-direction:column;gap:8px;font-weight:700}.field input{min-height:56px;border:2px solid #cbd5e1;border-radius:14px;padding:0 16px;font-size:22px}.field input:focus{outline:none;border-color:var(--primary)}.segmented{display:flex;gap:8px}.segmented button{flex:1;min-height:56px;border-radius:14px;background:#f1f5f9;font-size:20px;font-weight:700}.segmented button.on{background:var(--primary);color:#fff}.avatar-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}.avatar-grid button{font-size:36px;aspect-ratio:1;border-radius:14px;background:#f1f5f9}.avatar-grid button.on{background:#ecebfd;outline:3px solid var(--primary)}.op-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.section-label{font-size:15px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:20px 0 10px}.op-card{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px;display:flex;flex-direction:column;align-items:flex-start;gap:6px;text-align:left;background:linear-gradient(var(--c) 0 10px,var(--surface) 10px);min-height:190px}.op-card:active{transform:scale(.98)}.op-add{--c: var(--add)}.op-subtract{--c: var(--subtract)}.op-multiply{--c: var(--multiply)}.op-divide{--c: var(--divide)}.op-fractions{--c: var(--fractions)}.op-decimals{--c: var(--decimals)}.op-wordProblems{--c: var(--wordProblems)}.op-placeValue{--c: var(--placeValue)}.op-time{--c: var(--time)}.op-money{--c: var(--money)}.op-measurement{--c: var(--measurement)}.op-geometry{--c: var(--geometry)}.op-graphs{--c: var(--graphs)}.op-ratios{--c: var(--ratios)}.op-integers{--c: var(--integers)}.op-expressions{--c: var(--expressions)}.op-statistics{--c: var(--statistics)}.op-factors{--c: var(--factors)}.op-reading{--c: var(--reading)}.op-grammar{--c: var(--grammar)}.op-spelling{--c: var(--spelling)}.op-symbol.wide{font-size:28px}.op-symbol.small.wide{font-size:18px}.next-up .op-symbol{background:var(--c)}.op-symbol{width:64px;height:64px;border-radius:16px;background:var(--c);color:#fff;font-size:40px;letter-spacing:-.02em;font-weight:800;display:grid;place-items:center}.op-symbol.small{width:48px;height:48px;font-size:32px;border-radius:12px;flex:none}.op-name{font-size:26px;font-weight:800}.op-level{font-size:18px;font-weight:700;color:var(--c)}.bar{width:100%;height:12px;background:#e2e8f0;border-radius:999px;overflow:hidden;margin-top:auto}.bar>span{display:block;height:100%;background:var(--c, var(--primary));border-radius:999px;transition:width .4s}.tag{align-self:flex-start;padding:4px 10px;border-radius:999px;background:#fdf3dc;color:#7a5200;font-size:14px;font-weight:800}.tag.focus-tag{background:var(--c);color:#fff}.op-card.mastered{opacity:.75}.op-card.focus{outline:4px solid var(--c);outline-offset:2px}.next-up{width:100%;display:flex;align-items:center;gap:14px;padding:14px 18px;margin:0 0 8px;border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);text-align:left;font-size:20px;border:3px solid #d9d7fb}.next-up-go{margin-left:auto;font-size:32px;color:var(--primary)}.review-note{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;background:#fdf3dc;color:#7a5200;border-radius:14px;padding:4px 6px 4px 16px;font-weight:700;margin:0 auto 6px}.review-note .btn.ghost{color:#7a5200;min-height:40px}.grade-ready{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;background:#dcfce7;border-radius:var(--radius);padding:16px 20px;margin-bottom:16px;font-size:18px;font-weight:700}.practice{display:flex;flex-direction:column}.dots{display:flex;gap:8px;justify-content:center;margin:4px 0 12px}.dot{width:18px;height:18px;border-radius:50%;background:#e2e8f0}.dot.right{background:var(--right)}.dot.wrong{background:var(--wrong)}.practice-body{flex:1;display:grid;grid-template-columns:1fr minmax(300px,380px);gap:32px;align-items:center}.problem-area{display:flex;flex-direction:column;align-items:center;gap:16px}.problem{display:flex;align-items:center;gap:20px;font-size:clamp(56px,9vw,96px);font-weight:800;font-variant-numeric:tabular-nums}.problem .sym{color:var(--muted)}.problem-stack{display:flex;flex-direction:column;align-items:center;gap:16px;max-width:100%}.story-text{font-size:clamp(22px,2.6vw,30px);font-weight:600;line-height:1.45;max-width:30ch;margin:0;text-wrap:pretty}.problem.story{font-size:clamp(44px,6vw,64px)}.blank{display:inline-flex;align-items:center;gap:12px}.unit{font-size:.5em;color:var(--muted);font-weight:700}.blank .unit:first-child{font-size:1em;color:inherit}.fraction{display:inline-flex;flex-direction:column;align-items:center;font-size:.72em;line-height:1.05;gap:4px}.fraction>span:not(.fraction-bar){display:flex;justify-content:center}.fraction-bar{align-self:stretch;height:6px;min-width:1.4ch;background:currentColor;border-radius:3px}.fraction .answer-box{padding:0 10px;min-width:1.8ch}.shaded{height:clamp(64px,9vw,96px);width:auto;max-width:100%}.shaded .part{fill:var(--surface);stroke:var(--text);stroke-width:4}.shaded .part.on{fill:var(--fractions)}.hint{margin:0}.btn.hint-btn{min-height:48px;font-size:18px;background:#fdf3dc;color:#7a5200;box-shadow:var(--shadow)}.hint-panel{width:min(560px,100%);background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);padding:16px 18px;display:flex;flex-direction:column;gap:10px;text-align:left;border:3px solid #fde68a}.hint-head{display:flex;align-items:flex-start;gap:8px}.hint-tabs{display:flex;flex-wrap:wrap;gap:8px;flex:1}.hint-tabs button{min-height:44px;padding:0 14px;border-radius:999px;background:#f1f5f9;font-size:16px;font-weight:700}.hint-tabs button.on{background:#7a5200;color:#fff}.hint-close{width:44px;height:44px;border-radius:50%;font-size:18px;color:var(--muted);flex:none}.hint-idea{margin:0;font-size:16px;color:var(--muted);font-weight:600}.hint-steps{margin:0;padding-left:24px;display:flex;flex-direction:column;gap:8px}.hint-steps li{display:flex;flex-direction:column;gap:2px;font-size:17px;line-height:1.35}.practice-body.with-hint{align-items:start}.with-hint .problem-area{gap:10px}.with-hint .problem,.with-hint .problem.long,.with-hint .problem.xlong{font-size:clamp(34px,5vw,56px)}.with-hint .story-text{font-size:20px}.with-hint .problem.vertical .rule{height:4px;margin:4px 0 8px}.hint-show{font-size:22px;font-weight:800;font-variant-numeric:tabular-nums;white-space:pre;color:var(--primary-dark);overflow-x:auto}.problem.long{font-size:clamp(44px,6.5vw,72px);gap:14px}.problem.xlong{font-size:clamp(34px,5vw,56px);gap:10px}.problem.vertical{flex-direction:column;align-items:flex-end;gap:0;line-height:1.15}.problem.vertical .num{display:flex;gap:24px}.problem.vertical .rule{width:100%;min-width:3.2ch;height:6px;background:var(--text);border-radius:3px;margin:8px 0 12px}.answer-box{font:inherit;line-height:1.15;min-width:2.2ch;padding:0 16px;border-radius:18px;border:4px solid #cbd5e1;background:var(--surface);text-align:center;color:var(--primary-dark);cursor:pointer}.answer-box.active{border-color:var(--primary);box-shadow:0 0 0 4px #d9d7fb}.answer-box.right{border-color:var(--right);background:var(--right-bg);color:var(--right)}.answer-box.wrong{border-color:var(--wrong);background:var(--wrong-bg);color:var(--wrong)}.feedback{font-size:26px;font-weight:800;margin:0;min-height:36px;text-align:center}.feedback.right{color:var(--right)}.feedback.wrong{color:var(--wrong)}.banner{padding:14px 22px;border-radius:16px;font-size:20px;font-weight:700;text-align:center}.banner.up{background:#fdf3dc;animation:pop .4s ease-out}.banner.down{background:#e0f2fe}@keyframes pop{0%{transform:scale(.8);opacity:0}to{transform:scale(1);opacity:1}}.numpad{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.key{aspect-ratio:1.45;border-radius:20px;background:var(--surface);box-shadow:var(--shadow);font-size:40px;font-weight:800}.key:active:not(:disabled){transform:scale(.95);background:#ecebfd}.key.back{background:#f1f5f9;font-size:32px}.key.submit{grid-column:1 / -1;aspect-ratio:auto;min-height:72px;background:var(--right);color:#fff;font-size:30px}.key.point{font-size:56px;line-height:.6}.key.switch{background:#ecebfd;color:var(--primary-dark)}.stars{font-size:72px;color:#facc15;letter-spacing:8px}.tool-row{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}.tool-row:empty{display:none}.btn.scratch-btn{min-height:48px;font-size:18px;background:#e0f2fe;color:#075985;box-shadow:var(--shadow)}.scratch{width:100%;flex:1;min-height:280px;display:flex;flex-direction:column;gap:8px}.scratch-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.scratch-tools button{min-height:44px;padding:0 14px;border-radius:999px;background:var(--surface);box-shadow:var(--shadow);font-size:16px;font-weight:700}.scratch-tools button.on{background:#075985;color:#fff}.scratch-tools button:disabled{opacity:.4}.scratch-tools .scratch-close{margin-left:auto;width:44px;padding:0;color:var(--muted)}.scratch-paper{position:relative;flex:1;min-height:220px;border-radius:var(--radius);border:3px solid #bae6fd;background-color:#fff;background-image:linear-gradient(#e0f2fe 1px,transparent 1px),linear-gradient(90deg,#e0f2fe 1px,transparent 1px);background-size:32px 32px;overflow:hidden}.scratch-paper canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;touch-action:none;cursor:crosshair}.scratch-paper canvas.erasing{cursor:cell}.practice-scratch{height:100vh;height:100dvh;min-height:0;padding-bottom:max(12px,env(safe-area-inset-bottom));overflow:hidden}.practice-scratch .dots{margin:0 0 8px}.practice-body.with-scratch{min-height:0;grid-template-columns:minmax(0,1fr) minmax(240px,360px);grid-template-rows:minmax(0,1fr) minmax(0,1fr);gap:12px 24px;align-items:stretch}.with-scratch .problem-area{min-height:0;overflow-y:auto;gap:8px;padding:4px}.with-scratch .problem-area>:first-child{margin-top:auto}.with-scratch .problem-area>:last-child{margin-bottom:auto}.with-scratch>.numpad,.with-scratch>.choicepad{min-height:0;overflow-y:auto;align-self:stretch;padding:2px}.with-scratch>.numpad{grid-auto-rows:minmax(0,1fr);gap:8px}.with-scratch .key{aspect-ratio:auto;min-height:44px;font-size:clamp(24px,4vh,36px);border-radius:16px}.with-scratch .key.submit{min-height:48px;font-size:clamp(20px,3.2vh,28px)}.with-scratch .choice{min-height:48px;padding:6px 12px;font-size:18px}.with-scratch .choicepad.short .choice{min-height:56px;font-size:30px}.with-scratch>.scratch{grid-column:1 / -1;min-height:0}@media (min-width: 641px) and (min-height: 501px){.practice-body.with-scratch.with-hint{grid-template-rows:minmax(0,3fr) minmax(0,2fr)}}.with-scratch .scratch-paper{min-height:0}.scratch-tools .scratch-expand{display:none;background:#075985;color:#fff}.with-scratch .problem,.with-scratch .problem.long,.with-scratch .problem.xlong{font-size:clamp(34px,5vw,56px)}.with-scratch .problem.story{font-size:clamp(30px,4vw,44px)}.with-scratch .story-text{font-size:20px}.with-scratch .feedback{font-size:22px;min-height:30px}.scratch-image{display:block;border-radius:12px;border:2px solid #e2e8f0;background:#fff}.topbar-right{display:flex;align-items:center;gap:12px}.points-badge{position:relative;display:inline-flex;align-items:center;gap:4px;padding:6px 14px;border-radius:999px;background:#fdf3dc;color:#7a5200;font-weight:800;font-size:20px;font-variant-numeric:tabular-nums}.points-pop{position:absolute;right:6px;top:-6px;color:var(--right);font-weight:800;font-size:22px;animation:float-up 1.2s ease-out forwards;pointer-events:none}@keyframes float-up{0%{transform:translateY(0);opacity:1}to{transform:translateY(-36px);opacity:0}}.points-note{position:absolute;top:100%;right:0;margin-top:4px;font-size:12px;white-space:nowrap;color:var(--muted)}.points-earned{font-size:22px;font-weight:800;color:#7a5200;margin:0}.shop-btn{display:inline-flex;align-items:center;gap:8px;padding:4px 14px 4px 4px;border-radius:999px;background:var(--surface);box-shadow:var(--shadow);font-size:18px;font-weight:800;color:var(--primary-dark);min-height:48px}.shop-wallet{display:flex;align-items:baseline;justify-content:center;gap:10px;flex-wrap:wrap;margin:4px 0 18px;font-size:20px;font-weight:700}.shop-wallet-n{font-size:36px;font-weight:800;color:#7a5200}.shop-why{margin-top:auto}.shop-banner{margin:8px auto 4px;max-width:640px}.shop-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.shop-item{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;min-height:230px}.shop-item.ready{outline:3px solid #fde68a}.shop-icon{font-size:56px;line-height:1}.shop-name{font-size:22px}.shop-price{font-weight:800;color:#7a5200;font-size:18px}.shop-item .btn{margin-top:auto;min-height:48px}.shop-confirm{margin-top:auto;display:flex;flex-direction:column;gap:8px;font-weight:700}.shop-confirm .btn{padding:0 20px}.waiting{display:flex;flex-wrap:wrap;gap:10px}.waiting-item{background:var(--surface);box-shadow:var(--shadow);border-radius:999px;padding:8px 16px;font-weight:700;font-size:18px;min-height:48px;display:inline-flex;align-items:center;gap:8px}.waiting-item.confirm{background:#fdf3dc;color:#7a5200;padding-right:6px}.waiting-item.confirm .btn.ghost{min-height:40px;color:#7a5200}.child-tabs{margin:8px 0 16px}.section-tabs{display:flex;gap:6px;margin:0 0 16px;padding:0 0 2px;border-bottom:2px solid #e2e8f0;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity}.section-tabs::-webkit-scrollbar{display:none}.section-tabs button{flex:none;scroll-snap-align:start;min-height:48px;padding:0 18px;border-radius:12px 12px 0 0;font-size:17px;font-weight:700;color:var(--muted);white-space:nowrap;border-bottom:4px solid transparent;margin-bottom:-2px;background:none}.section-tabs button.on{color:var(--primary-dark);border-bottom-color:var(--primary);background:#f1f0fe}.section-tabs.more-right{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 48px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 48px),transparent)}.section-tabs.more-left{-webkit-mask-image:linear-gradient(to left,#000 calc(100% - 48px),transparent);mask-image:linear-gradient(to left,#000 calc(100% - 48px),transparent)}.section-tabs.more-left.more-right{-webkit-mask-image:linear-gradient(to right,transparent,#000 48px,#000 calc(100% - 48px),transparent);mask-image:linear-gradient(to right,transparent,#000 48px,#000 calc(100% - 48px),transparent)}.family-heading{margin:32px 0 12px;padding-top:20px;border-top:2px solid #e2e8f0;font-size:18px;color:var(--muted)}main.screen>.panel+.panel{margin-top:16px}.child-section{display:flex;flex-direction:column;gap:16px}.parent-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:16px;align-items:start}.panel{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px;display:flex;flex-direction:column;gap:10px}.panel-title{margin:0;font-size:22px}.edit-profile .btn{align-self:flex-start}.grade-ready-note{margin:0;background:#dcfce7;border-radius:12px;padding:10px 14px;font-weight:700}.panel-sub{margin:8px 0 0;font-size:17px}.to-give{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.to-give li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 0;border-bottom:1px solid #f1f5f9}.btn.small-btn{min-height:44px;padding:0 16px;font-size:16px;white-space:nowrap;flex:none}.given ul{margin:6px 0 0;padding-left:18px}.level-picker{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.level-picker button{display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 4px;border-radius:14px;background:#f1f5f9;min-height:64px}.level-picker button.on{background:var(--primary);color:#fff}.level-n{font-size:22px;font-weight:800}.level-name{font-size:13px;font-weight:700}.custom-tag{margin:0}.reward-table{width:100%;border-collapse:collapse;font-size:15px}.reward-table th,.reward-table td{text-align:left;padding:8px 6px;border-bottom:1px solid #f1f5f9;vertical-align:middle}.reward-table th{font-size:13px;color:var(--muted)}.reward-table tr.off td{opacity:.4}.reward-table input[type=number],.cap-edit input{width:70px;min-height:36px;border:2px solid #cbd5e1;border-radius:8px;padding:0 6px;font-size:15px}.reward-table select{min-height:36px;border-radius:8px;border:2px solid #cbd5e1;font-size:15px}.reward-table input[type=checkbox]{width:22px;height:22px}.cap-edit{font-size:15px;font-weight:600}.row.left{justify-content:flex-start}.pin-dots{display:flex;gap:16px}.pin-dots span{width:22px;height:22px;border-radius:50%;border:3px solid var(--primary)}.pin-dots span.on{background:var(--primary)}.pin-pad{width:min(360px,100%)}.cap-edit select{min-height:36px;border-radius:8px;border:2px solid #cbd5e1;font-size:15px;padding:0 4px}.daily-max{display:flex;flex-direction:column;gap:6px;padding:10px 12px;border-radius:14px;background:#f8fafc}.daily-max p{margin:0}.daily-max.reached{background:#fdf3dc}.daily-max-note{font-weight:600}.extra-today{flex-wrap:wrap;align-items:center;gap:8px}.change-pin,.delete-profile,.recently-deleted{margin-top:16px}.delete-dialog{max-width:520px;margin-top:10vh;display:flex;flex-direction:column;gap:10px}.delete-dialog h2,.delete-dialog p{margin:0}.delete-actions{display:flex;flex-direction:column;gap:8px}.deleted-actions{gap:6px;flex-wrap:wrap;justify-content:flex-end}.forgot-link{margin-top:4px}.forgot-pin{max-width:480px;display:flex;flex-direction:column;gap:8px}.forgot-pin p{margin:0}.pin-changer{display:flex;flex-direction:column;align-items:center;gap:10px}.device-backup{margin-top:16px}.file-btn{display:inline-flex;align-items:center;cursor:pointer}.restore-confirm{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:#fdf3dc;border-radius:14px;padding:8px 12px;font-weight:700}.sign-in-logo{font-size:72px;line-height:1}.sign-in-buttons{display:flex;flex-direction:column;gap:12px;width:min(360px,100%)}.btn.sign-in{display:flex;align-items:center;justify-content:center;gap:12px;box-shadow:var(--shadow)}.btn.sign-in.google{background:#fff;color:#1f1f1f;border:1px solid #dadce0}.btn.sign-in.apple{background:#000;color:#fff}.account{display:flex;align-items:center;gap:4px}.card-list{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.progress-card{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px;display:flex;flex-direction:column;gap:14px}.progress-head{display:flex;gap:14px;align-items:center;font-size:20px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.stat{display:flex;flex-direction:column}.stat-value{font-size:28px;font-weight:800}.stat-label{font-size:14px;font-weight:700}.sessions{width:100%;border-collapse:collapse;background:var(--surface);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}.sessions th,.sessions td{padding:12px 16px;text-align:left;border-bottom:1px solid #f1f5f9}.sessions th{font-size:14px;color:var(--muted)}.session-row{cursor:pointer}.session-row:active{background:#f8fafc}.sessions .chev{color:var(--muted);font-size:22px;width:24px}.session-detail>td{background:#f8fafc;padding:16px}.attempts{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-start}.attempt{background:var(--surface);border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:6px;width:268px;border-left:6px solid var(--right)}.attempt.wrong{border-left-color:var(--wrong)}.attempt.big{width:668px;max-width:100%}.attempt-head{display:flex;gap:8px;align-items:baseline;font-weight:800;font-size:18px}.attempt-n{color:var(--muted);font-size:14px}.attempt .ok{color:var(--right);font-weight:700}.attempt .no{color:var(--wrong);font-weight:700}.attempt-work{padding:0;background:none;align-self:flex-start;max-width:100%}.attempt-work .scratch-image{max-width:100%;height:auto!important}@media (max-width: 820px) and (orientation: portrait),(max-width: 640px){.practice-body{grid-template-columns:1fr;gap:20px}.numpad{width:min(420px,100%);margin:0 auto}.op-grid{grid-template-columns:repeat(2,1fr)}.parent-grid{grid-template-columns:1fr}.shop-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 640px){.screen{padding-left:16px;padding-right:16px}.op-grid,.card-list{grid-template-columns:1fr}.shop-grid{grid-template-columns:repeat(2,1fr)}.op-card{min-height:0}.section-tabs button{padding:0 12px;font-size:16px}}.hint-step{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}.hint-step .hint-say{margin:0;font-size:20px;font-weight:700;line-height:1.3}.hint-visual{width:100%;max-height:210px}.hint-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin-top:4px}.hint-nav .btn{min-height:48px;min-width:64px;font-size:20px;background:#f1f5f9}.hint-nav .btn:disabled{opacity:.35}.hint-nav .hint-next{background:#7a5200;color:#fff;padding:0 20px}.hint-count{display:flex;gap:8px}.hint-count span{width:12px;height:12px;border-radius:50%;background:#e2e8f0}.hint-count span.done{background:#fcd34d}.hint-count span.on{background:#7a5200}.number-line text{font-size:22px;font-weight:800;fill:var(--text);font-variant-numeric:tabular-nums}.nl-axis{stroke:var(--text);stroke-width:3;stroke-linecap:round}.nl-point line{stroke:var(--text);stroke-width:3}.nl-point.start text{fill:var(--primary-dark)}.nl-point.unknown text{fill:#7a5200;font-size:28px}.nl-jump path{fill:none;stroke:#c4b5fd;stroke-width:4;stroke-linecap:round}.nl-jump text{fill:#a78bfa;font-size:20px}.nl-jump.latest path{stroke:var(--subtract)}.nl-jump.latest text{fill:var(--subtract)}.nl-jump.ahead path{stroke:#fdba74}.nl-jump.ahead text{fill:#fb923c}.nl-jump.ahead.latest path{stroke:var(--add)}.nl-jump.ahead.latest text{fill:var(--add)}.blocks .block rect{fill:#93c5fd;stroke:#1d4ed8;stroke-width:1.5}.blocks .block line{stroke:#1d4ed8;stroke-width:.6;opacity:.6}.blocks .block.second rect{fill:#86efac;stroke:#15803d}.blocks .block.second line{stroke:#15803d}.blocks .block.fresh rect{fill:#fdba74;stroke:#c2410c}.blocks .block.out rect{fill:#e2e8f0;stroke:#94a3b8}.blocks .block.out line{stroke:#94a3b8}.blocks .x,.dots .x{stroke:var(--wrong);stroke-width:3;stroke-linecap:round}.blocks-label{font-size:16px;font-weight:700;fill:var(--muted)}.dots .frame{fill:none;stroke:#cbd5e1;stroke-width:2}.dots .dot circle{fill:var(--subtract)}.dots .dot.new circle{fill:var(--add)}.dots .dot.out circle{fill:#e2e8f0}.col-focus{fill:#fdf3dc;stroke:#fde68a;stroke-width:2}.column .col-name{font-size:14px;font-weight:700;fill:var(--muted)}.column .col-digit{font-size:44px;font-weight:800;fill:var(--text);font-variant-numeric:tabular-nums}.column .col-answer{fill:var(--primary-dark)}.column .col-answer.unknown{fill:#7a5200}.column .col-above{font-size:26px;font-weight:800;fill:var(--add)}.column .col-above.borrow{fill:var(--subtract)}.column .col-cross{stroke:var(--wrong);stroke-width:3.5;stroke-linecap:round}.col-rule{stroke:var(--text);stroke-width:4;stroke-linecap:round}.groups .g-ring{fill:#ecfdf5;stroke:var(--multiply);stroke-width:3}.groups .g-dot,.array .g-dot{fill:var(--multiply)}.groups .g-ten{fill:#93c5fd;stroke:#1d4ed8;stroke-width:1.2}.array .a-count{font-size:24px;font-weight:800;fill:var(--primary-dark)}.array .a-count.unknown{fill:#7a5200}.area .ar-head{font-size:26px;font-weight:800;fill:var(--text)}.area .ar-cell{fill:#f8fafc;stroke:var(--text);stroke-width:3}.area .ar-cell.done{fill:#d1fae5}.area .ar-cell.on{fill:#fdf3dc}.area .ar-value{font-size:28px;font-weight:800;fill:#065f46}.stack .st-line text{font-size:40px;font-weight:800;fill:var(--text);font-variant-numeric:tabular-nums}.stack .st-line.carry text{font-size:24px;fill:var(--add)}.stack .st-line.partial text{fill:#065f46}.stack .st-line.answer text{fill:var(--primary-dark)}.stack text.unknown{fill:#7a5200!important}.groups .g-dot.g-wait{fill:var(--divide)}.groups .g-pile-line{stroke:#e2e8f0;stroke-width:2;stroke-dasharray:6 6}.hint-visual.long-division{max-height:300px}.long-division text{font-size:36px;font-weight:800;fill:var(--text);font-variant-numeric:tabular-nums}.long-division .ld-quotient{fill:var(--primary-dark)}.long-division .ld-quotient.unknown{fill:#7a5200}.long-division .ld-bracket,.long-division .ld-rule{fill:none;stroke:var(--text);stroke-width:4;stroke-linecap:round}.long-division .ld-row text{fill:#065f46}.long-division .ld-row text.ld-brought{fill:var(--add)}.invite-form{display:flex;gap:10px;width:min(420px,100%)}.invite-input{flex:1;min-width:0;min-height:52px;padding:0 16px;border-radius:14px;border:2px solid #cbd5e1;font-size:22px;font-weight:800;letter-spacing:.08em;text-align:center;user-select:text;-webkit-user-select:text}.invite-input:focus{outline:none;border-color:var(--primary)}.link-btn{background:none;border:0;padding:0;color:var(--primary-dark);font:inherit;text-decoration:underline;cursor:pointer}.ws-bob{animation:ws-bob 4s ease-in-out infinite}.ws-float{animation:ws-float 5s ease-in-out infinite}.ws-float.slow{animation-duration:7s}.ws-float.delay{animation-delay:-2.5s}.ws-twinkle{animation:ws-twinkle 2.6s ease-in-out infinite}@keyframes ws-bob{50%{transform:translateY(-8px)}}@keyframes ws-float{50%{transform:translateY(-12px)}}@keyframes ws-twinkle{50%{transform:scale(.6);opacity:.6}}@media (prefers-reduced-motion: reduce){.ws-bob,.ws-float,.ws-twinkle{animation:none}}.subject-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;margin-top:8px}.subject-card{background:var(--surface);border-radius:28px;box-shadow:var(--shadow);padding:28px;display:flex;flex-direction:column;align-items:flex-start;gap:8px;text-align:left;border-top:12px solid var(--sc);min-height:260px}.subject-card:active{transform:scale(.98)}.subject-english{--sc: var(--reading)}.subject-icon{font-size:64px;line-height:1}.subject-name{font-size:34px;font-weight:800;color:var(--sc)}.subject-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto}.subject-chip{padding:4px 10px;border-radius:999px;font-size:14px;font-weight:800;color:#fff;background:var(--c)}.big-note{font-size:22px;text-align:center;margin-top:40px}.topic-picker{margin-bottom:16px}.topic-subjects{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px}.topic-subject{border:2px solid #e2e8f0;border-radius:16px;padding:12px;display:flex;flex-direction:column;gap:10px}.topic-subject.off{background:#f8fafc}.topic-subject-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.topic-subject-name{font-size:20px;font-weight:800;flex:1}.topic-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}.topic-toggle{display:grid;grid-template-columns:26px 1fr;grid-template-rows:auto auto;column-gap:8px;align-items:center;text-align:left;padding:10px;border-radius:12px;background:#f1f5f9;min-height:56px}.topic-toggle .tiny{grid-column:2}.topic-check{grid-row:1 / span 2;width:24px;height:24px;border-radius:7px;border:2px solid #94a3b8;display:grid;place-items:center;font-weight:800;color:#fff;font-size:15px}.topic-toggle.on{background:color-mix(in srgb,var(--c) 12%,white)}.topic-toggle.on .topic-check{background:var(--c);border-color:var(--c)}.topic-name{font-weight:800;font-size:15px}.choicepad{display:flex;flex-direction:column;gap:10px}.choicepad.short{display:grid;grid-template-columns:repeat(3,1fr)}.choicepad.short .key.submit{grid-column:1 / -1}.choice{display:flex;align-items:center;gap:12px;min-height:64px;padding:10px 16px;border-radius:18px;background:var(--surface);box-shadow:var(--shadow);text-align:left;font-size:20px;font-weight:700;border:3px solid transparent;line-height:1.25}.choicepad.short .choice{justify-content:center;font-size:40px;font-weight:800;min-height:84px}.choice:active:not(:disabled){transform:scale(.98)}.choice.on{border-color:var(--primary);background:#f1f0fe}.choice.answer{border-color:var(--right);background:var(--right-bg)}.choice:disabled{opacity:1}.choice-letter{flex:none;width:34px;height:34px;border-radius:50%;background:#e2e8f0;display:grid;place-items:center;font-size:16px;font-weight:800;color:var(--muted)}.choice.on .choice-letter{background:var(--primary);color:#fff}.choice.answer .choice-letter{background:var(--right);color:#fff}.question-text{max-width:36ch}.passage{width:100%;max-width:640px;background:#fffdf7;border:2px solid #fde68a;border-radius:var(--radius);padding:18px 22px;text-align:left;max-height:52vh;overflow-y:auto;box-shadow:var(--shadow);user-select:text;-webkit-user-select:text}.passage-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px}.passage-title{margin:0;font-size:24px}.passage p{font-size:20px;line-height:1.6;margin:10px 0;text-wrap:pretty}.passage mark{background:#fef08a;border-radius:4px;padding:0 2px;box-shadow:0 0 0 2px #fde047}.with-passage{align-items:start}.with-passage .problem-area{gap:12px}.with-passage .question-text{font-size:24px;max-width:640px;text-align:center}.read-aloud{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 14px;border-radius:999px;background:#fef3c7;color:#92400e;font-weight:800;font-size:16px;flex:none}.read-aloud.small{min-height:36px;width:36px;padding:0;justify-content:center;margin-left:10px;vertical-align:middle;font-size:16px}.read-aloud.on{background:#92400e;color:#fff}.pic{width:auto;max-width:100%;height:auto;max-height:260px;display:block}.pic-clock{width:220px}.pic-coins{max-height:90px;min-height:66px}.pic-ruler{width:min(100%,520px)}.pic-graph{width:min(100%,460px);max-height:300px}.pic-blocks{max-height:150px}.with-hint .pic,.with-scratch .pic{max-height:180px}.with-scratch .pic{max-height:min(180px,20vh)}.say-buttons{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}.say-btn{min-height:52px;padding:0 18px;border-radius:999px;background:var(--surface);box-shadow:var(--shadow);font-size:18px;font-weight:800;color:#86198f}.say-btn.main{background:#c026d3;color:#fff;font-size:22px;min-height:64px;padding:0 26px}.say-btn:active{transform:scale(.97)}.letter-boxes{display:inline-flex;gap:8px;flex-wrap:wrap;justify-content:center;font-size:clamp(36px,5vw,56px)}.letter-boxes.long{font-size:clamp(28px,3.6vw,42px);gap:6px}.letter-box{min-width:1.4em;padding:0 4px;cursor:default;display:inline-grid;place-items:center}.letterpad{display:flex;flex-direction:column;gap:8px}.letter-row{display:flex;justify-content:center;gap:6px}.lkey{flex:1;max-width:44px;min-height:58px;border-radius:12px;background:var(--surface);box-shadow:var(--shadow);font-size:24px;font-weight:800}.lkey:active:not(:disabled){transform:scale(.94);background:#fae8ff}.lkey.back{max-width:64px;background:#f1f5f9;font-size:22px}.practice-body:has(.letterpad){grid-template-columns:1fr minmax(380px,480px)}@media (max-width: 820px) and (orientation: portrait),(max-width: 640px){.practice-body:has(.letterpad){grid-template-columns:1fr}.lkey{max-width:none}}.review{max-width:980px;margin:0 auto}.review-filters{display:flex;flex-direction:column;gap:10px}.review-tabs{flex-wrap:wrap}.review-count{display:inline-block;min-width:24px;padding:0 6px;margin-left:4px;border-radius:999px;background:#1e293b1a;font-size:14px}.review-filters select,.review-editor select,.field select{min-height:44px;padding:0 12px;border-radius:12px;border:1px solid #cbd5e1;background:#fff;font:inherit;font-size:16px}.review-note{margin:0;color:var(--right);font-weight:700}.review-error{margin:0;color:var(--wrong);font-weight:700}.center-text{text-align:center}.review-list{display:flex;flex-direction:column;gap:14px}.review-item{border:3px solid transparent;user-select:text;-webkit-user-select:text}.review-item.focus{border-color:var(--primary)}.review-item-head{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.review-id{margin-left:auto;font-family:ui-monospace,monospace}.review-status{padding:2px 12px;border-radius:999px;font-size:14px;font-weight:800}.review-status.s-draft{background:#fdf3dc;color:#7a5200}.review-status.s-approved{background:var(--right-bg);color:#166534}.review-status.s-rejected{background:var(--wrong-bg);color:#991b1b}.review-status.s-retired{background:#e2e8f0;color:#475569}.review-preview{background:var(--bg);border-radius:14px;padding:12px 16px}.review-preview p{margin:4px 0}.review-word{font-size:20px}.review-word strong{font-size:26px}.review-options{display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:8px 0;list-style:none}.review-options li{padding:6px 14px;border-radius:12px;background:#fff;border:1px solid #cbd5e1}.review-options li.right{background:var(--right-bg);border-color:var(--right);font-weight:700}.review-passage{white-space:pre-line;line-height:1.55}.review-questions{margin:8px 0 0;padding-left:22px;display:flex;flex-direction:column;gap:6px}.review-questions .right{color:var(--right);font-weight:700}.review-checks{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:4px;font-size:15px}.review-checks .ok{color:var(--right)}.review-checks .block{color:var(--wrong);font-weight:700}.review-checks .warn{color:#92400e}.review-reports{background:#fff7ed;border-left:4px solid var(--add);border-radius:8px;padding:6px 12px}.review-reports p{margin:4px 0}.review-actions{flex-wrap:wrap;gap:8px}.review-history{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px}.review-changes{margin:2px 0 0;padding-left:18px;color:var(--muted)}.review-editor-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;display:flex;align-items:flex-start;justify-content:center;padding:24px 12px;overflow-y:auto;z-index:50}.review-editor{width:min(720px,100%);user-select:text;-webkit-user-select:text}.review-editor h2{margin:0}.field{display:flex;flex-direction:column;gap:4px;font-size:15px;font-weight:700;color:var(--muted);flex:1}.field input,.field textarea{font:inherit;font-size:17px;font-weight:400;color:var(--text);padding:10px 12px;border-radius:12px;border:1px solid #cbd5e1;background:#fff;user-select:text;-webkit-user-select:text}.field textarea{resize:vertical}.check-field{display:flex;align-items:center;gap:8px;font-size:15px}.review-question-edit{border:1px solid #cbd5e1;border-radius:14px;padding:10px 14px;display:flex;flex-direction:column;gap:8px}.review-question-edit legend{font-weight:800;padding:0 6px}.asked-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column}.asked-list li{display:flex;align-items:center;gap:10px;padding:6px 0;border-bottom:1px solid #e2e8f0}.asked-list li:last-child{border-bottom:none}.asked-list .ok{color:var(--right);font-weight:800}.asked-list .no{color:var(--wrong);font-weight:800}.asked-prompt{flex:1;font-size:16px}.report-prompt{margin:0;padding:10px 14px;background:var(--bg);border-radius:12px}.report-reasons{border:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px;font-size:17px}.report-reasons label{display:flex;align-items:center;gap:10px}.review-role{margin:0}.team-roles{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px}.team-add{align-items:flex-end;flex-wrap:wrap}.team-add .field{min-width:200px}.team-role-field{flex:0 0 160px;min-width:0!important}.team-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column}.team-list li{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #e2e8f0}.team-list li:last-child{border-bottom:none}.team-who{flex:1;display:flex;flex-wrap:wrap;align-items:center;gap:8px}.team-who .tiny{flex-basis:100%}.team-title{min-height:44px;padding:0 12px;border-radius:12px;border:1px solid #cbd5e1;background:#fff;font:inherit;font-size:16px}.admin-link{margin-top:8px;font-size:16px;color:var(--muted)}.sign-out-link{display:flex;align-items:center;gap:8px;margin:28px auto 8px;font-size:16px;color:var(--muted)}.admin-tools{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}.admin-tool{align-items:flex-start;text-align:left;gap:6px;min-height:160px;cursor:pointer;border:3px solid transparent}.admin-tool:hover,.admin-tool:focus-visible{border-color:var(--primary)}.admin-tool strong{font-size:22px}.admin-tool-icon{font-size:36px}.invite-new{background:var(--right-bg);border-radius:14px;padding:14px 18px;display:flex;flex-direction:column;gap:8px}.invite-code{font-family:ui-monospace,monospace;font-size:30px;font-weight:800;letter-spacing:2px}.invite-link{font-family:ui-monospace,monospace;font-size:14px;word-break:break-all;user-select:text;-webkit-user-select:text}.invite-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column}.invite-list li{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #e2e8f0;flex-wrap:wrap}.invite-list li:last-child{border-bottom:none}.invite-list .invite-code{font-size:18px;letter-spacing:1px;min-width:130px;user-select:text;-webkit-user-select:text}.invite-list .grow{flex:1;min-width:180px}.invite-list li.off .invite-code{text-decoration:line-through;color:var(--muted)}.field input[type=number]{width:120px}.team-title-field{flex:0 0 220px}.team-list .team-title{min-width:200px}.report-card{margin-bottom:16px}.rc-subjects{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:14px;margin-top:10px}.rc-subject{border-radius:16px;padding:14px 16px;background:#f8fafc;border-top:6px solid #cbd5e1}.rc-subject h3{margin:0 0 4px;font-size:20px}.rc-subject.band-100,.rc-subject.band-90s{border-top-color:var(--right)}.rc-subject.band-80s{border-top-color:#65a30d}.rc-subject.band-70s{border-top-color:#ca8a04}.rc-subject.band-60s{border-top-color:#ea580c}.rc-subject.band-below60{border-top-color:var(--wrong)}.rc-score{display:flex;align-items:baseline;gap:10px;margin:4px 0}.rc-number{font-size:44px;font-weight:900;line-height:1}.rc-band{font-weight:800;padding:2px 10px;border-radius:999px;background:#e2e8f0}.rc-none{font-size:20px;font-weight:800;color:var(--muted)}.rc-peer{margin-top:2px}.rc-topics-title{margin:12px 0 6px;font-size:15px}.rc-topics{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.rc-topics summary{display:grid;grid-template-columns:150px 1fr 36px;align-items:center;gap:10px;cursor:pointer;padding:6px 2px;list-style:none}.rc-topics summary::-webkit-details-marker{display:none}.rc-topic-name{font-weight:700}.rc-bar{height:10px;border-radius:999px;background:#e2e8f0;overflow:hidden}.rc-bar span{display:block;height:100%;background:var(--c, var(--primary));border-radius:999px}.rc-topic-score{text-align:right;font-weight:800}.rc-topic-note{grid-column:1 / -1;margin-top:-4px;font-weight:400}.rc-topic-detail{padding:2px 4px 10px}.rc-topic-detail p{margin:4px 0}.rc-topic-detail .tag{margin-right:6px;font-size:13px}.tag.rc-ahead{background:var(--right-bg);color:#166534}.tag.rc-off{background:#e2e8f0;color:#334155}.rc-levels{list-style:none;margin:4px 0 0;padding:0}.rc-levels li{padding:2px 0}.rc-levels li.ok>span:first-child{color:var(--right);font-weight:800}.rc-grade-check{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;background:#fdf3dc;color:#7a5200;border-radius:14px;padding:10px 14px;font-weight:700;margin:8px 0}.rc-history,.rc-how{margin-top:12px}.rc-summary{background:#f0f9ff;border:2px solid #bae6fd;border-radius:16px;padding:12px 16px;margin:10px 0 4px}.rc-summary h3{margin:0 0 6px;font-size:20px}.rc-summary h4{margin:12px 0 6px;font-size:16px}.rc-overview{margin:2px 0;font-weight:700;font-size:17px}.rc-strengths{margin:8px 0 0}.rc-focus{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:8px}.rc-focus li::marker{font-weight:800}.rc-focus p{margin:2px 0 0}.rc-focus-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px}.rc-focus-name{font-weight:800}.rc-how ul{margin:6px 0 0;padding-left:20px}.rc-how li{margin:3px 0}.rc-history-table{border-collapse:collapse;margin-top:6px}.rc-history-table th,.rc-history-table td{padding:4px 12px;text-align:left;border-bottom:1px solid #f1f5f9}.rc-ahead-mark{display:block;color:var(--right);font-size:13px;font-weight:800;white-space:nowrap}.rc-off-mark{display:block;color:var(--muted);font-size:13px;font-weight:700}.btn.learn-btn{min-height:48px;font-size:18px;background:#ede9fe;color:#5b21b6;box-shadow:var(--shadow)}.lesson-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;background:#1e293b73;display:flex;align-items:flex-start;justify-content:center;padding:16px;overflow-y:auto}.lesson-sheet{width:min(980px,100%);background:var(--surface);border-radius:var(--radius);box-shadow:0 12px 40px #1e293b40;border:3px solid #c4b5fd;padding:16px 20px 20px;display:flex;flex-direction:column;gap:10px;animation:pop .25s ease-out}.lesson-head{display:flex;align-items:flex-start;gap:8px}.lesson-head>div{flex:1}.lesson-title{margin:0;font-size:26px;color:#5b21b6}.lesson-idea{margin:2px 0 0;color:var(--muted);font-weight:700;font-size:16px}.lesson-icon{width:48px;height:48px;border-radius:50%;font-size:20px;background:#f1f5f9;flex:none}.lesson-phases{list-style:none;margin:0;padding:0;display:flex;gap:8px;flex-wrap:wrap}.lesson-phases li>*{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border-radius:999px;background:#f1f5f9;font-weight:800;font-size:15px;color:var(--muted)}.lesson-phases li.done>*{background:#ede9fe;color:#6d28d9}.lesson-phases li.on>*{background:#6d28d9;color:#fff}.lesson-body{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}.lesson-body.together.asking{display:grid;grid-template-columns:1fr minmax(260px,340px);align-items:start;gap:20px}.lesson-main{display:flex;flex-direction:column;align-items:center;gap:10px;min-width:0}.lesson-label{margin:0;font-size:14px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#7c3aed}.lesson-prompt{font-size:34px;font-weight:800;font-variant-numeric:tabular-nums}.lesson-stage{width:100%;min-height:120px;display:flex;justify-content:center;align-items:center;background:#faf5ff;border-radius:16px;padding:10px}.lesson-stage .hint-visual{max-height:280px}.lesson-stage .hint-visual :is(circle,rect,text){animation:lesson-pop .38s ease-out both;transform-box:fill-box;transform-origin:center}.lesson-stage .hint-visual :is(.g-ring,.ar-cell){animation:none}@keyframes lesson-pop{0%{transform:scale(.3);opacity:0}70%{transform:scale(1.12);opacity:1}to{transform:scale(1)}}@media (prefers-reduced-motion: reduce){.lesson-stage .hint-visual :is(circle,rect,text){animation:none}}.lesson-caption{margin:0;font-size:22px;font-weight:800;line-height:1.3;max-width:640px;min-height:2.6em}.lesson-caption.thinking{color:#6d28d9}.lesson-bar{width:min(520px,100%);height:8px;border-radius:999px;background:#ede9fe;overflow:hidden}.lesson-bar span{display:block;height:100%;background:#7c3aed;border-radius:999px;transition:width .3s}.lesson-controls{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}.lesson-controls .btn{min-height:52px;min-width:64px;font-size:20px;background:#f1f5f9}.lesson-controls .btn.primary,.lesson-next.btn.primary,.lesson-finished .btn.primary{background:#6d28d9;color:#fff}.lesson-answer{min-width:140px;min-height:64px;padding:0 18px;border-radius:16px;border:3px solid #a78bfa;font-size:40px;font-weight:800;display:flex;align-items:center;justify-content:center;font-variant-numeric:tabular-nums;color:var(--primary-dark)}.lesson-answer.missed{border-color:#fdba74;background:#fff7ed}.lesson-feedback{margin:0;font-size:20px;font-weight:800;line-height:1.3;max-width:640px;color:#b45309}.lesson-feedback.right{color:var(--right)}.lesson-feedback.shown{color:var(--primary-dark)}.lesson-feedback.tell{color:var(--text)}.lesson-next{min-height:52px;font-size:20px;padding:0 26px}.lesson-finished{display:flex;flex-direction:column;align-items:center;gap:14px;padding:20px 0;text-align:center}.lessons-needed{margin-top:6px;color:#6d28d9;font-weight:700}.lesson-quote{margin:0;max-width:680px;padding:14px 20px;border-radius:16px;background:#fffbeb;border:2px solid #fde68a;font-size:22px;font-weight:700;line-height:1.45;text-align:left;white-space:pre-line}.lesson-quote mark{background:#fde047;border-radius:6px;padding:0 3px;color:inherit}.lesson-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;max-width:680px}.lesson-chip{padding:8px 14px;border-radius:14px;background:#f1f5f9;font-weight:800;font-size:18px;border:2px solid transparent}.lesson-chip.right{background:#dcfce7;border-color:#22c55e;color:#166534}.lesson-chip.faded{opacity:.45}.lesson-choices{display:flex;flex-direction:column;gap:10px}.lesson-choices .choice{justify-content:center;text-align:center}.lesson-choices .choice.wrong{opacity:.4;border-color:#fdba74;text-decoration:line-through}.chunks text{font-size:30px;font-weight:800;fill:var(--text);font-variant-numeric:tabular-nums}.chunks .ck-head{font-size:16px;fill:var(--muted)}.chunks .ck-take{fill:#065f46}.chunks .ck-times{fill:var(--divide)}.chunks .ck-times.total{fill:var(--primary-dark)}.chunks .ck-times.unknown{fill:#7a5200}.chunks .ld-bracket,.chunks .ld-rule{fill:none;stroke:var(--text);stroke-width:3.5;stroke-linecap:round}.groups .g-count{font-size:26px;font-weight:800;fill:var(--primary-dark)}.hint-visual.chunks{max-height:340px}@media (max-width: 820px) and (orientation: portrait),(max-width: 640px){.lesson-body.together.asking{grid-template-columns:1fr}.lesson-body.together.asking :is(.numpad,.lesson-choices){width:min(420px,100%);margin:0 auto}.lesson-quote{font-size:18px;padding:10px 14px}.lesson-prompt{font-size:28px}.lesson-caption{font-size:19px}}.hint-visual.fraction-bars{max-height:260px}.fraction-bars .fb-part rect{fill:#f8fafc;stroke:#94a3b8;stroke-width:1.5}.fraction-bars .fb-part.on rect{fill:#7dd3fc;stroke:#0369a1}.fraction-bars .fb-part.second rect{fill:#86efac;stroke:#15803d}.fraction-bars .fb-part.out rect{fill:#e2e8f0;stroke:#94a3b8}.fraction-bars .x{stroke:var(--wrong);stroke-width:3;stroke-linecap:round}.fraction-bars .fb-group{stroke:var(--text);stroke-width:4}.fraction-bars .fb-outline{fill:none;stroke:var(--text);stroke-width:3}.fraction-bars .fb-label{font-size:30px;font-weight:800;fill:var(--fractions)}.fraction-bars .fb-label.unknown{fill:#7a5200}.hint-visual.fraction-grid{max-height:260px}.fraction-grid .fg-cols{fill:#7dd3fc;opacity:.75}.fraction-grid .fg-rows{fill:#fcd34d;opacity:.6}.fraction-grid .fg-overlap{fill:none;stroke:#15803d;stroke-width:6}.fraction-grid .fg-line{stroke:#64748b;stroke-width:1.5}.fraction-grid .fg-outline{fill:none;stroke:var(--text);stroke-width:3}.fraction-grid .fg-label{font-size:26px;font-weight:800}.fraction-grid .fg-label.cols{fill:#0369a1}.fraction-grid .fg-label.rows{fill:#a16207}.decimal-squares .ds-part{fill:#f8fafc;stroke:#cbd5e1;stroke-width:1}.decimal-squares .ds-part.on{fill:#fcd34d;stroke:#a16207}.decimal-squares .ds-tenth{stroke:#a16207;stroke-width:1.8}.decimal-squares .ds-outline{fill:none;stroke:var(--text);stroke-width:3}.decimal-squares .ds-label{font-size:20px;font-weight:700;fill:var(--muted)}.hint-visual.place-chart{max-height:250px}.hint-visual.tape{max-height:240px}.hint-visual.bond,.hint-visual.ratio-table{max-height:230px}.hint-visual.data-row{max-height:200px}.hint-picture{display:flex;justify-content:center;max-height:none}.hint-picture .pic{max-height:280px;width:auto;max-width:100%}.place-chart .pc-head{font-size:15px;font-weight:800;fill:var(--muted)}.place-chart .pc-head.decimal{fill:var(--decimals)}.place-chart .pc-cell{fill:#f8fafc;stroke:#cbd5e1;stroke-width:2}.place-chart .pc-digit{font-size:36px;font-weight:800;fill:var(--text)}.place-chart .pc-digit.moved{fill:var(--decimals)}.place-chart .pc-point{fill:var(--text)}.place-chart .pc-arrow{fill:none;stroke:var(--decimals);stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}@media (max-width: 640px){.practice-body.with-scratch{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,auto) max-content minmax(140px,1fr);gap:8px}.with-scratch .problem-area{max-height:34dvh;gap:6px}.with-scratch .problem,.with-scratch .problem.long,.with-scratch .problem.xlong{font-size:clamp(28px,5dvh,44px)}.with-scratch .problem.story{font-size:clamp(26px,4.5dvh,36px)}.with-scratch .story-text{font-size:18px}.with-scratch .tool-row .btn{min-height:40px;font-size:16px;padding:0 14px}.with-scratch .feedback{font-size:20px;min-height:26px}.with-scratch>.numpad,.with-scratch>.choicepad{width:100%;overflow:visible}.practice-scratch .dots{display:none}.with-scratch>.numpad{grid-auto-rows:42px;gap:6px}.with-scratch .key{min-height:0;font-size:28px}.with-scratch .key.submit{min-height:0;font-size:22px}.with-scratch>.scratch{grid-column:1}}@media (max-height: 500px) and (orientation: landscape){.practice-scratch .dots{display:none}.practice-body.with-scratch{grid-template-columns:minmax(150px,26%) minmax(0,1fr) minmax(200px,250px);grid-template-rows:minmax(0,1fr);gap:12px}.with-scratch .problem,.with-scratch .problem.long,.with-scratch .problem.xlong{font-size:clamp(28px,7vh,40px)}.with-scratch .tool-row{gap:8px}.with-scratch .tool-row .btn{min-height:40px;font-size:16px;padding:0 14px}.with-scratch>.numpad{gap:6px}.with-scratch .key{min-height:0;font-size:24px}.with-scratch .key.submit{min-height:0;font-size:20px}.with-scratch>.scratch{grid-column:2;grid-row:1}}@media (max-width: 640px),(max-height: 500px) and (orientation: landscape){.scratch-tools .scratch-expand{display:inline-block}.scratch-tools{gap:6px}.scratch-tools{flex-wrap:nowrap}.scratch-tools button{min-width:44px;padding:0 10px;font-size:18px;flex:none}.scratch-tools .scratch-label{display:none}.scratch-tools .scratch-expand{font-size:16px}.practice-body.with-scratch.scratch-full{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}.scratch-full .problem-area>:first-child{margin-top:0}.scratch-full>.numpad,.scratch-full>.choicepad,.scratch-full .tool-row,.scratch-full .hint-panel,.scratch-full .hint,.scratch-full .banner{display:none}.scratch-full .problem-area{max-height:30dvh;grid-column:1;grid-row:1}.scratch-full>.scratch{grid-column:1;grid-row:2}.practice-scratch:has(.scratch-full) .dots{display:none}}@media (max-height: 500px) and (orientation: landscape){.practice-body.with-scratch.scratch-full{grid-template-columns:minmax(150px,26%) minmax(0,1fr);grid-template-rows:minmax(0,1fr)}.scratch-full .problem-area{max-height:none}.scratch-full .problem-area>:first-child{margin-top:auto}.scratch-full>.scratch{grid-column:2;grid-row:1}}@media (max-width: 640px) and (max-height: 720px){.practice-scratch .topbar{margin-bottom:4px}.practice-scratch .topbar>.muted{font-size:14px}.with-scratch>.numpad{grid-auto-rows:38px}.with-scratch .problem,.with-scratch .problem.long,.with-scratch .problem.xlong{font-size:26px}.with-scratch .problem.vertical .rule{height:4px;margin:2px 0 6px}.with-scratch .answer-box{border-width:3px;border-radius:12px}}.times-table{margin-bottom:18px}.times-table td{font-size:15px}.times-prompt{max-width:420px;font-weight:700}.school-program{margin-bottom:16px;display:flex;flex-direction:column;gap:12px}.school-program .field{flex:none}.school-program-about{margin:0;padding:10px 14px;border-radius:12px;background:#f0f9ff}.school-program-note{margin:0;color:#15803d;font-weight:700}.school-program-suggestions{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:6px}.school-program-suggestions li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;border:1px solid #e2e8f0;border-radius:12px}.program-facts{margin:0;display:grid;grid-template-columns:max-content 1fr;gap:4px 12px}.program-facts dt{font-weight:700;color:var(--muted)}.program-facts dd{margin:0}:root{--bg: #f7f5f1;--surface: #ffffff;--sunken: #f1eee8;--line: #e7e2d9;--text: #17203a;--muted: #6b7083;--primary: #4b48d6;--primary-dark: #3633b0;--primary-tint: #ecebfd;--gold: #f2b233;--gold-ink: #7a5200;--gold-tint: #fdf3dc;--right: #179a5b;--right-bg: #e3f5ec;--wrong: #d9484f;--wrong-bg: #fcebec;--add: #e8743b;--subtract: #8b6be0;--multiply: #1f9e7a;--divide: #d45a8e;--fractions: #2f86c7;--decimals: #c99a1e;--wordProblems: #5a5fd6;--placeValue: #3b72d9;--time: #1b9a99;--money: #3f9b4f;--measurement: #b9783a;--geometry: #cf5b7c;--graphs: #7b62cf;--ratios: #d06a3d;--integers: #4b5874;--expressions: #6c9a32;--statistics: #c65050;--factors: #2c8f6e;--reading: #d4556b;--grammar: #2b93b0;--spelling: #a65bc4;--radius: 18px;--shadow: 0 1px 2px rgba(23, 32, 58, .06), 0 6px 20px -8px rgba(23, 32, 58, .14);--shadow-lift: 0 2px 4px rgba(23, 32, 58, .06), 0 14px 32px -12px rgba(23, 32, 58, .22);--display: "Lexend Variable", "Lexend", system-ui, sans-serif;font-family:Inter Variable,Inter,system-ui,-apple-system,Segoe UI,sans-serif;font-feature-settings:"cv11","ss01";background:var(--bg)}body{background:radial-gradient(1200px 600px at 100% -10%,rgba(75,72,214,.06),transparent 60%),radial-gradient(900px 500px at -10% 0%,rgba(242,178,51,.07),transparent 60%),var(--bg);background-attachment:fixed}.title,.subtitle,.hello,.big,.btn,.op-name,.profile-name,.subject-name,.panel-title,.problem,.key,.feedback,.answer-box,.rc-number,.stat-value,.section-tabs button,.segmented button,.points-badge,.shop-btn{font-family:var(--display)}h1,h2,h3,.title{letter-spacing:-.02em}.title{font-weight:600;font-size:clamp(26px,3.4vw,36px);margin:6px 0 20px}.hello{font-weight:500;font-size:18px;color:var(--muted)}.section-label{font-family:var(--display);font-weight:600;font-size:13px;letter-spacing:.08em;color:var(--muted)}.topbar{padding:6px 0 10px;margin-bottom:4px;flex-wrap:nowrap}.topbar .btn.ghost{min-height:44px;padding:0 14px;border-radius:12px;font-size:16px;font-weight:500;color:var(--text);background:var(--surface);border:1px solid var(--line)}.topbar-right{gap:8px}.shop-btn{box-shadow:none;border:1px solid var(--line);font-weight:500;font-size:16px;color:var(--text);min-height:44px}.points-badge{background:var(--gold-tint);color:var(--gold-ink);font-weight:600;font-size:17px}.btn{font-weight:600;font-size:18px;letter-spacing:-.01em}.btn.primary{background:var(--primary);box-shadow:0 1px #fff3 inset,0 6px 16px -6px #4b48d699}.btn.secondary{border:1px solid var(--line);box-shadow:var(--shadow)}.btn.ghost{color:var(--primary);font-weight:500}.profile-card{border:1px solid var(--line);box-shadow:var(--shadow);padding:28px 16px 22px;gap:4px;transition:transform .15s,box-shadow .15s}.profile-card:hover{box-shadow:var(--shadow-lift)}.profile-card .avatar{width:104px;height:104px;border-radius:50%;display:grid;place-items:center;font-size:60px;background:var(--primary-tint);margin-bottom:10px}.profile-card:nth-child(3n+2) .avatar{background:var(--gold-tint)}.profile-card:nth-child(3n+3) .avatar{background:var(--right-bg)}.profile-name{font-weight:600;font-size:22px}.profile-card.add{border:1.5px dashed #cfc8bb}.profile-card.add .avatar{background:transparent;color:var(--muted);font-size:44px}.profile-card.add .profile-name{color:var(--muted);font-weight:500}.subject-card{border:1px solid var(--line);border-top:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);padding:26px;min-height:240px;position:relative;overflow:hidden}.subject-card:before{content:"";position:absolute;inset:0 0 auto 0;height:120px;background:linear-gradient(180deg,color-mix(in srgb,var(--sc) 12%,transparent),transparent);pointer-events:none}.subject-card>*{position:relative}.subject-icon{font-size:40px;width:72px;height:72px;display:grid;place-items:center;border-radius:20px;background:var(--surface);box-shadow:var(--shadow);margin-bottom:6px}.subject-name{font-weight:600;font-size:30px;color:var(--text);letter-spacing:-.02em}.subject-math{--sc: var(--primary)}.subject-chip{background:color-mix(in srgb,var(--c) 12%,white);color:color-mix(in srgb,var(--c) 80%,black);font-weight:600;font-size:13px;padding:5px 11px}.op-grid{gap:14px}.op-card{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);min-height:176px;padding:18px;gap:4px;transition:box-shadow .15s,transform .15s}.op-card:hover{box-shadow:var(--shadow-lift)}.op-symbol{background:color-mix(in srgb,var(--c) 14%,white);color:var(--c);font-family:var(--display);font-weight:600;width:52px;height:52px;border-radius:14px;font-size:30px;margin-bottom:8px}.op-symbol.wide{font-size:20px}.next-up .op-symbol{background:color-mix(in srgb,var(--c) 14%,white)}.op-name{font-weight:600;font-size:21px;letter-spacing:-.01em}.op-level{font-weight:600;font-size:14px;color:var(--c)}.bar{height:8px;background:var(--sunken)}.next-up{border:1px solid color-mix(in srgb,var(--primary) 30%,white);background:linear-gradient(90deg,var(--primary-tint),var(--surface));font-family:var(--display)}.practice-body{gap:28px}.problem-area{background:var(--surface);border:1px solid var(--line);border-radius:28px;box-shadow:var(--shadow);padding:32px 24px 24px}.problem{font-weight:600;letter-spacing:-.01em}.problem .sym{color:var(--primary);opacity:.7}.problem.vertical .rule{height:4px;background:var(--text)}.answer-box{border:2px dashed #cfc8bb;border-radius:16px;color:var(--primary);background:#fbfaf7}.answer-box.active{border:2px solid var(--primary);box-shadow:0 0 0 5px var(--primary-tint);background:var(--surface)}.answer-box.wrong,.answer-box.right{border-style:solid}.dots{gap:6px}.dot{width:28px;height:8px;border-radius:999px;background:#e4dfd5}.key{font-weight:500;font-size:34px;border:1px solid var(--line);border-bottom-width:3px;box-shadow:none;border-radius:18px}.key:active:not(:disabled){transform:translateY(2px);border-bottom-width:1px;background:var(--primary-tint)}.key.submit{background:var(--primary);color:#fff;border:none;border-bottom:3px solid var(--primary-dark);font-weight:600;font-size:26px}.key.submit:disabled{opacity:1;background:#d9d6f3;border-bottom-color:#c6c2ee;color:#fff}.feedback{font-weight:600;font-size:22px}.btn.hint-btn{background:var(--gold-tint);color:var(--gold-ink);box-shadow:none;border:1px solid #f3dfae;font-size:16px}.btn.scratch-btn{background:var(--surface);color:var(--text);box-shadow:none;border:1px solid var(--line);font-size:16px}.hint-panel{border:1px solid #f3dfae;box-shadow:var(--shadow)}.scratch-paper{border:1px solid var(--line);box-shadow:var(--shadow);background-image:linear-gradient(#efebe4 1px,transparent 1px),linear-gradient(90deg,#efebe4 1px,transparent 1px)}.scratch-tools button{box-shadow:none;border:1px solid var(--line);font-weight:500}.scratch-tools button.on{background:var(--text);border-color:var(--text)}.panel{border:1px solid var(--line);box-shadow:var(--shadow);padding:22px 24px}.panel-title{font-weight:600;font-size:20px;letter-spacing:-.01em}.segmented button{background:var(--surface);border:1px solid var(--line);font-weight:500;font-size:18px}.segmented button.on{background:var(--text);border-color:var(--text)}.child-tabs{background:var(--sunken);padding:4px;border-radius:16px;gap:4px}.child-tabs button{border:none;background:transparent;min-height:48px}.child-tabs button.on{background:var(--surface);color:var(--text);box-shadow:var(--shadow)}.section-tabs{border-bottom:1px solid var(--line);gap:2px}.section-tabs button{font-weight:500;font-size:15px;border-radius:0;border-bottom-width:2px;background:none;padding:0 14px}.section-tabs button.on{color:var(--text);border-bottom-color:var(--primary);background:none;font-weight:600}.rc-summary{background:linear-gradient(180deg,var(--primary-tint),var(--surface) 70%);border:1px solid color-mix(in srgb,var(--primary) 18%,white)}.rc-summary h3{font-family:var(--display);font-weight:600}.rc-overview{font-weight:500}.rc-subject{background:var(--surface);border:1px solid var(--line);border-top:4px solid #d8d2c6}.rc-number,.rc-none{font-weight:600}.reward-table th,.reward-table td,.to-give li,.sessions th,.sessions td{border-bottom-color:#f1ede6}@media (max-width: 600px){.screen{padding-left:16px;padding-right:16px}.topbar .hello{display:none}.topbar .btn.ghost{padding:0 12px;font-size:15px}.shop-btn>span:last-child{font-size:15px}.title{font-size:24px;text-align:left}.profile-grid{grid-template-columns:repeat(2,1fr);gap:12px}.profile-card .avatar{width:80px;height:80px;font-size:46px}.problem-area{padding:20px 16px;border-radius:22px}.subject-card{padding:20px;min-height:0}}.form,.progress-card,.shop-item,.sessions,.attempt,.choice,.hint-panel,.grade-ready{border:1px solid var(--line);box-shadow:var(--shadow)}.choice{font-weight:500;border-width:1.5px}.choice.on,.choice.answer{border-width:1.5px}.choice-letter{background:var(--sunken);font-family:var(--display)}.field{font-weight:600;font-size:15px}.field input{border:1px solid var(--line);border-radius:12px;font-size:20px;background:#fdfcfa}.field input:focus{border-color:var(--primary);box-shadow:0 0 0 4px var(--primary-tint)}.avatar-grid button{background:var(--sunken)}.avatar-grid button.on{background:var(--primary-tint);outline:2px solid var(--primary)}.pin-dots span{border-width:2px}.stars{color:var(--gold)}.points-earned,.shop-wallet-n,.shop-price{font-family:var(--display);font-weight:600}.hint-tabs button{font-weight:500;background:var(--sunken)}.hint-tabs button.on,.hint-nav .hint-next,.hint-count span.on{background:var(--text)}.stat-value{font-weight:600}.progress-head{font-family:var(--display)}.tag{font-weight:600}.banner{font-family:var(--display);font-weight:600}.lesson-sheet{border-radius:24px}.pic-objects{width:min(100%,640px);max-height:300px}.pic-big{display:flex;flex-direction:column;align-items:center;gap:4px;line-height:1.1;font-family:var(--display);font-weight:600;color:var(--text)}.pic-big.xl{font-size:clamp(96px,16vw,150px)}.pic-big.lg{font-size:clamp(56px,9vw,88px);letter-spacing:.04em}.pic-big.md{font-size:clamp(34px,5vw,48px);max-width:16ch;text-align:center}.pic-big-word{font-size:28px;color:var(--muted);font-weight:600;letter-spacing:0}.say-again{align-self:center}.problem-stack.kinder .story-text{font-size:clamp(26px,3vw,34px);text-align:center}.choicepad.kinder{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.choicepad.kinder.many{grid-template-columns:repeat(3,1fr)}.choicepad.kinder .key.submit{grid-column:1 / -1;min-height:76px;font-size:26px}.choicepad.kinder .choice{justify-content:center;text-align:center;min-height:110px;font-size:clamp(34px,5vw,52px);font-weight:700;border-radius:24px;border-width:3px;padding:8px}.choicepad.kinder .choice.on{border-width:4px}.choicepad.with-pics .choice .pic{width:100%;height:110px;max-height:none;max-width:100%;flex:1 1 auto;min-width:0}.choicepad.with-pics .choice{min-width:0}.with-hint .pic-big.xl,.with-scratch .pic-big.xl{font-size:90px}.with-hint .pic-objects{max-height:200px}.hint-say .read-aloud.small{margin-left:8px;vertical-align:middle}@media (max-width: 600px){.choicepad.kinder .choice{min-height:84px}.pic-big.xl{font-size:96px}}.problem.counted-row{--item: min(38px, calc((100vw - 165px) / var(--units)));align-items:flex-end;gap:.3em;flex-wrap:nowrap}.counted{display:inline-flex;flex-direction:column;align-items:center;gap:8px}.counted-pic{display:flex;align-items:flex-end;justify-content:center}.counted-pic .pic{width:calc((var(--cols) + .533) * var(--item));height:calc((var(--rows) + .533) * var(--item));max-height:none;max-width:none}.with-hint .counted-row,.with-scratch .counted-row{--item: 24px}@media (max-width: 700px){.problem.counted-row{font-size:38px;gap:.15em}.problem.counted-row .answer-box{min-width:64px}}.topbar-left{display:flex;align-items:center;gap:8px}.topbar .btn.ghost.report-btn{color:var(--muted);font-size:14px;padding:0 12px}.report-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;background:var(--bg, #fff);overflow-y:auto;display:flex;flex-direction:column}.report-overlay>.screen{flex:1}.report-issue{display:flex;flex-direction:column;gap:12px;width:min(640px,100%)}.report-issue .report-prompt{font-size:18px;font-weight:600;margin:0;white-space:pre-wrap}.report-issue p{margin:0}.report-shot{width:100%;max-height:42vh;object-fit:contain;border:1px solid var(--line);border-radius:12px;background:var(--surface)}@media (max-width: 600px){.report-btn-text{display:none}.topbar .btn.ghost.report-btn{padding:0 10px}.report-shot{max-height:30vh}}.issue-card{display:flex;flex-direction:column;gap:12px}.issue-card-body{display:grid;grid-template-columns:240px 1fr;gap:16px;align-items:start}.issue-thumb{padding:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--surface);cursor:zoom-in;display:block}.issue-thumb img{display:block;width:100%;height:auto}.issue-thumb.none{display:flex;align-items:center;justify-content:center;aspect-ratio:4 / 3;cursor:default}.issue-info{display:flex;flex-direction:column;gap:6px;min-width:0}.issue-info p{margin:0}.issue-question{font-size:18px;font-weight:600;white-space:pre-wrap}.issue-comment{margin:4px 0 0;padding:10px 14px;border-left:4px solid var(--primary);background:var(--surface);border-radius:0 10px 10px 0;white-space:pre-wrap}.issue-status{font-weight:700;font-size:14px;padding:2px 10px;border-radius:999px;background:#eef2ff}.issue-status.fixed{background:#dcfce7;color:#166534}.issue-status.wont_fix{background:#f1f5f9;color:#475569}.issue-card.status-fixed,.issue-card.status-wont_fix{opacity:.85}.issue-more{display:grid;grid-template-columns:max-content 1fr;gap:2px 12px;margin:4px 0 0}.issue-more dt{font-weight:700;color:var(--muted)}.issue-more dd{margin:0;overflow-wrap:anywhere}.issue-actions{flex-wrap:wrap;gap:8px}.issue-actions .btn.on{border-color:var(--primary)}.issue-lightbox{align-items:center;cursor:zoom-out}.issue-lightbox img{max-width:100%;max-height:92vh;border-radius:12px;box-shadow:0 10px 40px #0006}@media (max-width: 640px){.issue-card-body{grid-template-columns:1fr}}.report-issue-backdrop{contain:strict}.report-issue{contain:layout paint}@font-face{font-family:Lilita One;font-style:normal;font-display:swap;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAAAVoAA8AAAAACegAAAUTAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGhYbDBwYBmAAbBEIColciA0LHgABNgIkAzgEIAWDZAc+DAcb9QdRlE5OmOBngm2rYa0IiBSU4SB6GXpb1ovxAEMb3kc8/X6ve+4LIEoWKsKQjE0KaAS5si8LV935qoC6jkBWl99PeNa/acrMsmIWkJM7J2fiwyD6/rZ3nySQEEJPI2+8mQgCjl/7/xfCPjhmumgbjyJtDTLAgZRI5C2Lsyg9Ej+AogCfIgpT4Glg/xqJD/gP3cxixar09EqCLkAR0S2CjsmOByOgCZ096O8EMaNtszM3NFMavYQr9Cp5x9dfFA/5c6zg2Tty8yAadUVizTiA6qa3QCC/ewmYw2NFVjA0W0NfnG8fGGCFUMwlNjUZzmSW9PlG/R/AyDGpxk28hPlctcMi84z8m/D+t4A8BCJ1LJF6PM8poA/kPvkJWDJ1K8BaUZaAFU7lYnST2ctUYrFxdcncWZ+9iCBZ7QpGtRZjgknaiROuAw9zmuW0fBVJAuYMq2n1OtKMXVFHky8Q0hrFz5fHL9r+nEPMnjt7HmivMC8x91xDA/1M/oAFOmT59tOnXR4D/SyfffGCednGaXbT8vxlrLJwBWKuYq7gZdFz7CSU+gIt6kE7uc+Qo2v37Ql5HkHKQsxRQtvGGz2XFwMdv411vIFQ6YqXmDMUlNIsQgwHBXRRFWtcw+hMzOajmR59mMsOuWmOF4yqrMx9tIxFTBfJL+Ii0RlIK4ImubT7MpIsjraaeanajTm7MtJOmW4rxrqXFRkT0If2oT0spW5rQzzafpjguAN9hiRinFZih+0AJ4zTkDbS8Uh95LjURmGlmKaOU1gqqpGTVk+skg4HuviVSNOtxkAukjRmgehpuFJzeK1lTT5P1BR1/PNEQdrPnuV+BTaWg//+kPhs+NC04dbkEaOaIOzcWmf+0GCvjO57t/beypjctoHZoyi8WpYUkmvITj8o+TTCOX91Xp24bnVevsQkk/AmUsZTIOZotreXUWEZNO7bn9qWsbLZpFW6JvXu9NXJzKKH42p+jchuqW1L6vNy1e9301q7tfmbr/QZMkUOD899Yd14NHBLo/SjF5cCSkjT2NHk135OQk4wT8IJPl3A+KVAmsC6w9Yzeb5ippX3NAv4svYkQsqFgb5lm1UzJZ7DRrsvW6fPCvnquOaJ3AZkUSKvIgyXf96PrZJ0kgSzaEuXOoX1hffmtOr/WYZ+xra+RIUo1WFKdehUQIrG3y5m3i9eznH2AwnYJE9dQSY4kM2VOdnutWqt4pcfeb+k1NlrCD2P3ZO5XLekNz+2uPpKb/XJ2t0NUfOkPccR0vHefWSNS4H/BGiupbdcml/BnXeommkZlIk13/I8D/sOQlw8z33xfpVl+C/GxBeA17vkDn3BYWv7dXrdRJsCQnVz7EH1QwnxcArxoPR47glkG2iQNwSZIChqhlyhaVP9a/045AZNdsyOfJGctxwg9NgmBAURbAFAm+MIaZIADY94zBhygFn0uMesbKlubVJlNpuQyGwxwB96jhQ4qR9Qu4XyKu1Tp1cLH/p5ZE990E5DFwpNaqksidKBtoMWVahBSjs1KNRwaI2gi380ig9P3rz5SjWgRqcMBWu/Q2sDMrNLKOq0U7MWT/ny5gPGn6tBkwHtavQaVcbp0m0kfWtTWctTnNVxceak0ulKzTpDe6uiNRqHjom7XY06zVt5qtVilAt3lKFEEM26JK19bwCDFNQf9sQgYUrmZO1Qm5ZiW0CGLZ6Hyvq4TZke5H+6xGcf+8Snzvruczt8Mu1G9R7wrwIAAA==) format("woff2"),url(data:font/woff;base64,d09GRgABAAAAAAdoAA4AAAAACcgAAQABAAAAAAAAAAAAAAAAAAAAAAAAAABHREVGAAABRAAAABYAAAAWABEADkdQT1MAAAFcAAAADAAAAAwAFQAKR1NVQgAAAWgAAAAYAAAAGGyKdIVPUy8yAAABgAAAAE8AAABgZgH8y2NtYXAAAAHQAAAAUwAAAGxDUOfcZ2FzcAAAAiQAAAAIAAAACAAAABBnbHlmAAACLAAAA1QAAATSWeRXtGhlYWQAAAWAAAAAMgAAADb4vFe7aGhlYQAABbQAAAAeAAAAJAbhAvBobXR4AAAF1AAAADgAAAA4FcIAhmxvY2EAAAYMAAAAHgAAAB4HgwZJbWF4cAAABiwAAAAYAAAAIAAVAE5uYW1lAAAGRAAAAPIAAAHkJa9Cm3Bvc3QAAAc4AAAALwAAAD4DnwR9AAEAAAAMAAAAAAAAAAIAAQABAA0AAQAAAAEAAAAKAAoACgAAAAEAAAAKABYAFgABbGF0bgAIAAAAAAAAeNpjYGJczjiBgZWBgWkPUxcDA0MPhGa8y2DE8AsoygADDQwMugxIICAyKJjBgUFBQYF51n9VBgbm2Qx3gMKMDCDiF9MBIKXAwAQAu3UOIwB42mNgYGACYmYgFgGSjGCahSECSAsxCDAwA2UVGJ0YExkrGOsYJzEdV1D4/5+BASjmyJgAFKuFif1//O/wv2X/Jvzr+Vf51/X+W6BJGAAA3YQYRQAAAQAB//8AD3jabJQDtOtKFIb3nkmTpkqRSWqeukdBr23bNheebXvx2bZtLz7b9uLTcnsnBxe9J8bM/N8mILgA8E3yNlQARoUK+XLJGtUchyF+NXWNhUxD11RJrCMbeirk8qXpubBbENzhnBGL2sbmwZfN1zp3Mdx6MuiOoyelJJUUsqBIBVFp/TXwekZVr6o1n6PabuGx5FVIARTVQmkCHqZsHi6LbOfi8YMC47esmDT4NMkto/TRoMJWhUqt6waegUCq/T/+Q6+BGkwAGJVGw7Z6KF+5aRqarjJVlEp5puppqmvOS74HrSY6WgqK+V4s2c5IvTk/smFFdHLWDlTO2zv7VNKQJ+8outPl7rh94mnjt8xO4wJZUcXrJbd0vZiXyZln/KtYOUVPh8pszKOnZGKUFvaJuS4tJAQiqaixdN/FRB27dAl5VEtXXMsFYblLzlhz5wInjnHi+8hbUIAmJ9ZMTlx2MAxtgLbAcdNkgLaQL9kj0k5d0pu2zth/zZ66u24k2Oii3rd336zjE9jooHyynylR8/i5C7NxbTaNRnyhmBouTVi8ra+WnEgSHXC0/V/7P3ISvQA0SEMJAB0vSpTxwPBoTUBa4h8ySNX8BLQMpg/d8Ur/calF9P1RyWZi1GfC2sxpvjnWZZf9etll5PaCW2xN+z0kCVQK/4ivid6uL7Eiui6XXVcNXB2PFPklTq+AFPQBRAbzwswZmipR0zgsC61RiZFCF5KoS2Z4QbAf/3wGUZMF0au3TpN76Z/nd/iDiD2RnljPeQFs3dSnG0njlLSA+/CiEaIEgA/xKGlQdZhsawBIwVEGUwdhJmHkaJi6FMFJUh++/nDQ42u9qtTIK5d0MODy+gmrvfivb1Zi5nZGvsN9nerYvrs9Ad/l6nX+wgWduqBOOlhNJ2FGRQocyKmdURPRdPImgHYpryCe7A2J0txS9Fl7bpec7a24ijO8Lo9nBvVuWtzYls1m50gU/80bXYHW2Y/Fral+ZuGJGTUxStuzNBZndp4wiwHCbOLDm7l+GGAEj+OxnW59q8MEhGL7UXyefAMFAAw58eM5fqjb2IPdJoXD0cVaSgmkUsdFJCrI4QMrBHOKgBxWDiHGaf8sIKUA4wlZXlkB2a0Q3lYwhwEAvBLSq3jaY2BkYADi5t8fKo7F89t8ZeBmfsEABKd1OU/B6P9d/1WYdzLPBnI5GJhAogCeEw3qAAB42mNgZGBgnv1fBUi++9/1/zzzTqAIKuADAKY3BtYAAADHAAAAAAAAAU0AAAC8AAAB1QAFAX0ABQIYAB0BwgAZAmf/9QIzACUBxgAZAab/pgHjAEgB2wAlAAAAAAAAAAAAAAA7AGcAwAEOAUkBkwHSAhICMwJpAAB42mNgZGBg4GPwZWBjAAIgDw0AAAnZAGR42m2OBWoDQBREX929WLFPkLoXC1J3V5y4u8tpeoKeoFhOlgHiCWuzY3xgkiAjDI1OAf/UGniIVf4aeJh5fht4hDPcDTza4RljjZsGHmeZkwaeF4Iwea00Tva1cvjIEtE/L7ynEyGuNyU2JP2VG560xOrk8YhJEuBHJ4vcpPQ3DpU50DrigQIecc9IIY+a5BUj5MS6uqzRJp4jpQ+1PvQPqSMuPTvQfUmKNBWy4kOEpRkb+NjsaLHWHDZwEiWINhxniCchNq6/j7DuPbxqr6pzB6MknBdvaDpyOlmKuv1ibhrtxotyCaQLOwZO7qgDp2hIawAAeNptwUkBgCAAALCJf8MY0TA24EUa7hhQgE0AVvQ6eXAJbkXVdMkw/bJvA722ChwA) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Lilita One;font-style:normal;font-display:swap;font-weight:400;src:url(./lilita-one-latin-400-normal-87r-Z-Re.woff2) format("woff2"),url(./lilita-one-latin-400-normal-DXkechA3.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Andika;font-style:normal;font-display:swap;font-weight:400;src:url(./andika-cyrillic-ext-400-normal-VNDy5CZS.woff2) format("woff2"),url(./andika-cyrillic-ext-400-normal-BJwze9_g.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Andika;font-style:normal;font-display:swap;font-weight:400;src:url(./andika-cyrillic-400-normal-DYbdP60f.woff2) format("woff2"),url(./andika-cyrillic-400-normal-CIdpN1kB.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Andika;font-style:normal;font-display:swap;font-weight:400;src:url(./andika-vietnamese-400-normal-afg23LQ3.woff2) format("woff2"),url(./andika-vietnamese-400-normal-Bw99zChb.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Andika;font-style:normal;font-display:swap;font-weight:400;src:url(./andika-latin-ext-400-normal-D580Nkki.woff2) format("woff2"),url(./andika-latin-ext-400-normal-NXfvB_tZ.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Andika;font-style:normal;font-display:swap;font-weight:400;src:url(./andika-latin-400-normal-BTFTIZb-.woff2) format("woff2"),url(./andika-latin-400-normal-BK42By1L.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Andika;font-style:normal;font-display:swap;font-weight:700;src:url(./andika-cyrillic-ext-700-normal-DvCsrHON.woff2) format("woff2"),url(./andika-cyrillic-ext-700-normal-BdIUMeTx.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Andika;font-style:normal;font-display:swap;font-weight:700;src:url(./andika-cyrillic-700-normal-D404ywHU.woff2) format("woff2"),url(./andika-cyrillic-700-normal-Bzg0mZT8.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Andika;font-style:normal;font-display:swap;font-weight:700;src:url(./andika-vietnamese-700-normal-CS3rZngu.woff2) format("woff2"),url(./andika-vietnamese-700-normal-CZOGxJjV.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Andika;font-style:normal;font-display:swap;font-weight:700;src:url(./andika-latin-ext-700-normal-Ch3SGZaH.woff2) format("woff2"),url(./andika-latin-ext-700-normal-DBt0PRsd.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Andika;font-style:normal;font-display:swap;font-weight:700;src:url(./andika-latin-700-normal-Dk95f5lc.woff2) format("woff2"),url(./andika-latin-700-normal-CAUSQC6x.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--ink: #1d2321;--block-red: #e5483b;--block-blue: #2e6fd8;--block-green: #3aa45b;--block-yellow: #ffc83d;--mat: #dfe7df;--bg: #fdf8ec;--surface: #ffffff;--sunken: #f3eddd;--line: var(--ink);--text: var(--ink);--muted: #5d6662;--primary: var(--block-blue);--primary-dark: #1f56b0;--primary-tint: #dce8fb;--gold: var(--block-yellow);--gold-ink: #5c4100;--gold-tint: #fff1c9;--right: #2f8a4b;--right-bg: #e0f2e5;--wrong: #c93a2e;--wrong-bg: #fde5e2;--add: var(--block-red);--subtract: var(--block-blue);--multiply: var(--block-green);--divide: var(--block-yellow);--fractions: var(--block-red);--decimals: var(--block-yellow);--wordProblems: var(--block-blue);--placeValue: var(--block-blue);--time: var(--block-green);--money: var(--block-green);--measurement: var(--block-yellow);--geometry: var(--block-red);--graphs: var(--block-blue);--ratios: var(--block-red);--integers: var(--block-blue);--expressions: var(--block-green);--statistics: var(--block-yellow);--factors: var(--block-green);--reading: var(--block-red);--grammar: var(--block-blue);--spelling: var(--block-green);--radius: 18px;--press: 0 5px 0 var(--ink);--press-sm: 0 3px 0 var(--ink);--shadow: var(--press);--shadow-lift: 0 7px 0 var(--ink);--display: "Lilita One", system-ui, sans-serif;font-family:Andika,system-ui,-apple-system,Segoe UI,sans-serif;font-feature-settings:normal;color:var(--ink);background:var(--bg)}body{background:var(--bg)}:root{--on-c: #fff}.op-divide,.op-decimals,.op-measurement,.op-statistics{--on-c: var(--ink)}.title,.subtitle,.big,.btn,.op-name,.profile-name,.subject-name,.panel-title,.problem,.key,.answer-box,.rc-number,.stat-value,.section-tabs button,.segmented button,.points-badge,.shop-btn,.section-label,.op-symbol,.subject-icon,.next-up strong,.banner,.feedback,.progress-head,.points-earned,.shop-wallet-n,.shop-price{font-family:var(--display);font-weight:400;letter-spacing:.005em}h1,h2,h3,.title{letter-spacing:.005em}.title{font-size:clamp(30px,4vw,42px);margin:6px 0 18px}.hello{font-family:var(--display);font-weight:400;font-size:20px;color:var(--ink)}.section-label{text-transform:none;letter-spacing:.01em;font-size:20px;color:var(--ink);margin:22px 0 10px}.muted{color:var(--muted)}.btn{border:3px solid var(--ink);border-radius:14px;box-shadow:var(--press);font-size:20px;transition:transform .06s,box-shadow .06s}.btn:active:not(:disabled){transform:translateY(3px);box-shadow:0 2px 0 var(--ink)}.btn.primary{background:var(--block-blue);color:#fff;box-shadow:var(--press)}.btn.primary:active{background:var(--primary-dark)}.btn.secondary{background:var(--surface);box-shadow:var(--press);border:3px solid var(--ink)}.btn.ghost{background:var(--surface);color:var(--ink);min-height:44px;padding:0 16px;font-size:17px;box-shadow:var(--press-sm)}.btn.danger{background:var(--block-red);border-color:var(--ink)}.btn.danger-outline{border:3px solid var(--ink);color:var(--wrong);box-shadow:var(--press-sm)}.btn.danger-link,.btn.ghost.sign-out-link,.btn.ghost.admin-link{border:none;box-shadow:none;background:none;color:var(--muted)}.btn:disabled{opacity:.55}.topbar .btn.ghost{min-height:44px;padding:0 14px;border-radius:12px;font-size:17px;border:3px solid var(--ink);background:var(--surface);box-shadow:var(--press-sm);color:var(--ink);font-weight:400}.topbar .btn.ghost.report-btn{border:none;box-shadow:none;background:none;color:var(--muted);font-family:inherit;font-size:14px}.shop-btn{border:3px solid var(--ink);border-radius:12px;box-shadow:var(--press-sm);background:var(--surface);color:var(--ink);font-size:17px;min-height:44px;padding:2px 14px 2px 4px}.points-badge{background:var(--block-yellow);color:var(--ink);border-radius:9px;font-size:18px;padding:4px 10px}.profile-card,.subject-card,.op-card,.panel,.form,.next-up,.choice,.hint-panel,.grade-ready,.progress-card,.shop-item,.sessions,.attempt,.problem-area,.scratch-paper,.lesson-sheet,.welcome-subject{background:var(--surface);border:3px solid var(--ink);box-shadow:var(--shadow)}button.profile-card,button.subject-card,button.op-card,button.next-up{transition:transform .06s,box-shadow .06s}button.profile-card:active,button.subject-card:active,button.op-card:active,button.next-up:active{transform:translateY(3px);box-shadow:0 2px 0 var(--ink)}.profile-card:hover,.op-card:hover{box-shadow:var(--shadow)}.profile-card .avatar{background:var(--primary-tint);border:3px solid var(--ink);border-radius:22px}.profile-card:nth-child(4n+2) .avatar{background:#fde3df}.profile-card:nth-child(4n+3) .avatar{background:var(--gold-tint)}.profile-card:nth-child(4n+4) .avatar{background:var(--right-bg)}.profile-name{font-size:26px}.profile-card.add{border:3px dashed var(--ink);box-shadow:none;background:transparent}.profile-card.add .avatar{border:none;background:transparent}.subject-card{border-top:3px solid var(--ink);border-radius:22px}.subject-card:before{display:none}.subject-math{--sc: var(--block-blue)}.subject-english{--sc: var(--block-red)}.subject-icon{width:76px;height:76px;border-radius:18px;border:3px solid var(--ink);box-shadow:var(--press-sm);background:var(--sc);color:#fff;font-size:30px}.subject-name{font-size:36px;color:var(--ink)}.subject-chip{background:var(--c);color:var(--on-c);border:2px solid var(--ink);border-radius:8px;font-weight:700;font-size:14px;padding:3px 9px}.op-grid{gap:16px}.op-card{background:var(--surface);min-height:0;padding:16px;gap:4px;border-radius:18px}.op-card.focus{outline:none;background:var(--block-yellow)}.op-card.focus .op-level,.op-card.focus .muted{color:var(--ink)}.op-symbol,.next-up .op-symbol{background:var(--c);color:var(--on-c);border:3px solid var(--ink);border-radius:14px;width:60px;height:60px;font-size:38px;margin-bottom:6px;box-shadow:var(--press-sm)}.op-symbol.wide{font-size:22px}.op-symbol.small{width:46px;height:46px;font-size:28px;border-radius:11px}.op-symbol.small.wide{font-size:16px}.op-name{font-size:24px}.op-level{color:var(--ink);font-weight:700;font-size:16px}.tag{background:var(--gold-tint);color:var(--gold-ink);border:2px solid var(--ink);border-radius:8px}.tag.focus-tag{background:var(--ink);color:#fff}.bar{position:relative;height:16px;border:2.5px solid var(--ink);border-radius:5px;background:var(--surface)}.bar>span{border-radius:0;background:var(--c, var(--block-blue))}.bar:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:repeating-linear-gradient(90deg,transparent 0 calc(10% - 2px),var(--ink) calc(10% - 2px) 10%);pointer-events:none}.next-up{border-radius:18px;background:var(--block-yellow);font-family:inherit}.next-up strong{font-size:22px}.next-up .muted{color:var(--ink)}.next-up-go{color:var(--ink);font-family:var(--display)}.review-note{background:var(--gold-tint);color:var(--gold-ink);border:2px solid var(--ink)}.grade-ready{background:var(--right-bg)}.problem-area{border-radius:24px}.problem{font-weight:400}.problem .sym{color:var(--block-blue);opacity:1}.problem.vertical .rule{height:5px;background:var(--ink);border-radius:2px}.answer-box{border:3px dashed var(--ink);border-radius:14px;background:var(--surface);color:var(--ink)}.answer-box.active{border:3px solid var(--ink);background:var(--block-yellow);color:var(--ink);box-shadow:var(--press)}.answer-box.right{border:3px solid var(--ink);background:var(--block-green);color:#fff}.answer-box.wrong{border:3px solid var(--ink);background:var(--wrong-bg);color:var(--wrong)}.dots{gap:5px}.dot{width:22px;height:22px;border-radius:6px;border:3px solid var(--ink);background:var(--surface)}.dot.right{background:var(--block-green)}.dot.wrong{background:var(--block-red)}.key{font-size:36px;border:3px solid var(--ink);border-bottom-width:3px;border-radius:16px;background:var(--surface);box-shadow:var(--press);transition:transform .06s,box-shadow .06s}.key:active:not(:disabled){transform:translateY(3px);box-shadow:0 2px 0 var(--ink);border-bottom-width:3px;background:var(--surface)}.key.back{background:var(--sunken)}.key.switch{background:var(--primary-tint);color:var(--ink)}.key.submit{background:var(--block-green);color:#fff;border:3px solid var(--ink);border-bottom-width:3px;font-size:30px}.key.submit:disabled{opacity:1;background:#c9e3d0;color:#fff;box-shadow:var(--press-sm)}.btn.hint-btn{background:var(--block-yellow);color:var(--ink);border:3px solid var(--ink);box-shadow:var(--press-sm);font-size:17px}.btn.learn-btn{background:var(--primary-tint);color:var(--ink);border:3px solid var(--ink);box-shadow:var(--press-sm);font-size:17px}.btn.scratch-btn{background:var(--surface);color:var(--ink);border:3px solid var(--ink);box-shadow:var(--press-sm);font-size:17px}.hint-panel{border-color:var(--ink)}.hint-tabs button{background:var(--sunken);border:2px solid var(--ink)}.hint-tabs button.on{background:var(--ink);color:#fff}.hint-nav .hint-next,.hint-count span.on{background:var(--ink)}.choice{border-radius:16px;font-weight:700}.choice.on{border-color:var(--ink);background:var(--block-yellow)}.choice.answer{border-color:var(--ink);background:var(--right-bg)}.choice-letter{background:var(--sunken);border:2px solid var(--ink);color:var(--ink);font-family:var(--display);font-weight:400}.choice.on .choice-letter{background:var(--ink);color:#fff}.choice.answer .choice-letter{background:var(--block-green);color:#fff}.choicepad.kinder .choice,.choicepad.kinder .choice.on{border-width:3px}.feedback{font-family:var(--display);font-weight:400;font-size:24px}.scratch-paper{border-radius:18px;background-image:linear-gradient(#e6ebe6 1px,transparent 1px),linear-gradient(90deg,#e6ebe6 1px,transparent 1px)}.scratch-tools button{border:2px solid var(--ink);box-shadow:none}.scratch-tools button.on{background:var(--ink);border-color:var(--ink);color:#fff}.stars{color:var(--block-yellow)}.pic-big{font-family:var(--display);font-weight:400}.field{font-weight:700}.field input{border:3px solid var(--ink);border-radius:12px;background:var(--surface)}.field input:focus{border-color:var(--block-blue);box-shadow:0 0 0 4px var(--primary-tint)}.segmented button{background:var(--surface);border:3px solid var(--ink);font-size:18px}.segmented button.on{background:var(--ink);border-color:var(--ink);color:#fff}.avatar-grid button{background:var(--sunken);border:2px solid transparent}.avatar-grid button.on{background:var(--block-yellow);outline:none;border-color:var(--ink)}.panel{border-width:2px;box-shadow:var(--press-sm);border-radius:16px}.panel-title{font-size:22px}.child-tabs{background:var(--sunken);border:2px solid var(--ink)}.child-tabs button{border:2px solid transparent;font-size:18px}.child-tabs button.on{background:var(--surface);color:var(--ink);box-shadow:none;border:2px solid var(--ink)}.section-tabs{border-bottom:2px solid var(--ink)}.section-tabs button{font-size:17px;color:var(--muted)}.section-tabs button.on{color:var(--ink);border-bottom:5px solid var(--block-blue)}.rc-summary{background:var(--surface);border:2px solid var(--ink);box-shadow:var(--press-sm)}.rc-summary h3{font-family:var(--display);font-weight:400}.rc-subject{border:2px solid var(--ink);border-top:6px solid var(--ink)}.sessions,.attempt,.progress-card{border-width:2px;box-shadow:var(--press-sm)}.reward-table th,.reward-table td,.to-give li,.sessions th,.sessions td{border-bottom-color:#ece5d4}@media (max-width: 600px){.topbar .btn.ghost,.points-badge,.topbar-right .muted{white-space:nowrap}.topbar .btn.ghost{padding:0 10px;font-size:15px}.topbar>.muted{font-size:13px;text-align:center;line-height:1.25}.points-badge{font-size:16px;padding:3px 8px}.op-card{display:grid;grid-template-columns:auto 1fr;column-gap:14px;row-gap:2px;align-items:center}.op-card>*{grid-column:2}.op-card>.op-symbol{grid-column:1;grid-row:1 / span 4;margin:0;align-self:start}.op-card>.bar{grid-column:1 / -1;margin-top:8px}.title{font-size:28px}.key{font-size:30px;border-radius:14px}.op-name{font-size:21px}.subject-name{font-size:30px}.subject-icon{width:62px;height:62px;font-size:24px}.op-symbol{width:52px;height:52px;font-size:32px}.dot{width:18px;height:18px;border-width:2.5px}}.welcome{min-height:100dvh;padding:max(14px,env(safe-area-inset-top)) 28px 28px;max-width:1160px;margin:0 auto;display:flex;flex-direction:column;gap:76px}.welcome-top{display:flex;align-items:center;gap:24px;padding:10px 0}.welcome-brand{display:flex;align-items:center;gap:10px;font-family:var(--display);font-size:26px}.welcome-nav{display:flex;gap:26px;margin-left:auto}.welcome-nav a{color:var(--ink);text-decoration:none;font-weight:700;font-size:17px}.welcome-nav a:hover{text-decoration:underline;text-decoration-thickness:3px;text-underline-offset:5px}.btn.welcome-top-login{min-height:46px;padding:0 20px;font-size:18px;background:var(--surface);box-shadow:var(--press-sm)}.welcome-hero{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}.welcome-copy{display:flex;flex-direction:column;align-items:flex-start;gap:20px}.welcome-title{font-family:var(--display);font-weight:400;font-size:clamp(48px,7vw,86px);line-height:.98;margin:0}.w-red{color:var(--block-red)}.w-blue{color:var(--block-blue)}.w-green{color:var(--block-green)}.welcome-lead{font-size:clamp(17px,1.8vw,21px);line-height:1.55;margin:0;max-width:36ch}.welcome-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:4px}.btn.welcome-login,.btn.sign-in.google.welcome-login{min-height:62px;font-size:22px;padding:0 28px;background:var(--block-yellow);box-shadow:0 7px 0 var(--ink);gap:12px}.btn.welcome-login svg{background:#fff;border-radius:8px;padding:3px;width:30px;height:30px;border:2px solid var(--ink)}.welcome-copy .feedback{margin:0}.welcome-note{margin:0;max-width:44ch;line-height:1.5}.welcome-blocks{position:relative;display:flex;flex-direction:column;gap:20px;padding:8px 0 0}.wb-sum{display:flex;justify-content:space-between;font-family:var(--display);font-size:clamp(34px,4.4vw,50px);padding:0 8px}.wb-model{display:flex;gap:clamp(20px,4vw,44px);align-items:flex-end}.wb-group{display:flex;gap:8px;align-items:flex-end}.wb-rod{display:flex;flex-direction:column;width:clamp(28px,3.4vw,42px);border:3px solid var(--ink);border-radius:8px;overflow:hidden;background:var(--c)}.wb-rod i{height:clamp(20px,2.4vw,27px);border-bottom:2px solid rgba(0,0,0,.22)}.wb-rod i:last-child{border-bottom:none}.wb-cubes{display:grid;grid-template-columns:repeat(2,auto);gap:4px}.wb-cubes i{width:clamp(22px,2.6vw,32px);aspect-ratio:1;background:var(--c);border:3px solid var(--ink);border-radius:6px}.wb-hint{position:absolute;right:0;bottom:100px;max-width:230px;background:var(--surface);border:3px solid var(--ink);border-radius:16px;box-shadow:var(--press);padding:12px 16px;font-size:17px;line-height:1.35}.wb-hint b{display:block;font-family:var(--display);font-weight:400;font-size:22px}.welcome-section{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.welcome-h2{font-family:var(--display);font-weight:400;font-size:clamp(32px,4vw,46px);margin:0 0 14px}.welcome-steps{list-style:none;margin:0;padding:0;width:100%;display:grid;grid-template-columns:repeat(2,1fr);gap:18px 28px}.welcome-step{display:flex;gap:18px;align-items:flex-start}.welcome-step-n{flex:none;width:64px;height:64px;display:grid;place-items:center;background:var(--c);color:var(--on-c);border:3px solid var(--ink);border-radius:16px;box-shadow:var(--press-sm);font-family:var(--display);font-size:36px}.welcome-step:last-child .welcome-step-n{color:var(--ink)}.welcome-step-title{margin:4px 0;font-family:var(--display);font-weight:400;font-size:26px}.welcome-step-text{margin:0;font-size:17px;line-height:1.5;max-width:40ch}.welcome-subjects{width:100%;display:grid;grid-template-columns:2fr 1fr;gap:18px;align-items:start}.welcome-subject{border-radius:22px;padding:22px}.welcome-subject-name{display:flex;align-items:center;gap:12px;margin:0 0 16px;font-family:var(--display);font-weight:400;font-size:30px}.welcome-subject-icon{width:52px;height:52px;border-radius:13px;display:grid;place-items:center;font-size:20px;color:#fff;background:var(--block-blue);border:3px solid var(--ink)}.subject-english .welcome-subject-icon{background:var(--block-red)}.welcome-skills{display:flex;flex-wrap:wrap;gap:8px}.welcome-skill{display:inline-flex;align-items:center;gap:8px;background:var(--surface);border:2px solid var(--ink);border-radius:12px;padding:4px 12px 4px 4px;font-weight:700;font-size:15px}.welcome-skill .op-symbol.small{width:30px;height:30px;font-size:18px;border-radius:8px;border-width:2px;margin:0;box-shadow:none}.welcome-skill .op-symbol.small.wide{font-size:11px}.welcome-subjects-note{margin:6px 0 0}.welcome-band{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:28px 32px;border-radius:22px;background:var(--block-yellow);border:3px solid var(--ink);box-shadow:var(--shadow-lift)}.welcome-band-title{font-family:var(--display);font-weight:400;font-size:clamp(30px,3.6vw,42px);margin:0}.welcome-band-text{margin:4px 0 0;font-size:18px}.btn.welcome-band-btn{background:var(--block-green);color:#fff;min-height:60px;padding:0 30px;font-size:22px}.welcome-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 0 4px;border-top:3px solid var(--ink);margin-top:-36px}.welcome-brand.small-brand{font-size:18px}@media (max-width: 900px){.welcome{gap:60px}.welcome-subjects{grid-template-columns:1fr}}@media (max-width: 820px) and (orientation: portrait),(max-width: 640px){.welcome-hero{grid-template-columns:1fr}.welcome-blocks{max-width:520px;width:100%}}@media (max-width: 600px){.welcome{padding-left:18px;padding-right:18px;gap:48px}.welcome-nav{display:none}.btn.welcome-top-login{margin-left:auto}.welcome-brand{font-size:22px}.welcome-title{font-size:50px}.welcome-cta,.btn.welcome-login,.btn.sign-in.google.welcome-login{width:100%}.welcome-steps{grid-template-columns:1fr}.welcome-step-n{width:52px;height:52px;font-size:28px}.welcome-step-title{font-size:22px}.wb-hint{position:static;max-width:none}.welcome-blocks{padding-bottom:0}.welcome-band{padding:24px 20px}.btn.welcome-band-btn{width:100%}.welcome-foot{margin-top:-20px}}.read-aloud,.say-btn,.say-btn.main{background:var(--block-blue);color:#fff;border:3px solid var(--ink);border-radius:14px;box-shadow:var(--press-sm);font-family:var(--display);font-weight:400}.read-aloud.on,.say-btn.main:active,.read-aloud:active,.say-btn:active{transform:translateY(2px);box-shadow:0 1px 0 var(--ink)}.choicepad.kinder .choice,.choicepad.short .choice{font-family:var(--display);font-weight:400}.wb-word{display:flex;align-items:center;gap:16px}.wb-letters{display:flex;gap:6px}.wb-letter{width:clamp(48px,5vw,62px);aspect-ratio:1;display:grid;place-items:center;background:var(--c);color:var(--ink);border:3px solid var(--ink);border-radius:12px;box-shadow:var(--press-sm);font-family:Andika,sans-serif;font-weight:700;font-size:clamp(28px,3.2vw,38px)}.wb-letter:nth-child(2),.wb-letter:nth-child(3){color:#fff}.wb-say{font-size:17px;line-height:1.35}.wb-say b{display:block;font-family:var(--display);font-weight:400;font-size:22px;letter-spacing:.04em}.op-counting{--c: var(--block-red)}.op-comparing{--c: var(--block-blue)}.op-addSubK{--c: var(--block-green)}.op-shapesK{--c: var(--block-yellow);--on-c: var(--ink)}.op-letters{--c: var(--block-red)}.op-phonics{--c: var(--block-blue)}.op-sightWords{--c: var(--block-green)}.subject-chip,.op-symbol,.bar>span,.welcome-skill .op-symbol{background-color:var(--c, var(--block-blue))}.op-shapesK .op-symbol.wide{font-size:15px}
