:root{color-scheme:light;--ink:#182c40;--muted:#526271;--paper:#fff;--line:#d5dce2;--bg:#f2f4f6;--bronze:#b59563;--blue:#182c40;--green:#315a40;font-family:Arial,Helvetica,sans-serif;font-size:16px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);line-height:1.6}header{background:#fff;border-bottom:3px solid var(--ink);box-shadow:0 2px 10px #182c4010;padding:1.1rem max(1rem,calc((100vw - 1140px)/2));display:flex;gap:1.4rem;align-items:center}header img{display:block;max-width:163px;height:auto}header>span{border-left:1px solid var(--line);padding-left:1.2rem;font-size:.9rem}header>a:last-child{margin-left:auto;font-size:.88rem}a{color:var(--blue)}button,input,textarea,select{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer;min-height:44px;border:1px solid var(--line);border-radius:9px;background:#fff;padding:.65rem 1rem;color:var(--ink)}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #294f70;outline-offset:3px}button.primary{background:var(--blue);color:#fff;border-color:var(--blue);font-weight:700}button:disabled{opacity:.58;cursor:not-allowed}main{max-width:1140px;margin:0 auto;padding:2.4rem 1.2rem 5rem}h1,h2,h3{line-height:1.2;margin:.5rem 0 1rem}h1{font-size:clamp(1.6rem,3vw,2.2rem);letter-spacing:-.04em;max-width:750px}h2{font-size:1.55rem}h3{font-size:1.12rem}.eyebrow{font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;color:#745c39;font-weight:700}.lede{max-width:740px;font-size:1.15rem;color:var(--muted)}.grid{display:grid;grid-template-columns:1.3fr 1fr;gap:1.3rem;margin-top:1.8rem}.card{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:1.5rem;box-shadow:0 2px 8px #182c4009}.levels,.actions,.tabs,.steps{display:flex;gap:.55rem;flex-wrap:wrap}.levels{margin:1.7rem 0}.levels button[aria-pressed=true],.tabs button[aria-pressed=true]{background:var(--blue);color:#fff;border-color:var(--blue)}.tag{display:inline-block;border-radius:6px;background:var(--bg);font-size:.82rem;padding:.25rem .55rem;margin:.2rem .3rem .2rem 0}.muted{color:var(--muted);font-size:.92rem}.notice{border-left:3px solid var(--bronze);background:#fbf7ef;padding:1rem 1.1rem;border-radius:0 8px 8px 0}.progress-head{display:flex;justify-content:space-between;gap:1rem;align-items:center;margin-bottom:.5rem}.progress{height:8px;background:#e3e8ed;border-radius:8px;overflow:hidden}.progress>span{display:block;height:100%;background:var(--bronze)}.steps{margin:1rem 0}.steps button{padding:.4rem;min-width:44px;border-radius:50%}.steps button.current{border:2px solid var(--blue)}.steps button.done{background:#e8f0e9;border-color:#315a40}.workspace{max-width:900px;margin:auto}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:.7rem;flex-wrap:wrap;margin:1rem 0}.reader{margin:1rem 0 1.5rem}.reader-lines{font-size:var(--reading-size,1rem);line-height:1.75;padding:.5rem .2rem}.text-line{display:grid;grid-template-columns:2.2rem 1fr;gap:.5rem;break-inside:avoid;margin:.1rem 0}.line-num{font-size:.75rem;color:#526271;user-select:none;padding-top:.2rem}.line-text{text-align:left;overflow-wrap:anywhere}.task-card{scroll-margin-top:1rem}.answer-field{display:block;margin:1rem 0}.answer-field>span,.answer-field>label{display:block;font-weight:650;margin-bottom:.4rem}.answer-field textarea,.answer-field input[type=text],select{width:100%;border:1px solid #b7c3ce;background:#fff;border-radius:8px;padding:.75rem;min-height:48px;color:var(--ink)}textarea{resize:vertical;min-height:96px}.extended textarea{min-height:300px}.choice{display:flex;gap:.75rem;align-items:flex-start;border:1px solid var(--line);border-radius:9px;padding:.85rem;margin:.5rem 0;cursor:pointer}.choice:has(input:checked){background:#f1e2c6;border-color:#a77e41;box-shadow:inset 4px 0 #98713c}.choice input{width:20px;height:20px;flex-shrink:0;margin-top:.2rem}.feedback{margin:1rem 0;padding:1.2rem;background:#e8f0e9;border-radius:10px;border:1px solid #b5cbbd}.feedback.pending{background:#fbf7ef;border-color:#d9c8a9}details{margin:1rem 0;border-top:1px solid var(--line);padding-top:.8rem}summary{cursor:pointer;font-weight:650;min-height:40px}.help{background:#f2f5f7;padding:1rem;border-radius:10px}.data-table{overflow-x:auto}table{border-collapse:collapse;width:100%;margin:1rem 0;font-size:.95rem}th,td{border:1px solid var(--line);padding:.55rem;text-align:left}th{background:#f2f5f7}.gallery{display:flex;gap:1rem;flex-wrap:wrap}.photo{width:200px;border:1px solid var(--line);padding:.5rem;border-radius:8px}.photo img{width:100%;max-height:200px;object-fit:contain;cursor:zoom-in}.photo button{font-size:.8rem;margin-top:.4rem;padding:.4rem}.flash{min-height:1.4rem;color:var(--muted);font-size:.92rem}.score{font-size:2.5rem;font-weight:700;color:var(--blue)}.spaced{margin-top:2rem}.line-answer{height:2rem;border-bottom:1px solid #c9cdd2}.print-sheet{display:none}.start-summary{display:flex;align-items:center;gap:1.5rem}.metric{min-width:80px}.generator-steps{padding-left:1.2rem}.generator-steps li{margin:.5rem 0}.two{display:grid;grid-template-columns:1fr 1fr;gap:.8rem}
@media(max-width:700px){header img{max-width:119px}header{padding:1rem;gap:.7rem}header>span{display:none}main{padding:1.5rem .8rem 4rem}.grid,.two{grid-template-columns:1fr}.card{padding:1.1rem}h1{font-size:1.8rem}.toolbar{align-items:stretch}.toolbar .actions button{padding:.5rem}.text-line{grid-template-columns:1.5rem 1fr;gap:.25rem}.reader-lines{padding:0}.steps{gap:.3rem}.steps button{min-width:40px;min-height:40px}.actions>.primary{flex:1}.start-summary{gap:1rem}}
@media print{body{background:#fff;color:#000;font-size:11pt}header,.no-print,button,main>.workspace,.home{display:none!important}.print-sheet{display:block!important}main{padding:0;max-width:none}.print-sheet h1{font-size:20pt}.print-task{break-inside:avoid;margin:1.3rem 0}.text-line{grid-template-columns:1.5rem 1fr;font-size:10pt;line-height:1.5}.line-num{font-size:8pt}.print-sheet table{font-size:9pt}.print-sheet .new-page{break-before:page}@page{size:A4;margin:18mm}}

.model-answer,.worked-example{white-space:pre-wrap}

/* Shared Kautech palette from the Förderplan-Werkstatt. */
button.primary:hover{background:#294761;border-color:#294761}
button:not(.primary):not(:disabled):hover{background:#eef2f5}
.levels button[aria-pressed=true]:hover,.tabs button[aria-pressed=true]:hover{background:#294761}
.choice input{accent-color:#8a622c}
.answer-field textarea::placeholder{color:#697987}
@media(max-width:420px){header img{max-width:100px}}

.task-intro{padding:1rem 0 .25rem;scroll-margin-top:1rem}
.task-intro h2{font-size:1.2rem;line-height:1.5;max-width:75ch}
.task-intro .muted{margin-bottom:0}
/* Learning, explanations and a separate timed simulation. */
.mode-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.1rem;margin-top:1.4rem}.mode-grid .card{display:flex;flex-direction:column;align-items:start}.mode-grid .card>button{margin-top:auto}.mode-grid h2{font-size:1.3rem}.resume{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin:1.5rem 0}.resume h2{margin-bottom:.35rem}.resume p{margin-bottom:0}.lesson-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1.5rem 0}.lesson-card{text-align:left;display:flex;flex-direction:column;gap:.7rem;min-height:120px}.lesson-card strong{font-size:1.15rem}.lesson-card span{color:var(--muted);font-size:.9rem}video{display:block;width:100%;max-height:65vh;margin:1rem 0;border-radius:9px;background:#182c40}.exam-clock{font-variant-numeric:tabular-nums;background:#182c40;color:white;padding:.55rem .9rem;border-radius:8px;letter-spacing:.05em}.exam-figure{margin:1rem 0}.exam-figure img{display:block;width:100%;height:auto;max-height:650px;object-fit:contain}.reference-note{font-size:.85rem;color:var(--muted)}.reference-note summary{font-weight:400}.exam-active header>a:last-child{display:none}.steps{max-height:145px;overflow:auto;padding:4px}.steps button{flex:none}.reader-lines{max-width:78ch;margin:auto}.task-intro h2{font-size:1.18rem}.help video{max-width:720px}.mode-grid .muted{margin-bottom:0}.data-table{margin-top:1rem}
@media(max-width:900px){.mode-grid{grid-template-columns:1fr}.mode-grid .card>button{margin-top:.5rem}}
@media(max-width:600px){.lesson-grid{grid-template-columns:1fr}.resume{align-items:start;flex-direction:column}.exam-clock{font-size:.9rem}.steps{max-height:110px}.steps button{min-height:44px;min-width:44px}}
@media print{video,.exam-clock{display:none}.exam-figure img{max-height:150mm}.print-sheet details{display:block}.print-sheet details>summary{display:none}.print-sheet details>*{display:block}.print-sheet table{display:table}.print-sheet tbody{display:table-row-group}.print-sheet tr{display:table-row}.print-sheet td,.print-sheet th{display:table-cell}}

/* During a task, keep attention on the prompt and the answer. */
body:not(.exam-active) .workspace>.steps,body:not(.exam-active) .workspace>.progress-head,body:not(.exam-active) .workspace>.progress{display:none}
.workspace>.toolbar:first-child #export{display:none}
body:not(.exam-active) .task-intro .muted{display:none}
.task-intro{padding:.25rem 0 .5rem}
.task-intro h2{font-size:clamp(1.3rem,2.2vw,1.7rem);line-height:1.35;max-width:65ch}
.workspace>.reader{max-height:70vh;overflow:auto;scroll-margin-top:1rem}
.workspace>.task-card{margin-top:.6rem}
.workspace>.toolbar{margin:.5rem 0}
.workspace>.toolbar .actions[aria-label="Textgröße"]{gap:.3rem}
.workspace>.toolbar .actions[aria-label="Textgröße"] button{padding:.45rem .7rem}
@media(max-width:700px){.workspace>.reader{max-height:none}.workspace>.toolbar .actions[aria-label="Textgröße"]{margin-left:auto}}
