.module-page{background:#f5f5f5}.module-hero{background:linear-gradient(135deg,#171717,color-mix(in srgb,var(--accent) 65%,#171717));color:#fff;padding:38px 0 55px}.module-back{font-size:13px;color:#ddd}.module-hero-grid{display:flex;gap:25px;align-items:center;margin-top:35px}.module-hero-grid>span{width:105px;height:105px;border-radius:24px;background:rgba(255,255,255,.15);display:grid;place-items:center;font-size:52px}.module-hero-grid small{font-weight:800;letter-spacing:.1em}.module-hero-grid h1{font-size:38px;margin:5px 0}.module-hero-grid p{color:rgba(255,255,255,.8);margin:0 0 12px}.module-workspace{padding:45px 0 80px}.module-narrow{width:min(780px,calc(100% - 24px));margin:auto}.instruction-card{background:#fff;border-left:5px solid var(--brand);padding:18px 22px;margin-bottom:20px}.instruction-card p{margin:4px 0;color:#666}.question-card{background:#fff;padding:26px;margin-bottom:16px;border:1px solid #e2e2e2}.question-card header{display:flex;gap:16px}.question-card header>span{width:32px;height:32px;border-radius:50%;background:#171717;color:#fff;display:grid;place-items:center;flex:none}.question-card header small{color:#888}.question-card h2{font:700 19px/1.4 Inter,sans-serif}.answer-options{display:grid;gap:9px;margin:20px 0}.answer-options input{position:absolute;opacity:0}.answer-options span{display:block;border:1px solid #ddd;padding:13px 15px}.answer-options input:checked+span{border-color:var(--brand);background:#eafbef}.answer-input{width:100%;border:1px solid #ccc;padding:14px;margin:18px 0}.hint-toggle{border:0;background:transparent;color:#176fbd;padding:0}.question-hint{color:#777;background:#f5f5f5;padding:12px}.question-feedback{margin-top:15px;padding:14px}.question-feedback.correct{background:#e5f8e9;color:#08782a}.question-feedback.wrong{background:#ffeaea;color:#a62828}.math-lab,.reading-module{background:#fff;border:1px solid #ddd;padding:30px}.lab-stage{min-height:300px;background:#111;color:#fff;display:grid;place-items:center;padding:30px;overflow:hidden}.lab-controls{margin:25px 0;display:grid;gap:14px}.lab-controls label{display:grid;gap:6px}.lab-controls input{width:100%}.lab-formula{background:#f3f3f3;padding:17px;text-align:center;font:700 22px ui-monospace,monospace;margin-bottom:22px}.sequence-bars{display:flex;align-items:end;gap:8px;height:220px}.sequence-bars i{width:30px;background:var(--brand);display:grid;align-items:end;justify-content:center;padding-bottom:5px;font-style:normal;color:#fff}.machine-visual{display:grid;grid-template-columns:auto 140px auto;gap:25px;align-items:center;font-size:36px}.machine-box{height:120px;background:var(--brand);display:grid;place-items:center;font-size:20px}.triangle-shape{width:0;height:0;border-left:130px solid transparent;border-right:130px solid transparent;border-bottom:220px solid var(--brand)}.fraction-grid{display:grid;grid-template-columns:repeat(var(--denom),44px);gap:5px}.fraction-grid i{width:44px;height:70px;background:#444}.fraction-grid i.on{background:var(--brand)}.module-result{background:#171717;color:#fff;padding:25px;margin-top:20px;text-align:center}.module-result h2{font-size:34px;margin:0}.rich-content{white-space:pre-wrap;margin-bottom:25px}@media(max-width:640px){.module-hero-grid>span{width:70px;height:70px;font-size:35px}.module-hero-grid h1{font-size:27px}.question-card,.math-lab,.reading-module{padding:18px}.machine-visual{grid-template-columns:1fr;text-align:center}.sequence-bars{gap:3px}.sequence-bars i{width:22px}.triangle-shape{border-left-width:90px;border-right-width:90px;border-bottom-width:160px}}
