/* Einheitliche Arbeitsoberflaeche fuer alle bisherigen Werkzeuge. */
:root{--ink:#292333;--muted:#655e70;--purple:#6938b8;--line:#e3deea;--wash:#f0e9fb;--paper:#fff;--bg:#f7f6fa;font-size:16px;line-height:1.6}
.shell{max-width:1320px;padding:26px 32px 40px}.workspace-mast{padding:0 0 22px}.workspace-mast .brand h1{font:650 23px/1.25 system-ui,sans-serif;letter-spacing:-.035em;margin:0;max-width:none}.workspace-mast .brand small{font-size:12px}.workspace-mast .badge{font-size:12px;padding:7px 10px;border:1px solid var(--line);background:white;border-radius:20px}.brand b{border-radius:12px;box-shadow:0 4px 12px #5c329416}
.workspace-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:20px 0 12px;padding:6px;background:#ebe8f0;border:1px solid #e2ddea;border-radius:14px}.area-button{min-height:46px;padding:10px 14px;border-radius:9px;background:transparent;color:#5c5469;font-size:14px;font-weight:600}.area-button:hover{background:#f8f5fc}.area-button[aria-current=true]{background:#fff;color:var(--purple);box-shadow:0 2px 8px #39205212}.workspace-subnav{margin:0 0 18px}.context-links{display:flex;gap:6px;flex-wrap:wrap}.context-links button{min-height:44px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--muted);padding:9px 14px;font-size:13px}.context-links button[aria-current=page]{background:var(--wash);border-color:#ddd0ee;color:#542996;font-weight:650}.context-links button:hover{background:#f0edf5}.mobile-context{display:none}.workspace-location{font-size:12px;color:var(--muted);margin:0 0 15px;padding:0 3px}
.projectbar{background:#fff;border:1px solid var(--line);border-radius:12px;padding:13px 17px;margin-bottom:28px;gap:15px}.projectbar strong{font-size:13px}.projectbar .button{font-size:12px;min-height:42px}.section-head{margin-bottom:24px;max-width:850px}.section-head h2{font-size:clamp(25px,3.1vw,35px);line-height:1.22}.section-head>p:last-child{font-size:14px;max-width:75ch}.eyebrow{letter-spacing:.08em;font-size:11px;margin-bottom:9px}.panel,.card{border-color:var(--line);box-shadow:0 2px 8px #39205203}.panel{padding:25px;border-radius:15px}.button{border-radius:9px;font-size:13px;min-height:44px}.button.secondary{border-color:#d9cfe5}.button.ghost{background:#f2edf8}.button:disabled{opacity:.55}.label{font-size:13px}input,select,textarea{font-size:14px;border-color:#d1c8dc;border-radius:9px}label small,.note{line-height:1.65}.prompt-box{background:#f7f5fb;border-color:#e5deef;max-height:520px;font-size:12px;line-height:1.8}.manual-prompt{font-size:12px}.preview-head h3{font-size:19px}
.overview-head{max-width:820px;margin:6px 0 27px}.overview-head h2{font-size:clamp(29px,4vw,42px);letter-spacing:-.04em}.overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.entry-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;padding:27px 29px;border:1px solid var(--line);border-radius:16px;background:white}.entry-primary{background:linear-gradient(120deg,#fcfaff,#f1eafa);border-color:#dac9ed}.entry-mark{font-size:11px;letter-spacing:.08em;color:#846e9f;font-weight:650;margin-bottom:16px}.entry-card h3{font-size:22px;line-height:1.3;margin-bottom:12px}.entry-card p{font-size:14px;line-height:1.7;color:var(--muted);max-width:53ch;margin:0 0 23px}.entry-card .button{margin-top:auto}.overview-next{margin-top:30px}.overview-next h3{font-size:18px;margin-bottom:14px}.quick-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.quick-links button{text-align:left;padding:17px 18px;min-height:88px;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--ink)}.quick-links strong{display:block;font-size:13px;margin-bottom:5px}.quick-links span{font-size:12px;line-height:1.6;color:var(--muted)}.overview-note{font-size:12px;line-height:1.7;color:var(--muted);margin:24px 0 0;padding:17px 19px;border-left:3px solid #d2c2e5;background:#f0edf6;border-radius:0 8px 8px 0}
.editor-position{font-size:12px;color:var(--muted);margin:-4px 0 16px}.steps{gap:7px;margin-bottom:16px}.step{flex:1;min-height:44px;background:#f5f3f8;border:1px solid transparent;font-size:12px;padding:9px 10px}.step[aria-current=step]{background:#ece3fa;color:#542a90;border-color:#dac9ed}.preview-extra{padding-top:16px;margin-top:18px;border-top:1px solid var(--line)}.preview-extra>summary{font-size:13px;min-height:30px}.preview-extra .save-variant{border:0;padding-top:0;margin-top:16px}.preview-extra .prepared{margin-top:12px}.save-template-drawer{background:#fff;border:1px solid var(--line);padding:17px 22px;border-radius:12px;margin-top:23px}.save-template-drawer>summary{font-size:14px;min-height:30px}.save-template-drawer .custom-save{margin:12px 0 0;padding:0;border:0;box-shadow:none;background:transparent}.save-template-drawer .custom-save>h3{display:none}.architect-fold{border:1px solid var(--line);background:#fcfaff;padding:15px 17px;border-radius:11px;margin:0}.architect-fold>summary{font-size:13px;min-height:28px}.architect-fold .architect-fields,.architect-fold .architect-criteria{margin-top:17px}.architect-fold .architect-criteria{border:0;padding:0;background:transparent}.architect-fold .architect-criteria>h3{display:none}.architect-review{border:1px solid var(--line);border-radius:10px;padding:15px 17px}.architect-source{margin-top:0}.prompt-tools .preview-head h3{font-size:20px}.footer{margin-top:32px}.footer strong{font-size:15px}.footer p{font-size:12px}
@media(max-width:1000px){.shell{padding:24px}.quick-links{grid-template-columns:1fr}.entry-card{padding:24px}.work-layout{gap:20px}.steps .step{flex:1 1 calc(25% - 7px)}}
@media(max-width:650px){.shell{padding:17px 14px 30px}.workspace-mast{gap:10px;align-items:center;padding-bottom:17px}.workspace-mast .brand{gap:9px}.workspace-mast .brand h1{font-size:18px}.workspace-mast .brand small{font-size:10px}.workspace-mast .badge{font-size:10px;padding:5px 7px}.brand b{width:34px;height:34px;font-size:25px}.workspace-nav{gap:3px;padding:4px;margin:15px 0 12px;border-radius:11px}.area-button{min-height:45px;padding:8px 2px;font-size:11px;line-height:1.3}.context-links{display:none}.mobile-context{display:block}.mobile-context .label{font-size:11px;margin-bottom:5px;color:var(--muted)}.mobile-context select{font-size:14px;min-height:46px}.workspace-subnav{margin-bottom:15px}.workspace-location{margin-bottom:12px}.projectbar{padding:12px 13px;gap:11px;margin-bottom:22px}.projectbar .actions{width:100%}.projectbar .button{font-size:11px}.projectbar strong{font-size:12px}.projectbar .small{font-size:11px}.section-head{margin-bottom:21px}.section-head h2{font-size:26px}.section-head>p:last-child{font-size:13px;line-height:1.7}.overview-head h2{font-size:30px}.overview-grid{grid-template-columns:minmax(0,1fr);gap:13px}.entry-card{padding:22px}.entry-card h3{font-size:21px}.entry-card p{font-size:13px;margin-bottom:19px}.entry-mark{margin-bottom:12px}.entry-card .button{width:100%}.panel{padding:19px}.steps .step{flex:1 1 calc(50% - 7px);min-height:44px;text-align:center}.editor-position{font-size:11px}.fields{gap:18px}.save-template-drawer{padding:15px 17px}.architect-fold,.architect-review{padding:13px 14px}.prompt-tools .preview-head h3{font-size:19px}.prompt-box{font-size:12px;max-height:380px;min-height:190px}.overview-note{padding:14px 15px}.badge:before{margin-right:4px}.save-variant .button{width:100%}}
@media(max-width:350px){.workspace-mast .badge{border:0;padding:0;font-size:9px}.workspace-mast .brand h1{font-size:16px}.workspace-mast .brand small{font-size:9px}.workspace-mast .brand{gap:7px}.brand b{width:30px;height:30px;font-size:23px}.area-button{font-size:10px}}

/* Erläuterungen bleiben in der Nähe der jeweiligen Aufgabe. */
.explain-drawer{border:1px solid #ded4eb;border-radius:12px;background:#fff;margin:0 0 23px;padding:0;min-width:0}
.explain-drawer>summary{padding:15px 19px;min-height:49px;color:#56308c;font-size:14px;line-height:1.6;font-weight:600;overflow-wrap:anywhere}
.explain-drawer[open]>summary{border-bottom:1px solid var(--line);background:#f5f0fc;border-radius:12px 12px 0 0}
.explain-body{padding:19px 22px 22px;font-size:14px;line-height:1.8;overflow-wrap:anywhere;min-width:0}
.explain-body p{max-width:83ch;margin:0 0 15px}.explain-body h4{font-size:15px;line-height:1.5;margin:21px 0 7px;color:var(--ink)}
.explain-body h4:first-child{margin-top:0}.explain-lead{color:#51425f;font-size:15px}.explain-content>div+div{margin-top:20px}
.explain-terms{display:grid;grid-template-columns:minmax(120px,180px) minmax(0,1fr);gap:13px 24px;margin:0 0 20px}
.explain-terms dt{font-weight:650;color:#50366e}.explain-terms dd{margin:0;max-width:77ch}.explain-example{padding:16px 19px;background:#f6f2fb;border-left:3px solid #b198d3;border-radius:0 9px 9px 0;margin-top:20px}.explain-example p{margin-bottom:0}
.explain-route{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:25px}.explain-route article{background:#fff;border:1px solid var(--line);border-radius:13px;padding:23px;display:flex;align-items:flex-start;flex-direction:column}.explain-route span{font-size:12px;color:#7b609b;letter-spacing:.08em;margin-bottom:13px}.explain-route h3{font-size:19px;line-height:1.4}.explain-route p{font-size:13px;color:var(--muted);line-height:1.8}.explain-route .button{margin-top:auto}.explain-walkthrough{padding-left:24px;margin:0 0 20px}.explain-walkthrough li{padding-left:7px;margin-bottom:20px}.explain-walkthrough li::marker{color:#6938b8;font-weight:650}.explain-walkthrough h4{margin-top:0}.explain-fixes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 32px}.explain-fixes p{margin-bottom:0}.explain-body>.guide-expansion{margin:0}.explain-body .guide-grid{margin-top:0}
@media(max-width:850px){.explain-route{grid-template-columns:1fr}.explain-route article{padding:20px}.explain-fixes{grid-template-columns:1fr}}
@media(max-width:650px){.explain-drawer>summary{font-size:13px;padding:14px 15px}.explain-body{padding:16px;font-size:13px}.explain-body h4{font-size:14px}.explain-lead{font-size:14px}.explain-terms{grid-template-columns:minmax(0,1fr);gap:4px}.explain-terms dd{margin-bottom:13px}.explain-example{padding:14px}.explain-drawer .actions{gap:9px}.explain-route{gap:12px}}
@media print{.explain-drawer,.explain-route{display:none}}
