.math-practice{max-width:1180px;margin:36px auto;padding:clamp(20px,4vw,38px);border:1px solid #acc7bd;border-radius:24px;background:#f5f8f2;color:#173f35;font:1rem/1.6 system-ui,sans-serif;scroll-margin-top:20px}.math-practice h2{font-size:clamp(25px,3vw,38px);line-height:1.2;margin:10px 0 18px}.math-practice h3{font-size:1.25rem;line-height:1.6;margin:0 0 20px}.math-practice-eyebrow{font-size:.8rem;font-weight:750;letter-spacing:.08em;color:#37665d}.math-practice-note{font-size:.9rem;color:#4d655c}.math-practice-settings{display:flex;flex-wrap:wrap;gap:16px;align-items:end;margin:24px 0}.math-practice label{display:grid;gap:6px;font-weight:650}.math-practice select,.math-practice input[type=text]{font:inherit;min-height:48px;padding:11px 14px;border:1px solid #7c9e92;border-radius:9px;color:#173f35;background:#fff}.math-practice input[type=text]{max-width:100%;width:320px}.math-practice button,.math-practice-links a{font:inherit;min-height:48px;padding:11px 17px;border:1px solid #2a6959;border-radius:10px;background:#fff;color:#174e40;cursor:pointer;text-decoration:none}.math-practice-settings>button,.math-practice form>button{background:#245e50;color:#fff;font-weight:700}.math-practice button:disabled{opacity:.6;cursor:default}.math-practice :focus-visible{outline:3px solid #bd7922;outline-offset:4px}.math-practice-sheet{padding:clamp(18px,3vw,30px);border:1px solid #c0d3df;border-radius:12px;background-color:#fff;background-image:linear-gradient(#dfeaf466 1px,transparent 1px),linear-gradient(90deg,#dfeaf466 1px,transparent 1px);background-size:24px 24px;box-shadow:0 4px 12px #173f3508}.math-practice form{display:grid;gap:18px}.math-practice form>button{justify-self:start}.math-practice fieldset{border:0;padding:0;margin:0}.math-practice legend{font-weight:650;padding:0;margin-bottom:12px}.math-practice-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.math-practice-choices label{display:flex;align-items:center;gap:10px;padding:15px;border:1px solid #9bb9ac;border-radius:10px;background:#fff;cursor:pointer}.math-practice-choices input{width:20px;height:20px;accent-color:#28684f}.math-practice-choices label:has(input:checked){border:2px solid #28684f;background:#edf7ec}.math-practice-feedback{min-height:1.8em;padding:12px 0;font-weight:650}.math-practice-feedback.is-correct{color:#246245}.math-practice-actions,.math-practice-links{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.math-practice-hints{padding-left:24px;background:#ffffffde;border-radius:8px}.math-practice-hints li{padding:10px 6px}.math-practice-summary{padding:24px;background:#fff;border:1px solid #bed2c8;border-radius:12px}.math-practice math{font-size:1.15em}.m6-lab svg,.m7-lab svg{background-color:#fff;background-image:linear-gradient(#dfeaf466 1px,transparent 1px),linear-gradient(90deg,#dfeaf466 1px,transparent 1px);background-size:20px 20px}@media(max-width:560px){.math-practice{margin:24px 12px;padding:18px}.math-practice-settings{display:grid;grid-template-columns:1fr}.math-practice-choices{grid-template-columns:1fr}.math-practice input[type=text]{width:100%}.math-practice h3{font-size:1.1rem}}

[data-unit="rationale-zahlen"] .rational-numberline{background-image:none}
.math-practice-videos{margin-top:28px;padding:20px;border:1px solid #bfd0c7;background:white;border-radius:12px}.math-practice-videos video{display:block;width:100%;max-width:900px;height:auto;border-radius:8px}

.practice-fraction{display:inline-block;vertical-align:middle;text-align:center;line-height:1.15;margin:0 .1em;font-size:1.05em}.practice-fraction>span{display:block;padding:0 .15em}.practice-fraction>span:first-child{border-bottom:1px solid currentColor}
