@import url('/shared/math6/style.css');
.m7-page .learning-language{max-width:1180px;margin:12px auto 20px;padding:0 24px;display:flex;align-items:center;gap:20px;flex-wrap:wrap}.m7-page .learning-language label{display:flex;gap:10px;align-items:center;font-weight:700}.m7-page .learning-language select{width:auto;min-width:170px;padding:9px 35px 9px 12px;background:white;border:1px solid #b5cec5;border-radius:12px;font:inherit}.m7-page .learning-language p{font-size:13px;color:#526e69;margin:0}.m7-teacher summary{cursor:pointer;font-weight:750;min-height:32px}.m7-intro{margin-top:28px}
.m7-page{background:#f7f4ed;color:#173e44}.m7-subjects{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 24px}.m7-subjects a{padding:10px 15px;border:1px solid #bbd1ca;border-radius:40px;text-decoration:none;color:inherit;background:#fff}.m7-subjects [aria-current=page]{background:#225c51;color:white}.m7-hero{display:grid;grid-template-columns:1fr 1.15fr;background:#e9f0e9;border:1px solid #c2d6ca;border-radius:30px;overflow:hidden;margin-bottom:34px;min-height:420px}.m7-hero>div{padding:clamp(24px,4vw,55px)}.m7-hero h1{font-size:clamp(36px,4.7vw,66px);line-height:1.03;letter-spacing:-.05em;margin:18px 0}.m7-hero h1 em{color:#287269;font-style:normal}.m7-hero p{max-width:42ch;line-height:1.6}.m7-hero img{height:100%;width:100%;object-fit:cover;min-height:300px}.m7-intro>h2{font-size:30px}.m7-intro>p{max-width:65ch}.m7-intro input{display:block;width:min(100%,540px);padding:15px;border-radius:12px;border:1px solid #93b8ae;font:inherit}.m7-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:24px 0}.m7-card{border:1px solid #bed1ca;border-radius:24px;overflow:hidden;background:#fff;color:inherit;text-decoration:none;box-shadow:0 10px 24px #163e4810;transition:transform .15s}.m7-card:hover{transform:translateY(-3px)}.m7-card>div:last-child{padding:22px}.m7-card h2{font-size:26px;line-height:1.1;margin:10px 0}.m7-card-art{background:#e5f0ec;border-top:6px solid var(--unit-color)}.m7-card-art svg{display:block;width:100%}.m7-card small,.m7-progress{font-size:13px;color:#526e69}.m7-card b{color:#246b5d}.m7-teacher{padding:24px;border:1px solid #b8d1c8;border-radius:22px;background:#e9f4ed}.m7-page .m6-course-hero{background:linear-gradient(115deg,#f4f6ed 65%,#daeae3)}.m7-page .m6-course-identity{background-image:linear-gradient(#193b4530,#193b4560),url('/shared/math7/assets/werkstatt-r153.png');background-size:cover;background-position:center}.m7-page .m6-course-identity>span{background:#f8fcf3ed;padding:18px;border-radius:20px;color:var(--unit-color);text-shadow:none}.m7-page .m6-concept{border-left:5px solid var(--unit-color);padding:16px 20px;background:#f0f6f2;border-radius:0 16px 16px 0;margin:18px 0}.m7-page .m6-concept p{max-width:57ch;line-height:1.7}.m7-page .m6-hook{font-size:clamp(22px,2.5vw,30px);line-height:1.4}.m7-help{padding:12px 16px;border:1px solid #9bc6d3;border-radius:12px;background:#e6f4fa;margin:15px 0}.m7-help summary{font-weight:750;color:#145d76;cursor:pointer;min-height:30px}.m7-help li,.m7-help p{line-height:1.6}.m7-lab{padding:20px;background:#f2f7f3;border:1px solid #b3cfc4;border-radius:22px}.m7-mission{padding:16px;background:#fff2cd;border-radius:13px;line-height:1.6}.m7-lab-grid{display:grid;grid-template-columns:minmax(160px,.7fr) minmax(0,1.3fr);gap:20px;margin:20px 0}.m7-control{display:block;margin:20px 0;font-weight:700}.m7-control output{display:inline-block;float:right;background:white;border:1px solid #aac7bf;border-radius:8px;padding:2px 10px;min-width:35px;text-align:center}.m7-control input{display:block;width:100%;min-height:48px;accent-color:#1c786d}.m7-lab select{width:100%;padding:12px;font:inherit;border:1px solid #aac7bf;border-radius:10px}.m7-lab button{min-height:48px;padding:10px 15px;margin:5px;font:inherit;border:1px solid #357e70;border-radius:10px;color:#174e45;background:white}.m7-lab [data-mission]{background:#215e51;color:white;font-weight:750}.m7-lab svg{display:block;width:100%;height:auto}.m7-lab table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px;margin:15px 0}.m7-lab td,.m7-lab th{padding:8px 2px;border:1px solid #b4cec6;text-align:center}.m7-lab caption{padding:8px}.m7-page [role=status]{line-height:1.6;overflow-wrap:anywhere}.m7-page :focus-visible{outline:3px solid #bf7025;outline-offset:3px}.m7-page .m6-question legend{line-height:1.5}.m7-page .m6-station-nav{max-height:90vh;overflow:auto}
@media(max-width:1000px){.m7-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.m7-hero{grid-template-columns:1fr 1fr}.m7-hero h1{font-size:40px}}
@media(max-width:720px){.m7-hero{grid-template-columns:1fr}.m7-hero img{height:200px;min-height:0}.m7-hero h1{font-size:38px}.m7-cards{grid-template-columns:1fr}.m7-lab-grid{grid-template-columns:1fr}.m7-lab{padding:12px}.m7-page .m6-station-nav{max-height:none;overflow:visible}.m7-subjects a{font-size:14px}.m7-card-art svg{max-height:180px}}
@media(prefers-reduced-motion:reduce){.m7-card{transition:none}.m7-card:hover{transform:none}}

/* Four-operation laboratory; number-line geometry describes values, not physical measurements. */
[data-unit="rationale-zahlen"] .m6-course-identity{background-image:linear-gradient(90deg,rgba(12,40,35,.08),rgba(12,40,35,.2)),url("/shared/learning-cover-photos-next/math7-rationale-zahlen-v1.webp")}
.rational-operation-buttons,.rational-presets,.rational-inputs{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.rational-operation-buttons button{flex:1;min-width:145px}.rational-operation-buttons button[aria-pressed="true"]{background:#245d54;color:#fff;border-color:#245d54}.rational-inputs label{flex:1;min-width:180px;display:grid;gap:7px;font-weight:700}.rational-inputs input{width:100%;min-height:48px;font:inherit;font-size:1.2rem;padding:12px;border:2px solid #72978b;border-radius:9px;background:#fff;color:#173f35}.rational-result{font-size:1.3rem;font-weight:750;padding:16px;background:#edf5ef;border-radius:12px}.rational-numberline{width:100%;height:auto;min-height:180px;background:#fcfdfb;border:1px solid #c2d6cd;border-radius:12px;font:17px system-ui,sans-serif}.rational-steps li{margin:12px 0}.rational-lab button{min-height:48px}.rational-lab button:focus-visible,.rational-lab input:focus-visible{outline:3px solid #b5761d;outline-offset:3px}.rational-lab button:disabled{opacity:.6}
