.math-lab-dialog{--math:#5b4bc4}.math-workspace{margin-top:12px;padding:22px;border:1px solid #dedee2;border-radius:20px;background:#fafafa}.math-workspace h3{margin:18px 0 12px;font-size:18px}.math-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.math-options button{min-height:48px;border:1px solid #d5d5da;border-radius:13px;background:#fff;font-size:15px;font-weight:750;cursor:pointer}.math-options button:hover{border-color:#111}.math-options button.correct{border-color:#19834b;background:#eaf8ef}.math-options button.wrong{border-color:#c33;background:#fff0f0}.math-dots,.math-expression,.math-tiles,.math-balance{display:flex;justify-content:center;align-items:center;gap:12px;min-height:90px;font-size:34px}.math-dots{color:var(--math);letter-spacing:8px}.math-tiles b,.math-tiles i{display:grid;place-items:center;width:52px;height:52px;border-radius:13px;background:#fff;border:1px solid #ccc;font-style:normal}.fraction-bar{display:grid;grid-template-columns:repeat(4,1fr);height:80px;overflow:hidden;border:2px solid #111;border-radius:14px}.fraction-bar i{border-right:1px solid #fff;background:var(--math)}.fraction-bar i:last-child{border:0;background:#fff}.number-line{position:relative;display:flex;justify-content:space-between;margin:35px 10px;padding-top:12px;border-top:3px solid #111}.number-line span:before{content:'';display:block;width:2px;height:12px;margin:-14px auto 6px;background:#111}.number-line .marked{color:var(--math);font-weight:900}.number-line .marked:after{content:'●';display:block;text-align:center}.math-balance span{padding:13px 18px;border-radius:13px;background:#fff;border:1px solid #ccc;font-size:19px}.math-rectangle{position:relative;width:220px;height:110px;margin:15px auto;border:3px solid var(--math);background:#5b4bc416}.math-rectangle span{position:absolute;left:50%;bottom:-24px}.math-rectangle b{position:absolute;right:-20px;top:45%}.mini-graph{display:block;width:240px;max-width:100%;margin:auto}.mini-graph path{fill:none;stroke:#999;stroke-width:2}.mini-graph .plot{stroke:var(--math);stroke-width:4}.math-receipt{display:grid;width:160px;margin:auto;padding:18px;border:1px dashed #999;background:#fff;text-align:center}.math-receipt b{font-size:30px}.math-receipt em{color:#178344}@media(max-width:600px){.math-options{grid-template-columns:1fr}.math-workspace{padding:16px}.math-dots,.math-expression,.math-tiles,.math-balance{font-size:25px}.math-tiles b,.math-tiles i{width:42px;height:42px}}
