.local-badge{display:inline-block;background:#dff3e8;color:#216347;border-radius:20px;padding:7px 13px;font-size:.85rem;font-weight:650}
#learn-toggle{padding:10px 24px;margin-bottom:16px;background:#245dc4;color:white}#learn-panel{margin-bottom:20px}#learn-panel[hidden]{display:none}#learn-panel h2{margin-top:0}#learn-bar{width:100%;height:18px;accent-color:#245dc4}.learn-layout{display:grid;grid-template-columns:minmax(180px,1fr) minmax(0,2fr);gap:24px;margin-top:24px}#learn-stations{display:flex;flex-direction:column;gap:8px;align-self:start;margin:0}#learn-stations button{text-align:left;padding:10px 14px;font-size:.9rem}#learn-stations [aria-current=true]{border:2px solid #245dc4;background:#e5efff;color:#153a79}#learn-source{padding:14px;border-radius:10px;background:#f2f6fb}#learn-steps{padding-left:22px;line-height:1.8}#learn-steps [aria-current=step]{font-weight:750;color:#245dc4}#learn-task{font-weight:650;line-height:1.6}.learn-check{display:flex;gap:10px;align-items:flex-start;font-size:.9rem;line-height:1.6;margin:16px 0}.learn-check input{width:20px;height:20px;flex-shrink:0;margin-top:3px}#learn-complete,#learn-reset{padding:10px 16px}#learn-reset{margin-top:24px}#learn-feedback{line-height:1.6}body.dark-mode #learn-source{background:#141c28}body.dark-mode #learn-stations [aria-current=true]{background:#263f65;color:#eef4ff;border-color:#9cc2ff}body.dark-mode #learn-steps [aria-current=step]{color:#9cc2ff}@media(max-width:750px){.learn-layout{grid-template-columns:1fr}#learn-stations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
.reference,.python-panel{background:white;border:1px solid #d8e0eb;border-radius:16px;padding:20px;min-width:0}
.reference summary{cursor:pointer;font-weight:650;font-size:1.05rem;min-height:28px}
.commands{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:22px}
.commands h2,.python-panel h2{font-size:1rem;margin:0 0 12px}.commands p{font-size:.9rem;line-height:1.6}
pre,code,textarea{font-family:Consolas,monospace}pre{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}
.toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:22px 0 16px}.toolbar button{padding:10px 20px}button:disabled{opacity:.5;cursor:default}
.python-workspace{display:grid;grid-template-columns:1.2fr 1fr;gap:20px}label{display:block;font-weight:650;margin-bottom:12px}
textarea{display:block;width:100%;resize:vertical;border:1px solid #bccadd;border-radius:8px;padding:14px;font-size:15px;line-height:1.65;tab-size:4;background:#f8faff;color:#182235}
#code{height:330px;white-space:pre;overflow:auto}#output{height:330px;margin:0;overflow:auto;padding:14px;background:#f5f8fc;border-radius:8px}#output:empty:before{content:'Hier erscheint deine Ausgabe mit print(…).';color:#65758c}
#status{min-height:24px}#status[data-error=true]{color:#b42318}.reference label{margin-top:16px}.security-note{margin-top:26px}
body.dark-mode .reference,body.dark-mode .python-panel{background:#202a3a;border-color:#435067}body.dark-mode textarea,body.dark-mode #output{background:#141c28;color:#eef4ff}body.dark-mode #status[data-error=true]{color:#ffb4ab}
@media(max-width:750px){.python-workspace,.commands{grid-template-columns:1fr}.python-panel,.reference{padding:16px}#code{height:300px}#output{height:220px}}
