.math-lab{border:1px solid #d8e1e7;min-width:0}.math-lab-heading>span{color:#70828d;font-size:14px}.math-lab-svg{display:block;width:100%;max-width:640px;margin:12px auto;height:auto;touch-action:none}.math-lab-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:22px 0}.math-lab-range{display:block;min-width:0}.math-lab-range span{display:flex;align-items:center;justify-content:space-between;font-size:15px;gap:8px}.math-lab-range output{font-variant-numeric:tabular-nums;color:#587e99;min-width:25px;text-align:right}.math-lab input[type=range]{width:100%;min-height:44px;margin:4px 0;accent-color:#587e99;padding:0}.math-lab-select select{min-height:44px}.math-lab-options{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}.math-lab-options button{border:1px solid #beced9;border-radius:12px;background:#fff;padding:14px 18px;font:inherit;min-height:48px;color:#405b70;cursor:pointer}.math-lab-options .is-selected{background:#edf3f6;outline:2px solid #587e99}.math-lab button:disabled{opacity:.5;cursor:default}.math-lab-measure{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:18px 0}.math-lab-measure input{width:100px;min-height:44px;margin:0}.math-lab textarea{width:100%;box-sizing:border-box;font:inherit;border:1px solid #beced9;border-radius:12px;padding:14px;line-height:1.8}.math-lab [data-lab-status]{min-height:1.8em;color:#4e6e83;line-height:1.8}.math-lab-question-diagram{margin:16px 0}.math-lab-question-diagram figcaption{font-size:14px;line-height:1.8;color:#667e8d;text-align:center}.math-lab button:focus-visible,.math-lab input:focus-visible{outline:3px solid #587e99;outline-offset:3px}.course-loading{padding:28px;min-height:280px}@media(max-width:620px){.math-lab-controls{grid-template-columns:minmax(0,1fr);gap:8px}.math-lab h2{font-size:22px}.math-lab-options{display:grid;grid-template-columns:minmax(0,1fr)}.math-lab-svg{margin:8px auto}.math-lab-range span{font-size:16px}}
